Token导航 LogoToken导航

MCP Server · 安全风控

MCP Gatekeeper

MCP Gatekeeper是一个为MCP生态系统设计的质量保证框架,用于验证MCP服务器、技能、扩展和npm包的质量,包括模式验证、安全检查、功能测试和AI语义评估。

stdio官方级别未说明来源级核验工具 6mcpqa
TypeScriptClaude安全

快速开始

作者 / 组织
Aravindargutus
提供方
Aravindargutus
运行时
Node.js

工具数量

6

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

1 个

MCP World

选型结论

MCP Gatekeeper 属于安全风控类 MCP Server,公开资料标注 6 个工具,通过stdio 本地进程接入,适配 Claude,有可以直接复制的安装命令;接入前要先准备 API Key。

分类

安全风控

传输方式

stdio

认证方式

API Key

部署方式

公开资料未说明

安装与配置

安装命令

npx mcpqa run --server-url https://your-mcp-server.com/mcp

客户端配置示例

{
  "mcpServers": {
    "mcp-gatekeeper": {
      "command": "npx",
      "args": [
        "mcpqa",
        "run",
        "--server-url",
        "https://your-mcp-server.com/mcp"
      ]
    }
  }
}

按公开安装命令拼出来的示例,字段名和参数以仓库 README 为准;带 YOUR_API_KEY 这类占位符的位置记得换成自己的值。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 6 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

MCP Gatekeeper

The QA framework for the MCP ecosystem

46 validators · 8 gates · Schema · Security · Functional · AI Eval · Human Review

Quick Start · What It Catches · Gates · AI Evaluation · Use as MCP Server

______________________________________________________________________

MCP有200多个服务器实现,但在发布之前没有质量门。 MCP看门人填补了这一空白。

在发布到MCP注册表、npm或Smithery之前运行它。它捕获了其他工具遗漏的模式违规、安全漏洞、功能错误和质量问题,包括基于LLM的语义评估,用于比较您的工具 *声称* 反对他们所做的 *实际上* 同上

npx mcpqa run --server-url https://your-mcp-server.com/mcp

它捕获了什么

在生产Zoho MCP服务器上运行的真实结果(65个工具):

发现门这意味着什么
125个工具默默接受无效输入功能正常服务器返回 isError: false 对于空/错误的类型参数
107个参数没有描述架构LLM不能使用带有未记录参数的工具
26个写入工具缺少速率限制信息安全性消费者不知道是否有节流阀
输出中反映的SQL注入有效负载安全性动态注入测试发现了真正的漏洞
工具描述与实际行为不符AI评估Claude将描述与调用结果进行了比较

快速开始

# Validate an MCP server (Gates 1-3: schema + security + functional)
npx mcpqa run --server-url https://your-server.com/mcp

# Add AI semantic evaluation (Gate 4 — requires Anthropic API key)
ANTHROPIC_API_KEY=... npx mcpqa run --server-url https://your-server.com/mcp --gates 1,2,3,4

# Validate a Claude Code skill
npx mcpqa run --skill-path ./.claude/skills/my-skill --gates 6

# Validate an extension
npx mcpqa run --extension-path ./my-extension --gates 7

# Validate your npm package before publishing
npx mcpqa run --package-path . --gates 8

# Everything at once
npx mcpqa run --server-url https://server.com/mcp --package-path . --gates 1,2,3,4,8 --mode lenient

大门

门它验证了什么验证器速度
1.架构协议一致性、工具名称、JSON模式、描述、参数类型6\ # Compare two reports

mcpqa dashboard [--port N] # Launch human review UI

Options: --server-url MCP server URL (http/sse) --server-cmd MCP server command (stdio) --skill-path Claude Code skill directory --extension-path Extension directory --package-path npm package directory --gates Gate numbers (e.g., 1,2,3,4,6,7,8) --mode Stop on first fail vs run all --trials LLM evaluation trials for pass@k --save-baseline Save results for regression tracking --check-regression Compare against saved baseline --verbose / --debug Control log verbosity --dry-run Show what would run without executing


