Model Context Protocol (MCP) Schema For Rust MCP Server

A type-safe implementation of the official Model Context Protocol (MCP) schema in Rust.

Local serverstdio

What is the Model Context Protocol (MCP) Schema For Rust MCP Server?

A type-safe implementation of the official Model Context Protocol (MCP) schema in Rust.

What it actually does

The Rust implementations of the MCP schemas in this crate are automatically generated from the official MCP GitHub repository.

  • 🧩 Type-safe implementation of the MCP protocol specification
  • 💎 Auto-generated schemas are always synchronized with the official schema specifications
  • 📜 Includes all official released versions : 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05 and draft version for early adoption
  • 🛠 Complimentary schema utility module (schema_utils) to boost productivity and ensure development integrity

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Frequently asked questions

Enable the corresponding Cargo feature in your `Cargo.toml`. For example, `features = ["2025_06_18"]` uses the 2025-06-18 schema. Multiple versions can be enabled simultaneously; non-default versions are available under explicitly named modules (e.g., `rust_mcp_schema::mcp_2025_06_18`).