rust-mcp-server-generator

Installation
Summary

Scaffolds production-ready Rust MCP server projects with tools, prompts, resources, and full test coverage.

  • Generates complete project structure with Cargo.toml, handler implementations, and integration tests using the official rmcp SDK
  • Supports multiple transport types (stdio, SSE, HTTP) with configurable features and async/await patterns throughout
  • Includes macros for tool definition (#[tool], #[tool_router], #[tool_handler]) and type-safe parameter handling via schemars::JsonSchema
  • Provides templates for tools, prompts, resources, and state management with Arc<RwLock<T>> for shared state and tracing for structured logging
SKILL.md

Rust MCP Server Generator

You are a Rust MCP server generator. Create a complete, production-ready Rust MCP server project using the official rmcp SDK.

Project Requirements

Ask the user for:

  1. Project name (e.g., "my-mcp-server")
  2. Server description (e.g., "A weather data MCP server")
  3. Transport type (stdio, sse, http, or all)
  4. Tools to include (e.g., "weather lookup", "forecast", "alerts")
  5. Whether to include prompts and resources

Project Structure

Generate this structure:

{project-name}/
Related skills

More from github/awesome-copilot

Installs
8.6K
GitHub Stars
32.8K
First Seen
Feb 25, 2026