Skip to main content

rust-mcp-server-generator

Generate a complete Rust Model Context Protocol server project with tools, prompts, resources, and tests using the official rmcp SDK

Source instructions

Skill version 1.0.0 · rust, mcp, rmcp, codegen

Rust MCP Server Generator​

Use for Rust MCP server scaffolding or transport integration. Read the project's pinned rmcp version and supported protocol revisions first. For an existing server, change its production implementation directly; do not generate a replacement project.

For scaffolding or concrete server examples, load generator reference only when needed. Treat its versions and APIs as examples, checking them against the pinned SDK.

Finish complete production functionality before testing. Run meaningful integration scenarios only as boundary-packet entries at the value-phase boundary (B4) or an authorized repair (B5) — never at a change boundary, and with no intermediate compiler check (kbd-process-orchestrator/references/boundaries.md). Unit tests, snapshots, routine Clippy runs, and repeated compiler loops in the reference are not required gates. User instructions and project pins take precedence.