MCP.so
登录

MCP Inspector已验证

@modelcontextprotocol

基本信息

分类

开发工具

许可证

NOASSERTION

传输方式

stdio

作者

modelcontextprotocol

关于 MCP Inspector

Visual testing tool for MCP servers

MCP Inspector 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "inspector": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector"
      ]
    }
  }
}

MCP Inspector 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Inspector?

MCP Inspector is a developer tool for testing and debugging MCP servers. It consists of a React-based web UI (MCPI) that connects to MCP servers via a Node.js proxy (MCPP) supporting stdio, SSE, and streamable-http transports. It is intended for developers building or debugging MCP server implementations.

How to use MCP Inspector?

Run npx @modelcontextprotocol/inspector to start the UI at http://localhost:6274. To inspect a server from its repository, use npx @modelcontextprotocol/inspector node build/index.js with optional arguments and -e flags for environment variables. A Docker image is also available. Ports can be customized via CLIENT_PORT and SERVER_PORT environment variables.

Key features of MCP Inspector

  • Interactive web UI for testing MCP servers
  • Supports stdio, SSE, and streamable-http transports
  • Bearer token authentication with session tokens
  • Export server launch configurations as mcp.json
  • Real-time adjustable timeout settings
  • Persists configuration across sessions

Use cases of MCP Inspector

  • Debugging MCP server implementations during development
  • Testing server tools and resources interactively
  • Validating server configuration for different transport protocols
  • Exporting server configurations for use in clients like Cursor or Claude Code

常见问题

1

Is MCP Inspector a network proxy for intercepting traffic?

No, it functions as both an MCP client and an HTTP server, enabling browser-based interaction with MCP servers via different transport protocols.

2

What are the runtime requirements?

Node.js version ^22.7.5 is required.

3

How does authentication work?

The proxy requires a session token (randomly generated) sent as a Bearer token in the Authorization header. The token is shown in the console and can be pre-filled in the UI.

4

Can I expose the inspector to other devices?

By default it binds only to localhost. Binding to all interfaces (`HOST=0.0.0.0`) is possible but dangerous because the proxy can spawn local processes.

5

What transport protocols does the inspector support?

It supports stdio, SSE (Server-Sent Events), and streamable-http transports.

评论

开发工具 分类下的更多 MCP 服务器