AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
rust-sdk
rust-sdk logo

rust-sdk

Active·★ 4.1k·NOASSERTION·Updated 2026-10-26
★ Essential★ Trending

This is the official Rust implementation of the Model Context Protocol, published as the `rmcp` crate on crates.io on top of the tokio async runtime. The repository has two crates: `rmcp`, the core protocol implementation, and `rmcp-macros`, a procedural macro crate that generates tool implementations. The README says the SDK implements the stable MCP 2026-07-28 specification while staying compatible with 2025-11-25 and earlier, and it points to a migration guide for 3.x breaking changes.

The README is long and works as a feature reference: building clients and servers, tools, resources, prompts, sampling, elicitation, roots, logging, completions, notifications, subscriptions, long-running tasks, caching, pagination, JSON Schema 2020-12 and OAuth support. Transports are chosen with Cargo features: stdio, a child-process client transport, streamable HTTP for server (a Tower service you can mount on an axum-style router) and client (built on reqwest), and an in-process worker transport for testing. To start, run `cargo add rmcp --features server`.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-25.

License
Not detected by GitHub
Latest release
rmcp-v3.7.0 · 2026-10-22
Last commit
2026-10-23
Contributors
215
Forks
681
Open issues and PRs
66
First published
2025-02-18

Source: GitHub, npm and PyPI public APIs.

#Rust SDK#Model Context Protocol (MCP)#Asynchronous#API Integration#Tools Management#Prompt Engineering#Resource Management#Protocol Implementation
$ Install
$ cargo add rmcp --features server
↗ Visit site★ GitHub
01

Features

01Tools: Expose callable functions with JSON Schema parameters to clients.
02Resources: Expose data (files, database records, API responses) identifiable by URIs.
03Prompts: Define reusable message templates that accept typed arguments and return conversation messages.
04Multi-Round-Trip Requests (MRTR): Handle complex interactions where the server asks the client for input and retries.
05Transport-neutral Subscriptions: Provide long-lived notification streams for various event categories.
02

Why choose it

+Official SDK from the MCP project, tracking the latest spec while staying compatible with earlier versions
+Built on tokio with feature-gated transports, so you only compile what you use
+Streamable HTTP server is a Tower service that mounts on existing Rust web routers
+Macro crate generates tool implementations and JSON Schema (2020-12) for you
03

Trade-offs

!The README is more than 60k characters of feature reference; there is no short getting-started path
!Version 3.x has breaking changes, so older tutorials and examples may not compile
!Requires comfort with Rust async and traits; this is not a no-code tool
!The repository's license is not detected by GitHub's license check; confirm it in the repo before use
04

Maintenance check

ActiveChecked: 2026-10-27
Last commit
2026-10-26
Commits, last 90 days
100+
Releases, last 90 days
30
Latest release
rmcp-v3.8.0 (2026-10-26)
Open issues
70
Recent issues with at least one comment
19/19
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 7, 10, 10, 7, 15, 11, 14, 6, 10, 16, 12, 1

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #1092 #[tool] async method fails to compile (FnOnce not general enough) when its call tree uses |x: &T| async move {} closures (e.g. stream::iter(5 comments · 2026-07-30
  • #388 Feature request: native Rate Limiting (MCP spec compliance)5 comments · 2025-08-25
  • #1373 Streamable HTTP client: update the stored endpoint URI after a 3084 comments · 2026-10-16
  • #1389 reqwest Streamable HTTP client matches response Content-Type by case-sensitive prefix2 comments · 2026-10-23
  • #1374 outputSchema is generated for the deserialize contract; tool results are serialised2 comments · 2026-10-17

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

05

Compatibility

Rust
Language
Verified via docs
Tokio
Runtime
Verified via docs
Model Context Protocol (MCP)
Protocol
Verified via docs
06

Quick start

1
$ cargo add rmcp --features server
07

Use cases

↳Build AI agents capable of interacting with external systems and data via defined tools.
↳Develop servers that expose structured data and operations for consumption by AI models.
↳Implement complex, multi-step agent interactions with automatic request fulfillment and retry logic.
↳Integrate LLM-powered applications using a standardized, versioned communication protocol.
↳Create custom logic for managing long-running tasks and asynchronous operations within an MCP ecosystem.
08

Alternatives

⚡Top VS:
VSx64dbg-mcp-server★2.6k→VSphp-sdk★1.6k→VSkotlin-sdk★1.5k→VSgodot-ai★3.2k→
x64dbg-mcp-server logo
x64dbg-mcp-server★ 2.6k
x64dbg-MCP Server is a native MCP (Model Context Protocol) plugin for x64dbg that exposes the debugger's full functionality over HTTP. Connect any MCP-compatible AI assistant and control x64dbg programmatically: set breakpoints, step through code, read memory, dump registers, and more. Built with Zig — zero dependencies, single-binary output, cros
VSCompare→
php-sdk logo
php-sdk★ 1.6k
The official PHP SDK for Model Context Protocol servers and clients. Maintained in collaboration with The PHP Foundation.
VSCompare→
kotlin-sdk logo
kotlin-sdk★ 1.5k
The official Kotlin SDK for Model Context Protocol servers and clients. Maintained in collaboration with JetBrains
VSCompare→
godot-ai logo
godot-ai★ 3.2k
Production-grade MCP server and AI tools for the Godot engine. A Snap to install. Totally free and fun.
VSCompare→
ai-workspace-archive logo
ai-workspace-archive★ 37
A massive, self-updating local archive of AI tools — 11,000+ agent skills, 240+ MCP servers, 2,200+ IDE rules (Cursor/Cline), and 30+ system prompt collections. One repo to rule them all.
VSCompare→
open-mcp-apps logo
open-mcp-apps★ 36
Persistent, interactive MCP Apps for any MCP host: the AI builds an app once, you both reuse it — data outlives the conversation. Ships an engine, a 22-app App Store, and a hosted version at openmcp.app
VSCompare→
mcp logo
mcp★ 56
RunAPI MCP server for model discovery, pricing lookup, media task creation, and balance checks.
VSCompare→
java-sdk logo
java-sdk★ 3.7k
The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
modelcontextprotocol /
rust-sdk
↗

Official Rust SDK for the Model Context Protocol (rmcp)

4.1k681
Last commit2d ago
StatusActive
CategoryDev Tooling
Contributors215
Latest releasermcp-v3.7.0
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.