You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade to MCP protocol version 2025-06-18 (v0.4.0)
This is a major protocol upgrade that ensures compatibility with the latest
MCP ecosystem and modern AI clients like Claude Desktop and VS Code extensions.
## Breaking Changes
- Update protocol version from 2024-11-05 to 2025-06-18
- Clients must support protocol version 2025-06-18 to communicate with this version
## New Features
- Add MCP-Protocol-Version header support for HTTP transport (required by spec)
- Re-enable outputSchema support for tools (now standard in 2025-06-18)
- Add optional title fields to tools for human-friendly display names
- Automatically extracted from roxygen comments
- Fallback to generated names from HTTP method and path
## Changes Made
- Updated protocol version strings in R/pr_mcp.R (2 locations)
- Updated protocol version in R/pr_mcp_stdio.R
- Updated protocol version in R/plumber2mcp-package.R documentation
- Updated protocol version in inst/examples/test_mcp_client.R
- Added HTTP header handling in create_mcp_handler()
- Safe handling of mock response objects in tests
- Sets MCP-Protocol-Version header when res$setHeader is available
- Enhanced extract_plumber_tools() to generate title fields
- Updated handle_tools_list() to include title and outputSchema
- Updated handle_tools_list_stdio() to include title and outputSchema
- Updated all test expectations to expect new protocol version (6 test files)
- Fixed tests that expected outputSchema to be absent (now present)
- Bumped version to 0.4.0 in DESCRIPTION
- Added comprehensive NEWS.md entry with migration guide
- Regenerated roxygen documentation
## Testing
- All 393 tests passing (0 failures, 5 warnings)
- Verified HTTP header handling with mock and real objects
- Confirmed backward compatibility in API design
BREAKING CHANGE: Clients must support protocol version 2025-06-18
0 commit comments