# RMCP (Rust MCP SDK)

> The official Rust SDK for the Model Context Protocol

Source: https://talira.ai/catalog/rmcp-rust-mcp-sdk-agw446xc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [ai / agents / mcp](https://talira.ai/categories/ai/agents/mcp), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: Apache-2.0 AND MIT[^1]
- Pricing: Free and open source[^1][^2]
- Free tier: yes[^1][^2]
- Self-hostable: yes[^2]
- Backed by: [Model Context Protocol project](https://talira.ai/orgs/model-context-protocol-project.md)

rmcp is the official Rust implementation of the Model Context Protocol, built on tokio, for writing both MCP servers and MCP clients. Procedural macros in rmcp-macros turn annotated Rust methods into tools and prompts, with JSON Schema 2020-12 generated through schemars. It ships stdio, child-process, in-process and Streamable HTTP transports (the HTTP server is a Tower service you mount on [axum](https://talira.ai/catalog/axum-8swp74wx.md) or [hyper](https://talira.ai/catalog/hyper-aqygzthr.md)) and has OAuth support. It implements the 2026-07-28 MCP specification while staying compatible with 2025-11-25 and earlier.

## Links

- GitHub: https://github.com/modelcontextprotocol/rust-sdk
- Docs: https://docs.rs/rmcp

## Problems it solves

- build an MCP server in Rust
- expose my Rust service's functions as tools that Claude or other AI agents can call
- serve MCP over HTTP from an existing axum app
- write an MCP client in Rust that launches a local server over stdio
- generate JSON Schemas for tool arguments from Rust structs instead of writing them by hand
- add OAuth to a remote MCP server I'm writing in Rust
- support long-running tool calls and progress notifications in my agent integration
- ship a single static binary MCP server instead of a Node or Python one
- implement resources, prompts and sampling for an AI agent integration in Rust
- keep up with MCP spec changes without hand-rolling JSON-RPC

## Features

- server and client
- #[tool], #[prompt] and router macros
- tools, resources, prompts, sampling, elicitation, roots, logging, completions
- subscriptions, tasks and multi-round-trip requests (2026-07-28 spec)
- stdio, child-process, in-process and Streamable HTTP transports
- stateless Streamable HTTP
- Tower service for axum/hyper
- OAuth support
- JSON Schema 2020-12 via schemars

## Capabilities

- Has official SDKs: plan not known

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 1.00, adoption 0.72, momentum 0.69, community 0.95, backing 0.50, extensibility 0.00.

- last commit 10 days ago
- 145 commits in the last 90 days
- latest release rmcp-v3.10.0 11 days ago
- 4.1k GitHub stars
- 230 contributors
- backed by Model Context Protocol project
- used by Block (goose), Apollo GraphQL (apollo-mcp-server), RustFS

## Sources

[^1]: https://github.com/modelcontextprotocol/rust-sdk/blob/main/LICENSE (checked 17 Nov 2026)
[^2]: https://github.com/modelcontextprotocol/rust-sdk (checked 17 Nov 2026)
