PlugWiki

Rust MCP Server Generator Skill: Scaffold an rmcp Server

Generates a complete Rust project for an MCP server using the official rmcp SDK. Listed in github/awesome-copilot.

Installs
9.2K
on skills.sh
Stars
40.7K
on GitHub
Updated
Oct 2026
last repo commit

rust-mcp-server-generator makes your agent ask five questions and then write a whole Rust MCP server project. The questions are project name, description, transport (stdio, sse, http or all), the tools to include, and whether to add prompts and resources.

It writes the Cargo.toml, a README, source files for tools, prompts and resources, and an integration test. It bundles no scripts. SKILL.md ends with cargo build, cargo test and cargo run, so expect Rust crates to be downloaded.

Good for

  • Rust developers who want a working MCP server scaffold fast
  • Teams building a custom MCP server for their own tools
  • Developers who prefer a typed, async Rust server over Node or Python

Install rust-mcp-server-generator

Claude Code

  1. 1

    Copy this prompt.

    Install the rust-mcp-server-generator skill in Claude Code. Run this command:
    
    npx skills add https://github.com/github/awesome-copilot --skill rust-mcp-server-generator
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

The awesome-copilot README is written for GitHub Copilot. It does not name Claude Code, so these are the standard skill-folder routes.

Built from the package data we hold. Not yet tested by us. Source.

What's in the skill

When it loads

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

Sections in SKILL.md

  1. Project Requirements
  2. Project Structure
  3. File Templates
  4. Cargo.toml
  5. .gitignore
  6. README.md
  7. Installation
  8. Usage
  9. Stdio Transport
  10. SSE Transport
  11. HTTP Transport
  12. Configuration
  13. Tools
  14. Development
  15. src/main.rs
  16. src/handler.rs

Key facts

Installs on skills.sh
9,193 (Nov 2, 2026)
Last repo commit
Oct 30, 2026
Files in the folder
1 file: SKILL.md

What it includes

  • Asks for project name, description, transport, tools, and prompts or resources

    Transport can be stdio, sse, http or all.

    Ask five questions

  • Plans Cargo.toml, .gitignore, README.md, src/ and tests/

    Source files are main.rs, handler.rs, state.rs and folders for tools, prompts and resources.

    Write · Project structure

  • Gives templates for Cargo.toml, the source files, a tool file and an integration test

    The Cargo.toml template pins rmcp 0.8.1 and rmcp-macros 0.8.

    Write · File templates

  • Lists 8 rules, such as rmcp macros, schemars types, async handlers and tracing logs

    The others are Result error handling, Arc<RwLock<T>> state, tests and doc comments.

    Implementation guidelines

  • Shows three patterns: a simple read-only tool, one with error handling, one with state

    Used as a model for the tools the agent writes.

    Example tool patterns

  • Lists cargo build, cargo test and cargo run, plus a Claude Desktop config snippet

    The snippet points a client at the built binary.

    Runs code · Run the server

From the official docs

Permissions

Medium risk

The skill writes a project and points you to cargo build, which downloads third-party crates. Review the generated Cargo.toml and tools before you run the server.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • Building the result downloads crates

    The Cargo.toml template depends on rmcp, rmcp-macros and other crates. cargo build pulls them from the crate registry. Review Cargo.toml before you build. github.com

  • The generated server exposes tools to your AI client

    The tools the agent writes run with your user's rights once you connect the server. Keep them narrow and read the code first. github.com

  • Community content, not reviewed by GitHub for you

    The awesome-copilot README says the customizations are sourced from third-party developers and asks you to inspect them before installing. Read the SKILL.md first. github.com

Technical details
Talks toRust crate registry when you run cargo build
Scopes
  • Writes a new Rust project folder: Cargo.toml, src/, tests/, README.md

  • SKILL.md lists cargo build, cargo test and cargo run as next steps

Questions

What does rust-mcp-server-generator do?

It makes your agent write a complete Rust MCP server project with the rmcp SDK: tools, optional prompts and resources, state, tests and a README.

How do I install it?

Use the install box above. In GitHub Copilot CLI it can also come with the rust-mcp-development plugin, which adds an expert agent.

What will it ask me?

Five things: project name, a description, the transport (stdio, sse, http or all), the tools to include, and whether to add prompts and resources.

Do I need Rust installed?

To build and run the result, yes. SKILL.md ends with cargo build, cargo test and cargo run. The template uses Rust edition 2021.

How do I connect the finished server to Claude Desktop?

SKILL.md ends with a Claude Desktop mcpServers snippet that points command at the built binary under target/release. Replace the placeholders with your project name and path.

Is it safe?

The skill bundles no scripts. The project it writes pulls Rust crates when you build it, so review the dependencies and the tools it exposes before you run it.

Does it work in Claude Code or the Claude app?

The file is a standard SKILL.md, and the install box shows how to place it in Claude Code or upload it to Claude. The awesome-copilot README targets GitHub Copilot, and nothing in the repo says this skill was tested in Claude.

Information

updated Nov 2, 2026

Folder
skills/rust-mcp-server-generator

github/awesome-copilotskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 3
  1. github/awesome-copilot README · github.com
  2. rust-mcp-development plugin.json · github.com
  3. rust-mcp-server-generator SKILL.md · github.com

Updated Nov 2, 2026.