rust-mcp-server-generator

Generates Rust server code with customizable options.

1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill rust-mcp-server-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-mcp-server-generator
Source: https://github.com/Gabeujin/workspace-init-mcp/tree/main/awesome/skills/rust-mcp-server-generator
Command: npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill rust-mcp-server-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of a complete, production-ready Rust Model Context Protocol (MCP) server project, including essential tools, prompts, resources, and tests.

Core Features & Use Cases

  • Project Scaffolding: Generates a full Rust project structure with Cargo.toml, .gitignore, README.md, src/, and tests/.
  • SDK Integration: Leverages the official rmcp SDK and rmcp-macros for efficient server development.
  • Customization: Allows users to specify project name, description, transport types (stdio, sse, http), tools, and inclusion of prompts/resources.
  • Use Case: A developer needs to quickly set up a new MCP server for a weather data service. They use this Skill, providing "weather-server" as the project name, a description, and "weather lookup" as a tool. The Skill generates all the necessary boilerplate code, saving significant development time.

Quick Start

Use the rust-mcp-server-generator skill to create a new Rust MCP server project named 'my-weather-server' with a 'weather lookup' tool.

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 generate a Rust MCP server project with the rmcp SDK?

To generate a Rust MCP server, use this Skill to automate project scaffolding, creating the full project structure with Cargo.toml, main.rs, handler.rs, and integration tests using the rmcp SDK.

What is the best way to scaffold boilerplate code for a Rust Model Context Protocol server?

Scaffolding boilerplate for a Rust Model Context Protocol server is best handled by automating the creation of the project structure, tool definitions, and prompt modules, which this Skill generates completely.

Does the rmcp SDK support stdio, sse, and http transports for Rust server generation?

Yes, the rmcp SDK supports stdio, sse, and http transports for Rust server generation, allowing you to customize your MCP server project to use the specific transport type your architecture requires.

Can I include custom tools, prompts, and resources when creating an MCP server in Rust?

You can include custom tools, prompts, and resources when creating an MCP server in Rust by specifying your requirements, and the generation process will create the respective modules and definitions automatically.

What files are included in a generated Rust MCP server project structure?

A generated Rust MCP server project structure includes Cargo.toml, .gitignore, README.md, src/ directories, tests/ for integration tests, alongside main.rs, handler.rs, and tool definition modules.

How do I set up integration tests for a Rust MCP server using rmcp-macros?

Setting up integration tests for a Rust MCP server is handled during project generation, which automatically creates a tests/ directory with integration tests configured for the rmcp SDK and rmcp-macros.