modelcontextprotocol/inspector

Deterministic testing tools for MCP servers

What it solves

The MCP Inspector provides a unified way to test, debug, and interact with Model Context Protocol (MCP) servers. It helps developers verify that their servers are functioning correctly by offering multiple interfaces to inspect server capabilities, tools, and resources.

How it works

The tool ships as a single package that provides four distinct ways to connect to and inspect an MCP server:

  • Web UI: A browser-based interface built with React and Mantine.
  • CLI: A command-line interface for scripting, automation, and CI workflows.
  • TUI: An interactive terminal-based user interface.
  • mcpdo: An experimental connection CLI for running multiple commands against a persistent local daemon.

The Inspector automatically manages sensitive information like OAuth tokens and environment variables by storing them in your operating system's secure keychain by default.

Who it’s for

This tool is designed for developers building or integrating MCP servers who need a reliable way to validate their implementation, automate testing in CI/CD pipelines, or manually explore server functionality during development.

Highlights

  • Multiple Interfaces: Switch between Web, CLI, and TUI modes depending on your workflow needs.
  • Secure Secret Management: Integrates with OS-level keychains to protect tokens and credentials.
  • Automation-Ready: The CLI supports JSON output and scripting, making it suitable for smoke testing and CI integration.
  • Extensible Architecture: Built with a shared core that ensures consistent behavior across all client types.
  • Development-Friendly: Includes built-in support for fast iteration and comprehensive testing gates.

Related

  • Project
  • Project
  • Project
  • Project
  • Project