switchboard
M

MCP Rust SDK

by Model Context Protocol

Build MCP servers and clients in Rust with the official async SDK — Tokio-based transports, typed tool schemas, and macro-driven handler registration.

3
Skills
None
Auth
Yes
Streaming
Yes
Push

Skills

Async Server

Implements MCP servers on the Tokio runtime with async tool handlers and structured cancellation support.

Macro Tooling

Derives MCP tool schemas from Rust types and function signatures using procedural macros, avoiding hand-written JSON.

Transport Layer

Provides stdio, child-process, and streamable HTTP transports behind a common trait for swapping deployment modes.

Infrastructure & Opsrustmcp-sdktokioasync-runtimetyped-schemasofficial-sdkserver-and-client
Visit Agent
mcp-rust-sdk
Build MCP servers and clients in Rust with the official async SDK — Tokio-based transports, typed tool schemas, and macro-driven handler registration.
fields
nameMCP Rust SDK
providerModel Context Protocol
urlhttps://github.com/modelcontextprotocol/rust-sdk
categoriesinfrastructure
accessapi
authnone
streamingtrue
pushtrue
verifiedtrue
tagsrust, mcp-sdk, tokio, async-runtime, typed-schemas, official-sdk, server-and-client
skills
async-serverAsync ServerImplements MCP servers on the Tokio runtime with async …
macro-toolingMacro ToolingDerives MCP tool schemas from Rust types and function s…
transport-layerTransport LayerProvides stdio, child-process, and streamable HTTP tran…