I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

neva
SDK MCP Server pour rouille
3 years
Works with Finder
1
Github Watches
0
Github Forks
1
Github Stars
Neva
Easy configurable MCP server SDK for Rust
[!NOTE]
This project is currently in preview. Breaking changes can be introduced without prior notice.
Dependencies
[dependencies]
neva = { version = "0.0.2", features = ["full"] }
tokio = { version = "1", features = ["full"] }
Code
use neva::{App, tool, resource, prompt};
#[tool(descr = "A say hello tool")]
async fn hello(name: String) -> String {
format!("Hello, {name}!")
}
#[resource(uri = "res://{name}", descr = "Some details about resource")]
async fn get_res(name: String) -> (String, String) {
(
format!("res://{name}"),
format!("Some details about resource: {name}")
)
}
#[prompt(descr = "Analyze code for potential improvements")]
async fn analyze_code(lang: String) -> (String, String) {
(format!("Language: {lang}"), "user".into())
}
#[tokio::main]
async fn main() {
let mut app = App::new()
.with_options(|opt| opt
.with_stdio()
.with_name("Sample MCP server")
.with_version("1.0.0"));
map_hello(&mut app);
map_get_res(&mut app);
map_analyze_code(&mut app);
app.run().await;
}
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.
Reviews

user_1nmXNyyk
As a dedicated user of the microCMS MCP Server, I am thoroughly impressed with its performance and versatility. The seamless integration and user-friendly interface make content management a breeze. The reliability and support from SpringMT have also been exceptional. Highly recommend visiting their site for more details: https://mcp.so/server/microcms-mcp-server/SpringMT