## 报告

|格式|文件|用例|
|--------|------|----------|
|Console | stdout |带有彩色徽章和进度条的实时进度|
|JSON| `reports/latest.json` |CI/CD集成,程序化访问|
|HTML| `reports/latest.html` |面向利益相关者的黑暗主题视觉报告|
|萨里夫| `reports/latest.sarif` |GitHub代码扫描,VS代码SARIF查看器|
|成绩单| `reports/transcripts/` |Gate 4 LLM会话调试|

## CI/CD集成

GitHub Actions

  • name: Validate MCP Server

run: npx mcpqa run --server-cmd "node dist/server.js" --gates 1,2,3,8 # Exit code 0 = pass, 1 = fail

Docker

docker build -t mcpqa . docker run mcpqa run --server-url https://server.com/mcp


## 配置

configs/default.yaml

pipeline: mode: strict enabledGates: [1, 2, 3]

server: transport: http url: https://your-server.com/mcp headers: Authorization: "Bearer your-token"

semantic: trials: 3 # pass@k evaluation autoApproveThreshold: 4.5 # Gate 5 auto-approve

reporting: formats: [console, json, sarif] outputDir: ./reports


## 发展

npm install npm test # 172 tests npm run lint # type-check npm run build # compile to dist/


## 建筑

CLI (mcpqa) ─┐ ┌─ MCP Server (mcpqa-server) │ │ ▼ ▼ PipelineOrchestrator (shared core) │ ┌─────────┼──────────┬──────────┐ ▼ ▼ ▼ ▼ Gate 1-3 Gate 4 Gate 5 Gate 6-8 Code LLM Judge Dashboard File (24 val) (7 val) (htmx) (15 val)


## 贡献

PR欢迎。每个验证器都是一个实现 `IValidator`。要添加新支票,请执行以下操作:

1. 创建 `src/gates/gateN-name/validators/your-check.ts`
1. 实施 `IValidator` 接口(名称、描述、验证)
1. 在登机口登记 `index.ts`
1. 在中添加测试 `tests/unit/gateN/`

## 许可证

麻省理工学院

## 链接

- [MCP规范](https://modelcontextprotocol.io/specification)
- [MCP官方登记处](https://registry.modelcontextprotocol.io/)
- [人性化安全带设计](https://www.anthropic.com/engineering/harness-design-long-running-apps)
- [人类学评价框架](https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents)

工具与能力

工具数量

6

资源数量

0

提示词数量

0

能力标签

质量保证TypeScript本地部署MCP生态系统AI评估安全检查功能测试

支持客户端

Claude

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

资产与漏洞排查

批量查询资产和漏洞信息,输出待修清单。

日志审计

从日志里筛出异常访问和高风险操作。

合规检查

按规则核对配置项,记录不符合项。

选择建议

值得选的地方

  • 只提供 6 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 公开说明写得比较完整,接入前能看清能力边界。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 需要自备API Key,没有凭据没法直接试。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在安全风控场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到API Key的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
MCP Gatekeeper

MCP World · 本页

6stdio有1 个2026-05-17
Modelcontextprotocol C22988b0

MCP World

0stdio有1 个2026-05-17
Hexstrike AI

MCP World

0stdio有1 个2026-05-17
Cyber Strike AI

MCP World

75未说明未标注1 个2026-05-17
MCP Scan

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

MCP Gatekeeper 怎么安装?

公开资料给出的安装命令是 npx mcpqa run --server-url https://your-mcp-server.com/mcp,运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

MCP Gatekeeper 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

MCP Gatekeeper 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

MCP Gatekeeper 需要 API Key 吗?

公开资料标注的认证方式是API Key,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

MCP Gatekeeper 支持哪些客户端?

公开资料标注支持 Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP