v1.0.2 — MCP tool output renders in clients
Fixed
- MCP tool results now render in clients.
tools/callresponses were sent as raw
objects (e.g.{ projectPath, stats }) instead of MCP's requiredCallToolResult
shape, so Claude Code and other MCP clients showed empty output for every tool
(search,explore,get_stats,list_documents, …) even though the data was
computed correctly. Results are now wrapped in acontent: [{ type: "text", text }]
block, with the original object also attached asstructuredContent. Protocol
responses (initialize,tools/list,resources/*) are unchanged.
📦 npm: https://www.npmjs.com/package/@carrilloapps/docgraph
npm install --save-dev @carrilloapps/docgraph