Skip to content

Commit 79fb5ed

Browse files
committed
Drop misleading parenthetical from the implementation-defined band comment
CONNECTION_CLOSED and REQUEST_TIMEOUT can reach the wire via jsonrpc_dispatcher's _write_error path; the band is implementation-defined per spec, not SDK-internal-only.
1 parent 7f72618 commit 79fb5ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mcp/types/jsonrpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class JSONRPCResponse(BaseModel):
4343

4444
# MCP error codes occupy the JSON-RPC server-error range -32000..-32099.
4545
# Per the 2026-07-28 spec's allocation policy:
46-
# -32000..-32019 implementation-defined (SDK-local; never on the wire as a spec code)
46+
# -32000..-32019 implementation-defined
4747
# -32020..-32099 reserved for spec-defined codes, allocated sequentially from -32020
4848
# -32002, -32042 reserved-never-reused (retired by earlier protocol versions)
4949

0 commit comments

Comments
 (0)