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
mantis
Provides security review capabilities for AI coding agents, automatically discovering, reproducing, and fixing vulnerabilities.
sast-skills
Transform your AI coding assistant into a SAST scanner to automatically detect vulnerabilities in code.
Lightswind-UI-Library
AI-native CLI-first React component library with MCP Server support.
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.