v2.5.6 — Fix MCP tools/list regression
Critical Fix
MCP server tools/list was completely broken in 2.5.5 — every MCP client (Claude Code, etc.) got zero tools after connecting.
Root Cause
Both bin/cli.js and bin/mcp-server.js called listMCPTools() and hasTool() without await. These functions are async (return a Promise), so calling .map() on the Promise object threw TypeError, which was caught by a generic handler that emitted {id: null, code: -32700, message: "Parse error"} — killing the connection after initialize succeeded.
Fix
- Added missing
awaittolistMCPTools()andhasTool()calls in both bin entry points - Split the error handler: JSON parse failures emit
-32700(Parse error), handler errors emit-32603(Internal error) with the original requestidpreserved
Packages
| Package | Version |
|---|---|
@monoes/monomindcli |
2.5.6 |
monomind |
2.5.6 |
@monoes/monograph stays at 1.4.1 (no changes).
Full Changelog: v2.5.5...v2.5.6