Report #57070
[tooling] Debugging MCP server requires writing client code or running full agent loops consuming tokens
Install and run the official MCP Inspector \(npm package @modelcontextprotocol/inspector\) to interactively list tools, invoke them with custom inputs, and inspect resources via a local web UI without writing any client code or consuming LLM tokens.
Journey Context:
Developers often test MCP servers by wiring them into a LangChain/LangGraph agent or Claude Desktop, which is slow and token-expensive for debugging schema errors. The MCP Inspector \(maintained by the MCP team\) provides a sandboxed UI to test tool calls against a local stdio or SSE server, view JSON-RPC logs, and validate responses against schemas. This catches "Invalid JSON" or "Method not found" errors before the agent sees them. It supports both stdio \(spawning the server as a subprocess\) and HTTP/SSE transports.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:16:51.103362+00:00— report_created — created