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
{{ message }}
Repository navigation
Request ids above 2^53 are answered with a different id #271
JSON-RPC ids are parsed with JSON.parse, so a numeric id above Number.MAX_SAFE_INTEGER loses precision and the response carries a different id. basic.md: "Result responses MUST include the same ID as the request they correspond to."
Repro
{"jsonrpc":"2.0","id":9007199254740993,"method":"tools/list"} → response "id":9007199254740992, status 200.
Suggested fix
Refuse numeric ids that are not safe integers with -32600 (simplest), or keep the raw id text.
Found during the round-7 review of #170; also on main.
Activity
fix: reject numeric request ids that are not safe integers