← Back to Setups

MCP Inspector

Is the agent confused, or is its tool connection broken? Inspect and test MCP servers directly before debugging the whole AI workflow.

https://github.com/modelcontextprotocol/inspector

mcptoolsdebuggingintegrationopen-source
Added to Lab: 2026-10-29

When this is useful

An agent says it cannot use a tool. Rewriting its instructions is tempting, but the actual problem might be a connection, an unexpected input schema, or the response returned by the server.

MCP Inspector helps examine that boundary directly.

What this is

MCP Inspector is the Model Context Protocol project's developer tool for testing and debugging MCP servers. Its web interface and command-line clients let developers inspect a server separately from the assistant that normally calls it.

The Inspector supports exploring exposed tools, resources, and prompts and testing interactions with the server. This makes it useful for seeing the contract an assistant is expected to work with.

Why it belongs in the Lab

Skills and orchestration depend on tools behaving as expected. The existing Agent Skills standard entry concerns packaging capabilities; MCP Inspector addresses a different practical question: what does the connected server actually expose and return?

We selected it because isolating a tool interaction can narrow a failure before a team changes an entire agent workflow.

A small first setup

Use a development MCP server with a harmless read-only tool.

  • Connect through the Inspector's web interface.
  • Inspect the tool description and input schema.
  • Submit a known valid input and inspect the response.
  • Try an invalid or incomplete input and examine the reported error.
  • Compare that interaction with the failing assistant run.

Keep the server, input, and response together as a reproducible debugging example.

What to account for

An Inspector call reaches the real server. Write tools can therefore cause real changes; choose the test environment and permissions deliberately.

The Inspector also handles connection credentials. Follow the current credential-storage guidance, especially in headless environments.

A successful direct call establishes that one interaction worked. Whether an agent chooses the appropriate tool, interprets its output correctly, or respects approval rules still needs separate testing.

Explore further

Documentation reviewed October 29, 2026.