🔌MCP Inspector
Also known as @modelcontextprotocol/inspector, MCP Inspector Tool, Inspector (MCP)
The official tool for testing an MCP server. You call each tool by hand.
Think of it like
It is like a test bench for a toy car. You run it on the bench before you put it on the road.
Example
A tool keeps failing in the chat app. You open the Inspector, call the tool by hand and see the error.
Why it matters
A chat app hides what went wrong. The Inspector shows the raw messages, so you can find the bug fast.
Definition
Example code
bash
npx @modelcontextprotocol/inspector node build/index.jsCommon mistake
Key takeaways
- 1Acts as a client. Connects to your server.
- 2Call by hand. Try each tool yourself.
- 3Shows the messages. Every request and reply.