Skip to content

v1.0.2 — MCP tool output renders in clients

Choose a tag to compare

@carrilloapps carrilloapps released this 04 Jul 18:22
· 2 commits to main since this release

Fixed

  • MCP tool results now render in clients. tools/call responses were sent as raw
    objects (e.g. { projectPath, stats }) instead of MCP's required CallToolResult
    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 a content: [{ type: "text", text }]
    block, with the original object also attached as structuredContent. Protocol
    responses (initialize, tools/list, resources/*) are unchanged.

📦 npm: https://www.npmjs.com/package/@carrilloapps/docgraph
npm install --save-dev @carrilloapps/docgraph