How to Test an MCP Server: Inspector vs MCPJam vs MST (2026)
The short answer
Debug with the official MCP Inspector, lock behaviour in with MST tests in CI, and check that models actually choose your tools with MCPJam or mcp-whichtool. As of December 6, 2026:
- MCP Inspector — official, free. Connect, list and call tools by hand; CLI for smoke tests.
- MST (MCP Server Tester) — Playwright-based regression tests and evals. MIT, GA.
- MCPJam — the most complete platform: cross-client playground, OAuth debugger, evals, CI. Apache-2.0, hosted or local.
- mcp-whichtool — narrow but useful: does the model pick the right tool? Apache-2.0, early.
Most teams need the first two; add MCPJam once your server is public and used from several clients.
Compared
| MCP Inspector | MCPJam | MST | mcp-whichtool | |
|---|---|---|---|---|
| Maker | Model Context Protocol project | MCPJam | Glean | Tastewise |
| Licence | MIT → Apache-2.0 (transition) | Apache-2.0 | MIT | Apache-2.0 |
| Latest | v2.18.0 (Dec 5, 2026) | v3.28.0 (Dec 4, 2026) | npm 1.1.1 (Dec 3, 2026) | Early, interface may change |
| Interfaces | Web, CLI, TUI, mcpdo | Hosted app, local app, CLI, SDK | Playwright fixture, mst CLI | Python CLI |
| Manual tool calls | ✅ | ✅ | Via tests | — |
| LLM in the loop | — | ✅ 170+ models, 18 client configs | LLM-judged evals | ✅ Claude and OpenAI models |
| OAuth debugging | Handles OAuth | ✅ Guided conformance | — | — |
| CI | CLI + jq | ✅ CLI/SDK | ✅ Playwright | Tests per tool |
| Stars (Dec 6, 2026) | ~11,400 | ~2,400 | ~20 | ~13 |
From each project’s repository and npm on December 6, 2026.
Step 1: poke it with the MCP Inspector
Run npx @modelcontextprotocol/inspector for the web UI, add --cli for a scriptable client or --tui for a terminal UI. Connect over stdio or HTTP, list tools, resources and prompts, and call each tool with real arguments. Check three things: the tool list matches what you expect, errors come back as tool errors rather than crashes, and descriptions read clearly. Version 2 needs a recent Node release (^22.23.4, ^24.22.1 or >=26.12.1). Note the warning in its README: it stores OAuth tokens and stdio env values in the OS keychain, but on machines without one (headless Linux, containers) they go to ~/.mcp-inspector/secrets.json unencrypted unless you supply a key.
Step 2: write regression tests with MST
MST (@gleanwork/mcp-server-tester) gives you an mcp Playwright fixture: mcp.callTool('read_file', {...}), mcp.listTools(), and matchers such as toContainToolText, toMatchToolSchema (Zod) and toMatchToolPattern. Tests are deterministic and fast, so they belong in every pull request. mst generate records tool calls as an editable spec, the framework includes MCP spec conformance checks, and eval datasets can use an LLM judge to score tool discoverability.
Step 3: test with real models and clients
A server can pass every unit test and still fail in production because a model calls the wrong tool or a client renders it differently. MCPJam covers this: its playground drives your server with real LLMs and shows every JSON-RPC message, it emulates 18 client configurations (ChatGPT, Claude, Cursor, Copilot and more), and eval test cases record expected tool calls and track accuracy over time. It also previews OpenAI Apps SDK and MCP App widgets. Start at app.mcpjam.com or run npx @mcpjam/inspector@latest locally for stdio servers.
For one specific failure — the model reads only tool descriptions to choose — mcp-whichtool runs your prompts against Claude and OpenAI models, shows where each lands, and proposes a better description for tools that get missed, then measures the edit.
Which to pick
- Building your first server → MCP Inspector.
- Server in production, small team → Inspector + MST in CI.
- Public server used from ChatGPT, Claude and Cursor → add MCPJam, especially for OAuth.
- Model keeps calling the wrong tool → mcp-whichtool.
Before launch, also read how to secure an MCP server and how to deploy a remote MCP server.
Last verified: December 6, 2026.