Skip to content

v2.5.6 — Fix MCP tools/list regression

Choose a tag to compare

@nokhodian nokhodian released this 22 Jul 16:37

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 await to listMCPTools() and hasTool() 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 request id preserved

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