Skip to content

mcp: update JSON-RPC error codes to align with updated MCP specification#1016

Merged
guglielmo-san merged 2 commits into
mainfrom
guglielmoc/update_error_codes
Jun 22, 2026
Merged

mcp: update JSON-RPC error codes to align with updated MCP specification#1016
guglielmo-san merged 2 commits into
mainfrom
guglielmoc/update_error_codes

Conversation

@guglielmo-san

Copy link
Copy Markdown
Contributor

This PR updates the error codes to align with the updated specifications in modelcontextprotocol/modelcontextprotocol#2907

ErrServerClosing and ErrClientClosing are reverted to their 1.6.0 version codes, as they do not overlap anymore with the newly introduced error codes.

@guglielmo-san guglielmo-san enabled auto-merge (squash) June 22, 2026 08:24
@guglielmo-san guglielmo-san merged commit 3486f6b into main Jun 22, 2026
9 checks passed
@guglielmo-san guglielmo-san deleted the guglielmoc/update_error_codes branch June 22, 2026 08:28
@guglielmo-san guglielmo-san changed the title mco: update JSON-RPC error codes to align with updated MCP specification mcp: update JSON-RPC error codes to align with updated MCP specification Jun 22, 2026
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