- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.3k
Add Rust MCP Server Development collection #331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add Rust MCP server best practices instruction - Add Rust MCP server project generator prompt - Add Rust MCP expert chat mode - Add Rust MCP development collection manifest - Update category READMEs Features: - Server setup with official rmcp SDK (v0.8+) - Async/await patterns with tokio runtime - Tool development with procedural macros - Multiple transport protocols (stdio, SSE, HTTP, WebSocket) - Type-safe parameters with schemars JsonSchema - State management with Arc and RwLock - Error handling with ErrorData and anyhow - OAuth authentication support - Progress notifications - Cross-compilation and Docker deployment - Comprehensive testing examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a comprehensive Rust MCP (Model Context Protocol) server development collection, providing developers with complete tooling and guidance for building high-performance MCP servers using the official rmcp SDK. The collection includes best practices documentation, a project generator, and an expert chat mode, all tailored for Rust's async/await patterns and procedural macro features.
Key changes:
- Adds complete Rust MCP development toolkit with 3 integrated components
- Updates README files to include all new MCP-related items
- Creates new collection with YAML manifest and markdown documentation
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description | 
|---|---|
| prompts/rust-mcp-server-generator.prompt.md | Complete project generator with templates for Cargo.toml, handlers, tools, and tests using rmcp SDK | 
| instructions/rust-mcp-server.instructions.md | Comprehensive best practices guide covering async patterns, transports, testing, and deployment | 
| collections/rust-mcp-development.md | Collection overview with usage guidelines and item descriptions | 
| collections/rust-mcp-development.collection.yml | YAML manifest defining the collection structure and metadata | 
| chatmodes/rust-mcp-expert.chatmode.md | Expert assistant for interactive Rust MCP development guidance | 
| README.prompts.md | Updated to include the new Rust MCP Server Generator prompt | 
| README.instructions.md | Updated to include the new Rust MCP best practices instruction | 
| README.collections.md | Updated to include the new Rust MCP development collection | 
| README.chatmodes.md | Updated to include the new Rust MCP Expert chat mode | 
Features:
Pull Request Checklist
node update-readme.jsand verified thatREADME.mdis up to date.Description
Complete toolkit for building high-performance Model Context Protocol servers in Rust using the official rmcp SDK (v0.8+).
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.