rust-sdk
Official Rust SDK for Model Context Protocol, supporting async runtime.
- Type
- MCP
- Transport
- stdio
- Open source
- Yes
- GitHub Stars
- ★ 3.6k
- Source
- mcp-github
- Repository
- github.com/modelcontextprotocol/rust-sdk
Overview
This is the official Rust SDK for Model Context Protocol (MCP), utilizing the tokio async runtime. The SDK enables developers to build MCP clients and servers, providing a rich set of tools and features to streamline development. With this SDK, AI systems gain the ability to interact with the MCP protocol, enabling more complex tasks. Suitable for developers integrating MCP functionality into Rust environments.
Capabilities
- ▪Supports async runtime
- ▪Provides client and server building tools
- ▪Supports tool definition and invocation
- ▪Generates JSON Schema
- ▪Supports OAuth authentication
Use cases
Setup
Add the dependency to Cargo.toml:
[dependencies]
rmcp = { version = "0.16.0", features = ["server"] }This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How do I migrate to version 1.x?
Refer to the migration guide for detailed steps.
What features does the SDK support?
Supports async runtime, tool definition, OAuth authentication, and more.
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
private-gpt
Provides a complete API layer for local models, supporting RAG, skills, tools, and more.
planning-with-files
File-based persistent planning skill, ideal for AI coding agents and long-running tasks.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.