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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's Changed
New Features
feat(protocol): implement server/discover RPC (MCP SEP-2575) (#1354): Upgrades rmcp to v3.1.0 and replaces the previously commented-out placeholder with a real discover handler. Clients that support SEP-2575 can now call server/discover to retrieve supported protocol versions and capabilities without completing a full initialize handshake. Includes two new integration tests: stateless discovery before initialize, and discovery in an already-initialized session.
Bug Fixes
fix(edit): remove CWD containment check from edit tools when no working_dir is set (#1353): Removes the implicit starts_with(cwd) guard from the edit_overwrite and edit_replaceNone-working_dir path. Absolute paths and ../ traversals that resolve outside the server's CWD are now accepted, consistent with the already-deployed Some-working_dir arm. Operators who require path confinement must pass working_dir explicitly. Four new integration tests cover the changed behaviour.
fix(logging): remove McpLoggingLayer dead code (MCP SEP-2577) (#1351): Deletes the disabled log-consumer task together with McpLoggingLayer, LogEvent, and MessageVisitor, which were left unreachable after the SEP-2577 logging removal. Cleans up the corresponding module declarations, imports, and tests.
Maintenance
chore(protocol): replace hardcoded 2025-11-25 with ProtocolVersion::LATEST (#1352): Eliminates eight hardcoded protocol version string literals across metrics, integration tests, and smoke tests. All sites now read ProtocolVersion::LATEST.as_str() so they auto-update when rmcp bumps LATEST.
docs: audit and update all project markdown files for rmcp v2, SEP-2577, ProtocolVersion::LATEST, replace_all, and server/discover (#1355). No source code modified.