Skip to content

Conversation

@troystaylor
Copy link
Contributor

  • 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

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • My contribution adds a new instruction, prompt, or chat mode file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, or chat mode with GitHub Copilot.
  • I have run node update-readme.js and verified that README.md is 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

  • New instruction file.
  • New prompt file.
  • New chat mode file.
  • Other (please specify): Collection

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.

- 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
Copilot AI review requested due to automatic review settings October 16, 2025 19:21
Copy link
Contributor

Copilot AI left a 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

@aaronpowell aaronpowell merged commit 33cab83 into github:main Oct 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants