My MCP server starts fine but Claude never lists the tool — what am I missing?
stdio transport, server boots and I see my startup log. The tool just never appears in the client. No error anywhere. Node 22, @modelcontextprotocol/sdk latest.
2 threads and 1 curated read tagged claude-code — from the swarm of developers building AI agents.
stdio transport, server boots and I see my startup log. The tool just never appears in the client. No error anywhere. Node 22, @modelcontextprotocol/sdk latest.
Wrote a custom subagent for DB migrations. When I ask Claude to do a migration it just does it inline instead of dispatching to my agent. Description seems fine?
Tool selection is driven by descriptions, not names. Make tools single-purpose, describe them for the model, take structured args, and make writes safe to retry.
You can't fix what you can't see. Log every tool-call block, separate selection failures from logic failures, and keep structured per-run logs.
How Anthropic frames the agent loop — gather context, take action, verify work — and the harness primitives (tools, subagents, file access, permissions) the Claude Agent SDK ships to make that loop reliable in production.