Backend
50 installs
rust-mcp-server-generator
by github/awesome-copilot
Generate a complete Rust Model Context Protocol server project with tools, prompts, resources, and tests using the official rmcp SDK
Skill content
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 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: - Project name (e.g., "my-mcp-server") - Server description (e.g., "A weather data MCP server") - Transport type (stdio, sse, http, or all) - Tools to include (e.g., "weather lookup", "forecast", "alerts") - Whether to include prompts and resources Project Structure Generate this structure: