登录 注册
开发者工具AI 应用与 AI Agent clidebugmcptooltuiweb
11,283
Stars
1,568
Forks
67
Watchers
15
Open Issues
NOASSERTION
许可证
TypeScript
语言
2024-10-03
创建时间
2026-11-12
最近更新

项目能做什么

专为 MCP 服务器打造的确定性测试工具。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# MCP Inspector

A developer tool for inspecting [Model Context Protocol](https://modelcontextprotocol.io) (MCP) servers. It ships as a single package, `@modelcontextprotocol/inspector`, that provides four ways to inspect a server:

- **Web** — a Vite + React + [Mantine](https://mantine.dev) single-page app with a Node backend.
- **CLI** — a scriptable command-line client for automation, CI, and fast agent feedback loops.
- **TUI** — an interactive terminal UI built with [Ink](https://github.com/vadimdemedes/ink).
- **mcpdo** _(experimental)_ — a connection CLI: connect once, then run many commands against the named connection through an implicit local daemon. See [`clients/mcpdo`](./clients/mcpdo/README.md).

The first three run through one global `mcp-inspector` binary; `mcpdo` is a second binary in the same package:

```bash
npx @modelcontextprotocol/inspector                   # web UI (default)
npx @modelcontextprotocol/inspector --cli             # CLI
npx @modelcontextprotocol/inspector --tui             # TUI
npx -p @modelcontextprotocol/inspector mcpdo --help   # mcpdo
```

> [!WARNING]
> **The Inspector manages secrets — OAuth tokens, OAuth client secrets, and stdio `env:` values — and stores them in the OS keychain, if available, by default.** On a machine with no keychain — Linux without libsecret or a Secret Service, headless and SSH sessions, Termux, and containers with a mounted volume — they are saved to `~/.mcp-inspector/secrets.json` instead, unencrypted unless you supply a key. See [Where secrets are stored](./docs/secret-storage.md) for how to get a keychain back, encrypt the file, or keep secrets in memory only.

> **Upgrading from v1?** Read the [v1 → v2 migration guide](./docs/v1-to-v2-migration.md) — CLI flags, the new `--config` vs. `--catalog` split, the Node engine bump, and what no longer ships.

> **Repo status.** This is the **v2** line of the Inspector. Active development happens on **`v2/main`** (the develop branch — all v2 PRs target it), which is merged into **`main`** at milestone releases; `main` is the default branch and holds the latest released v2, published to the npm `latest` tag. The legacy **v1** line lives on **`v1/main`** — security fixes only, published straight from that branch to the npm `v1-latest` tag (`npx @modelcontextprotocol/inspector@v1-latest`). See [`AGENTS.md`](./AGENTS.md) for branch/board conventions.

## Quick start (development)

Requires Node `^22.23.4 || ^24.22.1 || >=26.12.1`: the patched release on each supported line.

```bash
npm install          # at the repo root; postinstall cascades into every client
npm run build        # web → cli → tui → launcher
```

For day-to-day **web** iteration, run Vite directly — fast HMR, no launcher build needed:

```bash
cd clients/web && npm run dev
```

The launcher-driven scripts run the **built** launcher, so build first:

```bash
npm run web        # prod web launcher against clients/web/dist
npm run web:dev    # web launcher in --dev mode 
阅读完整原文

项目深度分析 AI 生成

MCP Server 自动化 CI/CD 与合规测试 SaaS

产品构想基于 inspector 的 CLI 与确定性测试能力,提供云端持续集成测试套件,自动生成符合 MCP 标准的兼容性验证与回归测试报告。
核心功能GitHub Actions/GitLab CI 深度集成、自动化契约测试套件、Mock 客户端交互生成、版本差异与 Breaking Change 告警、在线测试仪表盘。
目标用户开源 MCP 维护者、构建私有 Agent 插件体系的中小软件公司。
难度/周期中等 · 4-6 周 · 成本:Vercel/Fly.io 托管与基础数据库,月均 <$50
收费模式Freemium 模式:单仓库基础测试免费,团队协作、并发测试运行及高级合规报告采用订阅制($20-$99/月)。
竞争风险官方后续可能推出内建的云测试服务挤压空间;由于仓库未明确标注开源协议(NOASSERTION),直接衍生商用前需严格核实许可权限。
依据 已验证事实

企业级 MCP 调试与安全网关套件

产品构想针对 Inspector 提及的 OAuth 凭证、stdio env 敏感信息暴露隐患,封装面向企业内网的企业版 Inspector 与凭证托管/审计网关。
核心功能集中式密钥管理集成(HashiCorp Vault/AWS Secrets Manager)、MCP 消息审计日志记录、敏感数据防泄露脱敏、私有化部署支持。
目标用户对合规与内网安全要求较高的中大型企业 AI 工程团队。
难度/周期较高 · 8-12 周 · 成本:本地/云端多环境测试集群构建与安全审计支持,月均 $100-$300
收费模式私有化部署授权费与技术支持年费($2,000-$10,000/年)。
竞争风险B 端销售周期长;企业对安全软件资质门槛高。
依据 数据支持的判断

MCP 本地桌面开发与测试增强工具箱(Pro 版客户端)

产品构想将现有 Web/TUI 功能打包并增强为一键式本地桌面应用,提供录制重放、流量抓包类似 Charles/Postman 的 MCP 可视化开发套件。
核心功能一键本地启动与配置(无需终端配置 Node 依赖)、会话流量录制与回放、动态 Mock 响应注入、多服务器拓扑调试连通性分析。
目标用户全栈开发者、AI 原生应用独立开发者、Agent 提示词与工具工程师。
难度/周期中等 · 3-5 周 · 成本:代码签名证书与构建分发服务器,年费约 $100-$300
收费模式买断制(个人版 $29-$49/单设备授权)或高级调试功能订阅制。
竞争风险官方免费 Web/CLI/TUI 已经涵盖基础功能,付费壁垒需依靠极佳的 UX 和深度调试特性(如流量回放)。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2024-10-03,近 30 天仍在推送,发布过 75 个 Release
社区活跃Star 11,283 / Fork 1,568 / Issue 15(数据支持,可自行核实)
许可证NOASSERTION
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。