Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 mcp-inspector

查看 mcp-inspector 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mcp-inspector

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mcp-inspector

MacPorts ports tree · llm/mcp-inspector/Portfile · 来源: api.github.com

概览

软件包摘要

Visual testing tool for MCP servers

命令和别名

  • mcp-inspector

历史

项目历史与用法

MCP Inspector is the official visual testing and debugging tool for Model Context Protocol servers. It packages a browser UI and a local proxy so developers can exercise MCP servers over stdio, SSE, or Streamable HTTP while inspecting tools, resources, prompts, and authentication behavior.

项目历史

The public repository was created under the modelcontextprotocol GitHub organization in October 2024, shortly before MCP tooling became a common dependency of AI-editor and desktop-agent workflows. Its README describes a two-part architecture: a React-based MCP Inspector Client and a Node.js MCP Proxy that bridges the browser UI to MCP servers.

The official MCP documentation treats the Inspector as a developer tool and links it from the developer-tools section of the docs site. Later README updates added explicit proxy authentication and security guidance after the project became a common way to run local MCP processes from a browser-driven workflow.

采用历史

The Inspector is distributed primarily as an npm-executed tool, with the README documenting `npx @modelcontextprotocol/inspector` as the quick-start path and a container image as an alternative. Homebrew packaging gives macOS and Linux package-manager users a pinned `mcp-inspector` executable for the same official tool.

GitHub repository metadata showed more than ten thousand stars and more than a thousand forks by July 2026, which is unusually high for a protocol-specific debugging utility and reflects its role as the default manual test harness for MCP server authors.

使用方式

Typical use is to launch the Inspector with no arguments for UI mode, or to pass an MCP server command such as `node build/index.js` so the tool can start the server and connect through its proxy. The README documents default local ports 6274 for the client UI and 6277 for the proxy server.

The Inspector can export server entries or complete MCP server files for use in clients such as Cursor, Claude Code, or the Inspector CLI. Its docs also warn that the proxy can spawn local processes and should not be exposed to untrusted networks.

为什么软件包爱好者会关心

For package users, MCP Inspector is the rough equivalent of a protocol REPL plus GUI debugger: it lets a packaged MCP server be smoke-tested without building a bespoke client. That made it a natural Homebrew formula despite the upstream Node-centric install path.

Its significance is also operational. Because MCP servers often ship as tiny CLI packages launched by larger clients, a standalone inspector gives maintainers a reproducible way to debug transport, environment-variable, and authentication issues outside any one host application.

时间线

  • 2024: GitHub repository created under modelcontextprotocol/inspector.
  • 2025: Inspector documented as the official MCP visual testing and debugging tool.
  • 2025: Proxy authentication and security guidance documented in the README.
  • 2026: Repository metadata showed broad adoption with thousands of stars and forks.

Related projects

  • modelcontextprotocol/registry provides the official MCP server registry and publisher CLI.
  • sparfenyuk/mcp-proxy and geelen/mcp-remote solve adjacent MCP transport-bridging problems.
  • MCP SDKs and example servers provide the protocol implementations commonly tested with the Inspector.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mcp-inspectorcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.22.0
管理器更新时间2026-06-05
本地数据OK
上游not checked
检测到的最新版本未检测到

https://modelcontextprotocol.io/docs/tools/inspector

安装元数据

软件包元数据

软件包键brew:mcp-inspector
版本0.22.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mcp-inspector
主页https://modelcontextprotocol.io/docs/tools/inspector
仓库https://github.com/modelcontextprotocol/inspector
上游文档https://github.com/modelcontextprotocol/inspector#readme
许可证MIT
源码归档https://registry.npmjs.org/@modelcontextprotocol/inspector/-/inspector-0.22.0.tgz
最后更新2026-06-05T17:14:41Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemcp-inspector
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

mcp-inspector

sudo port install mcp-inspector
  • normalized package name match
  • 匹配方式:Mcp Inspector
MacPorts ports tree · api.github.com · MacPorts ports tree: llm/mcp-inspector/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment