
MCP-Rust-Sdk
SDK non officiel pour les serveurs MCP à Rust
2
Github Watches
0
Github Forks
4
Github Stars
Rust MCP Stdio Server Test
This repository contains a simple example of a Model Context Protocol (MCP) server implemented in Rust using a newline-delimited JSON stdio transport.
https://github.com/user-attachments/assets/428319c2-fce2-4654-ab34-cb6987ee4164
Status
This is currently a basic test implementation created for learning and debugging purposes. It handles the MCP initialization handshake and basic list commands (tools/list
, resources/list
, prompts/list
) as well as a dummy tool call (tools/call
).
Usage
-
Build the server:
cargo build
-
Configure an MCP client (like Claude Desktop) to launch the executable found at
target/debug/mcp-rust-sdk
. Ensure the client uses newline-delimited JSON for stdio communication.For example, in
claude_desktop_config.json
(or similar client configuration), you might add an entry like this, replacing thecommand
path with the absolute path to your built executable:{ "mcpServers": { "rust_stdio_test": { "command": "/path/to/your/mcp-rust-sdk/target/debug/mcp-rust-sdk" } // ... other servers ... } }
(Remember to use the correct absolute path for your system)
-
Set the
RUST_LOG
environment variable (e.g.,RUST_LOG=debug
orRUST_LOG=trace
) to control logging verbosity. Logs are written to$HOME/.screenpipe/logs/rust_stdio_test_logs/
.
License
This project is licensed under the MIT License - see the LICENSE file for details.
相关推荐
I find academic articles and books for research and literature reviews.
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!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
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
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Reviews

user_UitcM9Mw
The mcp-rust-sdk by mediar-ai is an impressive Rust-based SDK that offers robust functionalities for MCP applications. Its clear documentation and well-structured code make it a pleasure to work with. I'm particularly impressed with its seamless integration and performance. This SDK significantly simplifies development processes and boosts productivity. Highly recommended for any Rust developer working on MCP projects!