Diagnose MCP server problems — SSE connectivity, malformed events, tools/list failures, timeouts — in one command.
MCP servers fail silently — your coding agent just stops calling tools with no useful error. badgr-mcp-doctor runs a fixed diagnostic sequence against the server's SSE endpoint and stops early at the first hard failure.
Confirms the SSE endpoint responds over HTTP, then checks that events arrive and are valid JSON payloads.
Sends the JSON-RPC tools/list call and confirms it returns a list of tool objects within --timeout-ms (default 10000ms).
Invokes the first tool (or the one named with --tool) with { dryRun: true } to confirm it responds without error.
npx badgr-mcp-doctor --url http://localhost:3000/sseRequires Node.js 18+ and an MCP server running and accessible at the given URL.
Point it at your MCP server's SSE endpoint. Add --tool to dry-run a specific tool, or --json for CI-friendly output.
npx badgr-mcp-doctor --url http://localhost:3000/sse
npx badgr-mcp-doctor --url http://localhost:3000/sse --tool my_tool_name --jsonbadgr-mcp-doctor — http://localhost:3000/sse
✓ HTTP connection: 200 OK
✓ SSE events: valid JSON payloads received
✓ tools/list: 4 tools found (search, read_file, write_file, run_command)
✓ Dry-run tool call: search responded without errorbadgr-mcp-doctor --url <url>Run the full diagnostic sequence against an MCP server's SSE endpoint.badgr-mcp-doctor connectShow the optional AI Badgr hosted MCP monitoring link.npx badgr-mcp-doctor --url http://localhost:3000/sse — no account needed to get started.