mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-23 11:55:12 +00:00
Add Rust MCP Server Development collection (#331)
* Add Rust MCP Server Development collection - 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 * Fix Rust instruction file metadata - use single applyTo pattern * Fix Rust generator prompt - replace template placeholder with clear example * Update collections/rust-mcp-development.collection.yml * Update collections/rust-mcp-development.md --------- Co-authored-by: Aaron Powell <me@aaron-powell.com>
This commit is contained in:
committed by
GitHub
parent
51b18a7577
commit
33cab830b6
37
collections/rust-mcp-development.collection.yml
Normal file
37
collections/rust-mcp-development.collection.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
id: rust-mcp-development
|
||||
name: Rust MCP Server Development
|
||||
description: Build high-performance Model Context Protocol servers in Rust using the official rmcp SDK with async/await, procedural macros, and type-safe implementations.
|
||||
tags: [rust, mcp, model-context-protocol, server-development, sdk, tokio, async, macros, rmcp]
|
||||
items:
|
||||
- path: instructions/rust-mcp-server.instructions.md
|
||||
kind: instruction
|
||||
- path: prompts/rust-mcp-server-generator.prompt.md
|
||||
kind: prompt
|
||||
- path: chatmodes/rust-mcp-expert.chatmode.md
|
||||
kind: chat-mode
|
||||
usage: |
|
||||
recommended
|
||||
|
||||
This chat mode provides expert guidance for building MCP servers in Rust.
|
||||
|
||||
This chat mode is ideal for:
|
||||
- Creating new MCP server projects with Rust
|
||||
- Implementing async handlers with tokio runtime
|
||||
- Using rmcp procedural macros for tools
|
||||
- Setting up stdio, SSE, or HTTP transports
|
||||
- Debugging async Rust and ownership issues
|
||||
- Learning Rust MCP best practices with the official rmcp SDK
|
||||
- Performance optimization with Arc and RwLock
|
||||
|
||||
To get the best results, consider:
|
||||
- Using the instruction file to set context for Rust MCP development
|
||||
- Using the prompt to generate initial project structure
|
||||
- Switching to the expert chat mode for detailed implementation help
|
||||
- Specifying which transport type you need
|
||||
- Providing details about what tools or functionality you need
|
||||
- Mentioning if you need OAuth authentication
|
||||
|
||||
display:
|
||||
ordering: manual
|
||||
show_badge: true
|
||||
|
||||
42
collections/rust-mcp-development.md
Normal file
42
collections/rust-mcp-development.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# Rust MCP Server Development
|
||||
|
||||
Build high-performance Model Context Protocol servers in Rust using the official rmcp SDK with async/await, procedural macros, and type-safe implementations.
|
||||
|
||||
**Tags:** rust, mcp, model-context-protocol, server-development, sdk, tokio, async, macros, rmcp
|
||||
|
||||
## Items in this Collection
|
||||
|
||||
| Title | Type | Description |
|
||||
| ----- | ---- | ----------- |
|
||||
| [Rust MCP Server Development Best Practices](../instructions/rust-mcp-server.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Frust-mcp-server.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Frust-mcp-server.instructions.md) | Instruction | Best practices for building Model Context Protocol servers in Rust using the official rmcp SDK with async/await patterns |
|
||||
| [Rust MCP Server Generator](../prompts/rust-mcp-server-generator.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Frust-mcp-server-generator.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Frust-mcp-server-generator.prompt.md) | Prompt | Generate a complete Rust Model Context Protocol server project with tools, prompts, resources, and tests using the official rmcp SDK |
|
||||
| [Rust MCP Expert](../chatmodes/rust-mcp-expert.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Frust-mcp-expert.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Frust-mcp-expert.chatmode.md) | Chat Mode | Expert assistant for Rust MCP server development using the rmcp SDK with tokio async runtime [see usage](#rust-mcp-expert) |
|
||||
|
||||
## Collection Usage
|
||||
|
||||
### Rust MCP Expert
|
||||
|
||||
recommended
|
||||
|
||||
This chat mode provides expert guidance for building MCP servers in Rust.
|
||||
|
||||
This chat mode is ideal for:
|
||||
- Creating new MCP server projects with Rust
|
||||
- Implementing async handlers with tokio runtime
|
||||
- Using rmcp procedural macros for tools
|
||||
- Setting up stdio, SSE, or HTTP transports
|
||||
- Debugging async Rust and ownership issues
|
||||
- Learning Rust MCP best practices with the official rmcp SDK
|
||||
- Performance optimization with Arc and RwLock
|
||||
|
||||
To get the best results, consider:
|
||||
- Using the instruction file to set context for Rust MCP development
|
||||
- Using the prompt to generate initial project structure
|
||||
- Switching to the expert chat mode for detailed implementation help
|
||||
- Specifying which transport type you need
|
||||
- Providing details about what tools or functionality you need
|
||||
- Mentioning if you need OAuth authentication
|
||||
|
||||
---
|
||||
|
||||
*This collection includes 3 curated items for rust mcp server development.*
|
||||
Reference in New Issue
Block a user