MCP Inspector
Created at 2 months ago
by modelcontextprotocol
Visual testing tool for MCP servers
Categories
Tags
[]
what is MCP Inspector?
MCP Inspector is a visual testing tool designed for developers to test and debug MCP servers effectively.
how to use MCP Inspector?
To use MCP Inspector, run it from your MCP server repository using npx
, just like this: npx @modelcontextprotocol/inspector build/index.js
. You can also pass additional arguments, which will be forwarded to your MCP server. A client UI will then be accessible in your browser for inspection.
key features of MCP Inspector?
- Runs a client UI for interactive testing
- Allows customization of client and server ports
- Facilitates testing without needing to clone the repository
- Supports running the inspector in both development and production modes
use cases of MCP Inspector?
- Debugging MCP server implementations by visualizing server responses.
- Testing different scenarios by passing various arguments to the MCP server.
- Catching issues in server implementations before production deployment.
FAQ from MCP Inspector?
- How do I launch the client UI?
After starting the inspector, open your browser and navigate to
http://localhost:5173
(or your specified CLIENT_PORT) to access the client UI.
- Can I run MCP Inspector without installing it locally?
Yes! You can use
npx
to run MCP Inspector directly without needing to clone the repository.
- Is there documentation available for further details?
Yes, you can find more detailed instructions in the Inspector section of the MCP docs site.
View More