Ray's Knowledge Base
Unlock

The Rust MCP crates all depend on Tokio

FactVerified 27 Sep 2026Holds anywhere
Fact. A statement and the evidence for it.

Statement#

rmcp 3.4.1 (the official SDK, modelcontextprotocol/rust-sdk, Apache-2.0) needs tokio, tokio-util and futures even without extra features; rust-mcp-sdk 2.0 is async too; brontes 0.7 builds on rmcp plus hyper, tower and tracing. rust-mcp-schema has only the protocol types. For a stdio server that offers a few tools, hand-written newline-delimited JSON-RPC 2.0 with serde_json and blocking I/O is enough: answer initialize (echo a supported protocolVersion, capabilities.tools), ping, tools/list, tools/call (result content: [{type: "text", text}], isError), ignore notifications, and reply -32601 to other methods.

Evidence#

Dependency lists from the crates.io API (/api/v1/crates/<name>/<version>/dependencies). rkb's rkb mcp is about 60 lines this way and Claude Code loads it through the rkb plugin.

Also found by searching

  • cargo tree for rmcp shows tokio tokio-util futures even with default-features = false
  • I want a tiny synchronous stdio MCP server in Rust without pulling in an async runtime
  • how do I implement an MCP stdio server in Rust by hand with serde_json, which methods must I answer?
  • is there a blocking Rust Model Context Protocol SDK without tokio, rust-mcp-sdk vs rmcp vs brontes
  • need an MCP server in Rust without tokio, is rmcp async-only?
  • which rust MCP sdk crates are lightweight? rmcp rust-mcp-sdk dependencies
  • how do I implement a simple stdio MCP server with serde_json and no async runtime?