Skip to content

feat!: switch to MCP 2025-11-25#72

Merged
Vaiz merged 32 commits intomasterfrom
new-mcp-version
Dec 13, 2025
Merged

feat!: switch to MCP 2025-11-25#72
Vaiz merged 32 commits intomasterfrom
new-mcp-version

Conversation

@Vaiz
Copy link
Owner

@Vaiz Vaiz commented Dec 13, 2025

No description provided.

Copy link

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 is a major refactoring PR that migrates the Rust MCP Server from the rust-mcp-sdk (version 0.7.0) to the newer rmcp library (version 0.11.0), implementing the MCP 2025-11-25 protocol version. The changes involve a complete architectural overhaul of how tools are defined and registered, removal of resources and prompts functionality, and implementation of self-contained documentation generation.

Key Changes

  • Migration from rust-mcp-sdk to rmcp library with updated error handling and type system
  • Complete refactoring of tool implementation using new trait-based architecture (ToolImpl and Tool traits)
  • Removal of experimental features: resources (Cargo Book documentation) and prompts functionality
  • Introduction of built-in documentation generation capability (replacing external mcp-discovery tool)
  • Removal of timeout configuration option from command-line arguments

Reviewed changes

Copilot reviewed 39 out of 40 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/main.rs Migrated to new rmcp API, added documentation generation mode, removed timeout argument
src/version.rs New file extracting version handling logic
src/tool.rs New file implementing tool trait system and command execution
src/rmcp_server.rs New file implementing the MCP server handler with tool registration
src/tools/*.rs Refactored all tool implementations to use new ToolImpl trait pattern
src/serde_utils.rs Updated error types from CallToolError to ErrorData
Cargo.toml Updated dependencies, removed unused crates, bumped rust-version to 1.90
tools.md Updated to reflect removal of prompts and resources
README.md Updated command-line arguments documentation
Removed files Deleted resources.rs, prompts.rs, handler.rs, scripts, docker files, and prompt templates

@Vaiz Vaiz merged commit 1c0287f into master Dec 13, 2025
9 checks passed
@Vaiz Vaiz deleted the new-mcp-version branch December 13, 2025 12:55
@github-actions github-actions bot mentioned this pull request Dec 13, 2025
@Vaiz Vaiz linked an issue Dec 13, 2025 that may be closed by this pull request
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.

Add support for 2025-11-25 protocol version

2 participants