Skip to content

Commit 05045ae

Browse files
88plugclaude
andcommitted
fix(mcp): answer ping with an empty result
MCP 2025-11-25 requires a receiver to answer ping promptly; the dispatcher returned -32601. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent adbd6ad commit 05045ae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎server.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,6 +1953,8 @@ def main():
19531953
)
19541954
elif method == "notifications/initialized":
19551955
pass
1956+
elif method == "ping":
1957+
reply(mid, {})
19561958
elif method == "tools/list":
19571959
reply(mid, {"tools": TOOLS})
19581960
elif method == "tools/call":

0 commit comments

Comments
 (0)