MCP Directory
Back

rust-sdk

by modelcontextprotocol · Rust · ★ 3,351

The official Rust SDK for the Model Context Protocol

Install

cargo install --git https://github.com/modelcontextprotocol/rust-sdk.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "rust-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "github:modelcontextprotocol/rust-sdk"
      ]
    }
  }
}

From the README

简体中文 [](https://crates.io/crates/rmcp) [](https://docs.rs/rmcp/latest/rmcp) [](https://github.com/modelcontextprotocol/rust-sdk/actions/workflows/ci.yml) [](LICENSE) An official Rust Model Context Protocol SDK implementation with tokio async runtime. > **Migrating to 1.x?** See the [migration guide](https://github.com/modelcontextprotocol/rust-sdk/discussions/716) for breaking changes and upgrade instructions. This repository contains the following crates: - [rmcp](crates/rmcp): The core crate providing the RMCP protocol implementation - see [rmcp](crates/rmcp/README.md) - [rmcp-macros](c…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related developer tools servers