Skip to main content

Inspector

MCP Inspector is a visual and interactive MCP server testing tool for invoking actions, inspecting inputs/outputs, and iterating quickly. It allows you to test your actions in real-time and see the results immediately without waiting for an LLM or AI agent to call it.

Inspector

What you can do

  • Discover available actions and their schemas
  • Execute actions and view structured responses in real-time
  • Debug and troubleshoot your MCP server
  • Test edge cases
  • Verify error handling and error responses

Getting started

  • Navigate to MCPInspector

  • Once the inspector is loaded, click on Connect to establish a new connection to your MCP server

    Inspector
  • Once you have connected to your MCP server, click on Load Tools/Load Actions to load the list of actions available in your MCP server.

    Inspector List Actions
  • You should now see the list of actions available in your MCP server, click on an action to see the details and run it.

    Inspector
    Inspector

Best practices

​ Here are some best practices to help you get the most out of MCP Inspector:

Iterative testing

  • Make server changes
  • Rebuild the server
  • Reconnect the Inspector
  • Test affected features
  • Monitor messages

Test edge cases

  • Invalid inputs
  • Missing prompt arguments
  • Concurrent operations
  • Verify error handling and error responses