Agent skill · Backend & API

rust-mcp-server-generator

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

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill rust-mcp-server-generator --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 12 KB
Bundled scripts: none
Path: skills/rust-mcp-server-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the 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}/ ├── Cargo.toml ├── .gitignore ├── README.md ├── src/ │ ├── main.rs │ ├── handler.rs │ ├── tools/ │ │ ├── mod.rs │ │ └── {tool_name}.rs │ ├── prompts/ │ │ ├── mod.rs │ │ └── {prompt_name}.rs │ ├── resources/ │ │ ├── mod.rs │ │ └── {resource_name}.rs │ └── state.rs └── tests/ └── integration_test.rs ``` ## File Templates ### Cargo.toml ```toml [package] name = "{project-name}" version = "0.1.0" edition = "2021" [dependencies] rmcp = { version = "0.8.1", features = ["server"] } rmcp-macros = "0.8" tokio = { version = "1", features = ["full"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" anyhow = "1.0" tracing = "0.1" tracing-subscr

What's inside
Steps it walks through
  1. Project Requirements
  2. Project Structure
  3. File Templates
  4. Cargo.toml
  5. .gitignore
  6. README.md
  7. src/main.rs
  8. src/handler.rs
  9. src/state.rs
  10. src/tools/mod.rs
  11. src/tools/example.rs
  12. src/prompts/mod.rs
  13. src/resources/mod.rs
  14. tests/integrationtest.rs
Commands it runs
cd {project-name}
cargo build
cargo test
cargo run
More from awesome-copilot
All skills →
About this skill
What does the rust-mcp-server-generator skill do?

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

How do I install it?

Run `npx skills add github/awesome-copilot --skill rust-mcp-server-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going