rust-mcp-server-generator

Generate Rust MCP server scaffolds with the official rmcp SDK.

56|3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/lee-to/ai-workspace --skill rust-mcp-server-generator-lee-to
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-mcp-server-generator
Source: https://github.com/lee-to/ai-workspace/tree/main/.claude/skills/rust-mcp-server-generator
Command: npx skills add https://github.com/lee-to/ai-workspace --skill rust-mcp-server-generator-lee-to

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating production-ready Rust MCP servers requires assembling a coherent project structure, wiring the rmcp SDK, and writing boilerplate code, which is time-consuming and error-prone.

Core Features & Use Cases

  • Generates a complete Rust MCP server scaffold with Cargo.toml, src/, tests, and example components using the official rmcp SDK.
  • Includes template files for main.rs, handlers, tools, prompts, and resources, enabling rapid iteration.
  • Supports configurable transport options (stdio, sse/http) and easy extension with new tools, prompts, and resources.

Quick Start

Run the generator to scaffold a complete Rust MCP server project based on your requirements.

Frequently Asked Questions about rust-mcp-server-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Rust MCP server with the rmcp SDK?

To scaffold a Rust MCP server, run the generator to auto-create a production-grade project structure with Cargo.toml, src, tests, and example components using the official rmcp SDK. It enforces type-safe Rust patterns and modular architecture for ready-to-run cross-project agents.

What is the best way to generate boilerplate for a Rust MCP server?

The best way to generate Rust MCP server boilerplate is using an automated scaffolding tool that wires the rmcp SDK and creates template files for main.rs, handlers, tools, prompts, and resources, enabling rapid iteration without manual project assembly errors.

Does the Rust MCP server scaffold support stdio and sse/http transport?

Yes, the Rust MCP server scaffold supports configurable transport options including both stdio and sse/http. You can select your desired transport configuration during generation to match your cross-project agent deployment requirements.

Can I extend the generated Rust MCP server with new tools and resources?

Yes, you can easily extend the generated Rust MCP server with new tools, prompts, and resources. The scaffold uses a modular architecture with optional components, allowing you to add async handlers and type-safe Rust patterns as your cross-project agent grows.

Do I need to manually configure Cargo.toml for a Rust MCP server?

No, you do not need to manually configure Cargo.toml for a Rust MCP server. The generator automates the creation of a complete project structure including Cargo.toml, src directory, tests, and example components wired to the rmcp SDK.