The MCP Inspector is a tool for testing MCP servers: it has tabs for tools, resources and prompts, where you can list what a server offers and try a call with your own arguments. Test a server there first, so a server that crashes, misbehaves or exposes more than expected never reaches your real client.
Prerequisites
- The MCP Inspector installed or available.
- The server’s launch command or remote URL.
- One test argument for each tool you plan to use.
Steps
Step 1: Connect in the Inspector
Start the Inspector and connect it to the server with the same command or URL your client will use. If the connection fails here, fix it here, not in the client.
Step 2: Try each tab
List the tools, resources and prompts. Run one tool call with a safe test argument and read the result. Open one resource and one prompt if the server offers them.
Step 3: Fix before connecting
Write down anything wrong: a tool that errors, a resource that should not be exposed, a prompt with a missing argument. Fix the server or its configuration, then re-test in the Inspector before adding it to the client.
Worked example: Cedar Street Library catalogue server
The fictional Cedar Street Library tests its catalogue server in the Inspector before the reception app connects.
| Tab | Checked | Result |
|---|---|---|
| Tools | search_catalogue with ‘sourdough’ | Returned 2 books |
| Resources | catalogue://new-arrivals | Listed 5 books |
| Prompts | weekly-reading-list | Listed 1 argument: week |
All three tabs work: the tool returns 2 books, the resource lists 5, and the prompt lists its one argument, so the server is ready for the client.
Expected result. The server passes the Inspector test on every tab you plan to use, with any faults fixed and re-tested before the client connects. UNTESTED: this guide was not run against a live model or API. The worked example below is fictional practice material, and its result is the expected result, not a measured one.
Limits
- The Inspector tests the server’s declared behaviour; it cannot prove the server is safe to trust with sensitive data.
- A test argument should be harmless: do not test a write tool on real data.
- This guide does not cover installing the Inspector itself.
