RadarTopicsBuildersWeeklyReads
Open Source Radar
modelcontextprotocol/

rust-sdk

GitHubWebsite

The repository provides a Rust SDK (rmcp) for the Model Context Protocol, exposing core and macro crates with Tokio-based async support. It targets MCP 2026-07-28 features and includes usage examples, server/tools support, and resource tooling.

3.8kstars
579forks
43issues
2025since
Star historydaily snapshots by VibeCrowd

Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).

Alternatives & relatedmatched by topic overlap
Reviewgenerated from repository data · Aug 5, 2026

What it is

The repository contains the official Rust SDK implementation for the Model Context Protocol (RMCP). It includes two crates:

  • rmcp: The core protocol implementation
  • rmcp-macros: A procedural macro crate for generating tool implementations The SDK supports the MCP specification dated 2026-07-28 and remains compatible with 2025-11-25 and earlier releases. The README notes migration guidance for 3.x and describes server discovery, transport-neutral subscriptions, long-running tasks, response caching, multi-round-trip requests, and standard HTTP routing headers.

How it works

The SDK provides a tokio-based async runtime implementation of the RMCP protocol, including server and client lifecycle handling, tools, resources, and examples. It describes integration points for building a client lifecycle (Discover, Initialize, etc.), tool definitions via macros, and content types for tool results (text, images, audio, and embedded resources). The code examples show how to construct client services, build a server, and interact with tools and resources.

Getting started

The README includes installation and usage sections:

  • Import the crate:
cargo add rmcp --features server

Or via the dev branch:

cargo add rmcp --features server --git https://github.com/modelcontextprotocol/rust-sdk --branch main

It also provides client-side usage examples for listing and calling tools, and server-side setup for building transports and services. The repository emphasizes the 2026-07-28 MCP specification with server discovery and related capabilities.

Recent releases

Latest releases listed in the FACTS:

  • rmcp-v3.1.0 rmcp-v3.1.0 (2026-07-31): Added
    • classify authorization-required errors ([#1056])
    • add strict stateless protocol metadata validation ([#1091])
  • rmcp-macros-v3.1.0 rmcp-macros-v3.1.0 (2026-07-31): Added
    • add strict stateless protocol metadata validation ([#1091])
  • rmcp-v3.0.1 (2026-07-29): Fixed
    • (auth) use discovered resource for token refresh ([#1084])
    • return header mismatch for missing protocol header ([#1083])
  • rmcp-macros-v3.0.1 (2026-07-29): Other
    • release stable 3.0.0
  • rmcp-v3.0.0-beta.5 (2026-07-28): Fixed
    • [breaking] remove server_info from DiscoverResult ([#1065])
    • preserve transient OAuth discovery HTTP errors ([#1071](https

Traction

Stars: 3752 Forks: 579 Open issues: 43

Behind the repo

No startup/company link provided in the facts beyond repository details; not included.

Caveats

  • License: none listed
  • Created: 2025-02-18
  • Last push: 2026-08-03
  • Language: Rust
  • Topics: mcp, mcp-client, mcp-server, rust
Note: The README includes multiple code examples and usage details, including client and server scenarios, and macro-driven tool definitions. The license field in the facts indicates no license listed, which may affect usage in some contexts.
SharePost on XLinkedIn
All trending reposRevenue-verified startups →