github avatar

Rust Mcp Server Generator

The rust-mcp-server-generator skill generates a complete, production-ready Rust Model Context Protocol server project using the official rmcp SDK, automatically creating project structure, Cargo.toml, source files, and tests based on user specifications for project name, description, transport type, and tools. It is for developers building MCP servers in Rust who need scaffolded boilerplate code for tools, prompts, resources, and transport configurations rather than writing them manually.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
6
skills.sh installs
9.2K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill rust-mcp-server-generator --agent claude-code

Installs into .claude/skills of the current project.

Files

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

[package]
name = "{project-name}"
version = "0.1.0"
edition = "2021"

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Backend & APIs, Git & Pull Requests, AI & Agent Building, Automation & Workflows, Rust

More from github/awesome-copilot

All 318
1google avataragent-platform-endpoint-managementgoogle/skillsManages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serving endpoints for model deployment on Agent Platfor9Kskills.sh installs
2github avatarphp-mcp-server-generatorgithub/awesome-copilotGenerate a complete PHP Model Context Protocol server project with tools, resources, prompts, and tests using the official PHP SDK8.9Kskills.sh installs
3github avatarjava-mcp-server-generatorgithub/awesome-copilotGenerate a complete Model Context Protocol server project in Java using the official MCP Java SDK with reactive streams and optional Spring Boot integration.8.8Kskills.sh installs
4okx avatarokx-onchain-gatewayokx/onchainos-skillsOnchain transaction gateway across XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon and 20+ chains. Invoke to broadcast a pre-signed / raw / already-signe8.8Kskills.sh installs
5github avatartypespec-api-operationsgithub/awesome-copilotAdd GET, POST, PATCH, and DELETE operations to a TypeSpec API plugin with proper routing, parameters, and adaptive cards8.8Kskills.sh installs
6github avatarswift-mcp-server-generatorgithub/awesome-copilotGenerate a complete Model Context Protocol server project in Swift using the official MCP Swift SDK package.8.8Kskills.sh installs