原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Guardian

作者:rudraneel93版本 2.3.21i★ 4i在你的电脑上运行代码仓库 ↗
注册名称io.github.rudraneel93/mcp-guardian

安装方法

What it does

Security, cost, and health governance proxy for MCP infrastructure

  • Connects 在你的电脑上运行
  • Account or key Needs ALERT_WEBHOOK_URL
  • Category 诊所与健康

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度22/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度3/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分25/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 MCP Guardian。按照 https://mcp.popnx.com/i/rudraneel93-mcp-guardian.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 MCP Guardian 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server MCP Guardian,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "guardian": { "command": "npx", "args": [ "-y", "@mcp-guardian/server" ], "env": { "ALERT_WEBHOOK_URL": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) ALERT_WEBHOOK_URL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Guardian 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 MCP Guardian 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "guardian": {
          "command": "npx",
          "args": [
            "-y",
            "@mcp-guardian/server"
          ],
          "env": {
            "ALERT_WEBHOOK_URL": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 MCP Guardian 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 MCP Guardian,或回答中出现 MCP Guardian 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • MCP_GUARDIAN_DB_PATH SQLite 历史记录数据库的路径
    查看英文原文Path to SQLite history database
    · 默认值 ~/.mcp-guardian/history.db
  • METRICS_ENABLED 公开 Prometheus 指标。
    查看英文原文Expose Prometheus metrics

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 MCP Guardian

MCP Guardian 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 MCP Guardian 的应用

  • 需要 MCP Guardian 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 MCP Guardian 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 MCP Guardian 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 MCP Guardian 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

B · 诊所与健康 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 MCP Guardian 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server MCP Guardian,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user guardian --env ALERT_WEBHOOK_URL=your-value -- npx -y @mcp-guardian/server 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) ALERT_WEBHOOK_URL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Guardian 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 MCP Guardian 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user guardian --env ALERT_WEBHOOK_URL=your-value -- npx -y @mcp-guardian/server

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 MCP Guardian 在列表中并显示已连接

  6. 试一试

    用 MCP Guardian 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 MCP Guardian,或回答中出现 MCP Guardian 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • MCP_GUARDIAN_DB_PATH SQLite 历史记录数据库的路径
    查看英文原文Path to SQLite history database
    · 默认值 ~/.mcp-guardian/history.db
  • METRICS_ENABLED 公开 Prometheus 指标。
    查看英文原文Expose Prometheus metrics

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 MCP Guardian 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server MCP Guardian,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "guardian": { "command": "npx", "args": [ "-y", "@mcp-guardian/server" ], "env": { "ALERT_WEBHOOK_URL": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) ALERT_WEBHOOK_URL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Guardian 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 MCP Guardian 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 MCP Guardian 的设置中,ALERT_WEBHOOK_URL 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 MCP Guardian 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 MCP Guardian,或回答中出现 MCP Guardian 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • MCP_GUARDIAN_DB_PATH SQLite 历史记录数据库的路径
    查看英文原文Path to SQLite history database
    · 默认值 ~/.mcp-guardian/history.db
  • METRICS_ENABLED 公开 Prometheus 指标。
    查看英文原文Expose Prometheus metrics

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 MCP Guardian 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server MCP Guardian,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "guardian": { "type": "stdio", "command": "npx", "args": [ "-y", "@mcp-guardian/server" ], "env": { "ALERT_WEBHOOK_URL": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) ALERT_WEBHOOK_URL 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 MCP Guardian 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 MCP Guardian 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 MCP Guardian 的设置中,ALERT_WEBHOOK_URL 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 MCP Guardian 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 MCP Guardian,或回答中出现 MCP Guardian 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • MCP_GUARDIAN_DB_PATH SQLite 历史记录数据库的路径
    查看英文原文Path to SQLite history database
    · 默认值 ~/.mcp-guardian/history.db
  • METRICS_ENABLED 公开 Prometheus 指标。
    查看英文原文Expose Prometheus metrics

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 MCP Guardian 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user guardian --env ALERT_WEBHOOK_URL=your-value -- npx -y @mcp-guardian/server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "guardian": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-guardian/server"
      ],
      "env": {
        "ALERT_WEBHOOK_URL": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "guardian": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-guardian/server"
      ],
      "env": {
        "ALERT_WEBHOOK_URL": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "guardian": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mcp-guardian/server"
      ],
      "env": {
        "ALERT_WEBHOOK_URL": "your-value"
      }
    }
  }
}

需要你填写的值

  • MCP_GUARDIAN_DB_PATH env
    SQLite 历史记录数据库的路径
    查看英文原文Path to SQLite history database
  • ALERT_WEBHOOK_URL 机密 必填 env
    用于关键告警的 Slack 或 Discord Webhook。
    查看英文原文Slack or Discord webhook for critical alerts
  • METRICS_ENABLED env
    公开 Prometheus 指标。
    查看英文原文Expose Prometheus metrics

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
673/周
连接方式
在你的电脑上运行
最新版本i
2.3.21
发布到注册中心i
2026年5月14日
代码最后更新i
2026年6月8日
作者
rudraneel93
软件包
npm: @mcp-guardian/server
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 rudraneel93 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于5个月前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 @mcp-guardian/server@2.3.21 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/rudraneel93-mcp-guardian.svg)](https://mcp.popnx.com/en/servers/rudraneel93-mcp-guardian)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“诊所与健康”中的其他服务器比较i

  • 星标数多于此分类中其他 1190 个服务器的 91%
  • 发布到注册中心的时间比此分类中其他 1190 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 1190 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCP Guardian 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:ALERT_WEBHOOK_URL

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于5个月前,最新版本(2.3.21)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Medplum MCP, Codescene MCP Server, Marrow, WHOOP — MissingMCP, athletedata

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Medplum MCP

Securely access and manage FHIR healthcare data stored in Medplum.

作者:medplum广泛使用★ 28044个月前更新

在云端运行✓ 服务方 · medplum.com

Marrow

Marrow Health: your Apple Health data over MCP, from the free iOS app. Reads, and writes on demand.

作者:skeletonarmytech起步阶段↓ 62/周★ 528天前更新

在你的电脑上运行✓ skeletonarmy.tech
与相似项目对比
本项
MCP Guardian
Medplum MCPCodescene MCP ServerMarrowWHOOP — MissingMCPathletedata
运行位置需要安装在电脑上在云端运行,无需安装需要安装在电脑上需要安装在电脑上在云端运行,无需安装在云端运行,无需安装
需要密钥是否否否否否
可在 Claude 中按 + 添加否否否否否是
基础检查3/34/42/33/32/44/4
许可证MITApache-2.0NOASSERTIONMITMITMIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

MCP Guardian

A safety layer between your AI assistant and the tools it uses.

Version 4.1.8 · Website · npm · Install & troubleshooting · Changelog

What's new in 4.1.8
  • Incident policy workflow — Enterprise AI investigation drawer can generate, preview, accept, or reject blocking rules from incidents
  • npm publish hardening — ordered publish script with registry dep resolution checks and clean-install verification before server goes live
  • Dashboard stability — fix React hooks ordering in Security/Health panels that caused error #310 on load
What's new in 4.1.7
  • Active Rules controls — Security → Policy now includes list/search, soft disable/enable, and hard delete operations synced to YAML
  • Policy runtime semantics — enabled: false is honored across rule strategies with backward-compatible defaults
  • Policy mutation APIs — cloud + local dashboard endpoints for list/toggle/delete with updated README guidance
What's new in 4.1.6
  • `mcp-guardian start` — one command for proxy + web dashboard on port 4000 (local dev defaults)
  • `mcp-guardian setup` — one-shot install for git clones (pnpm install, build, dashboard SPA)
  • npm tarball — prebuilt dashboard UI (deploy/dashboard-spa/out/) built at publish time
  • Install guide — expanded troubleshooting in README and docs/INSTALL.md
What's new in 4.1.5
  • npm install — fixes broken @mcp-guardian/server@4.1.4 registry manifest (workspace: deps). Use 4.1.5+.
What's new in 4.1.4
  • `mcp-guardian onboard` from global npm — resolves the installed package root (not cwd); writes guardian-configs/ under your current directory; ships scripts/guardian-proxy.sh and policy-audit.yaml in the npm tarball
What's new in 4.1.3

npm install fix — registry manifest now matches published tarballs (^4.1.3 semver deps, not workspace:). Use @mcp-guardian/server@4.1.3 or later. Publish via ./scripts/publish-npm-all.sh (server/CLI ship from .tgz so metadata stays correct).

What's new in 4.1.1

npm install hygiene — fixes supply-chain scanner findings from 4.1.0:

  • Published tarballs no longer include postinstall or other lifecycle scripts
  • workspace: dependencies are rewritten to semver (^4.1.1) at pack time
  • Publish all packages via ./scripts/publish-npm-all.sh (core → plugin-sdk → server → cli)
What's new in 4.1.0

Industry roadmap plan compliance — runtime verification and dashboard wiring for all eleven fleet-wide modules (A1–C5, B1–B3):

  • `guardian roadmap audit` — CLI + GET /api/agentic/plan-compliance/audit verify every shipped module; exit 0 when production-ready
  • Dashboard Agentic AI panels — PlanCompliance, Reputation, ZeroTrust, FederatedLearning, Observatory mesh sync, SandboxWizard captured-traffic scorecard, ChainGraph (A1)
  • Protection home strip — roadmap compliance score on the main Protection tab with link to Agentic AI
  • A1 ONNX graph path — optional fleet chain classifier via GUARDIAN_FLEET_GRAPH_ONNX_MODEL
  • B3 MPC-lite masking — pairwise-masked federated gradients (GUARDIAN_FEDERATED_MPC)
  • B2/B1 mesh relays — observatory and reputation mesh publish/pull; dev stub via GUARDIAN_OBSERVATORY_STUB
  • Docs & env — guardian roadmap * commands documented; production env vars in .env.example

Run guardian roadmap audit --json or open Agentic AI → Overview in the dashboard to confirm 100% compliance.

What's new in 4.0.0

Industry-standard MCP protection — Guardian moves from per-call filtering to fleet-wide, cross-agent security:

  • MTX v1 — open threat exchange format (@mcp-guardian/mtx) + cloud hub
  • Guardian Certified MCP — HMAC attestation, persistent registry, verification API
  • Multi-step attack chains — collusion detector + session-chain graph with proxy enforcement
  • Capability graph & intent binding — tool/resource graph and session intent allowlists
  • Agent reputation ledger — persistent scores with proxy enforcement
  • Dynamic sandbox tiers — shadow / redact / allow with RL-ready persistence
  • Protocol fuzzer — expanded corpus with real block validation and cert gates
  • Policy simulator — /api/policy/simulate + ab_test_policy MCP tool
  • Incident playbooks & AI investigator — webhook/isolate executors; Threat Lab–linked investigations
  • Compliance evidence runner — live policy + audit wired to SOC2/HIPAA/PCI/FedRAMP/ISO mappings
  • guardian-bench — mcp-guardian bench CLI + public leaderboard

See CHANGELOG.md for 3.4.1 production hardening (JWKS refresh, payload limits, SIEM on all block paths, audit retention).

Roadmap (shipped in 4.0): Semantic policy translator with approval flows, config provenance chain, STRIDE/LINDDUN threat modeling, behavioral biometrics, cross-MCP attack chains with SIEM export, digital twin sandbox, zero-trust SPIFFE scoring, decentralized reputation network, ecosystem observatory, insurance risk quantification + PDF export, and federated threat detection — docs/AGENTIC_ROADMAP.md.

Fleet mandate for CISO buyers

Guardian v4 is designed as a fleet-wide control plane, not a single-proxy filter:

  • Mandatory policy provenance — every YAML change is hash-chained, signed, and exportable to SIEM/auditors
  • Human-in-the-loop policy approval — NL drafts must pass simulation + explicit approval before apply
  • Cross-agent attack chain detection — session graphs span servers; alerts export as CEF for Splunk/Datadog
  • SPIFFE/mTLS identity — zero-trust composite scores include workload identity from SPIFFE SVIDs
  • Cloud observatory + reputation mesh — anonymized fleet telemetry and server reputation consensus via MCP Guardian Cloud
  • Insurance-ready risk reports — ALE quantification with underwriter PDF export for cyber insurance workflows

What problem does this solve?

Modern AI assistants (Claude, Cursor, Cline, and others) can connect to tools — read files, run commands, query databases, post to Slack, and more. Those connections often use a standard called MCP (Model Context Protocol).

That power is useful, but risky:

  • The AI might read files it should not see.
  • It might run shell commands or delete data by mistake or because of a malicious prompt.
  • Secrets can leak through tool arguments.
  • API costs can spike without you noticing.

MCP Guardian sits in the middle. Every tool request goes through Guardian first. Guardian checks your rules, blocks bad requests, logs what happened, and can show you a live dashboard — before anything reaches your real tools.

Your AI assistant

│ ▼ MCP Guardian ← reads your rules, blocks bad calls, keeps a log │ ▼ Your real tools (files, GitHub, database, …)


How it works (step by step)

  1. You install Guardian and point it at your existing MCP setup (or run mcp-guardian onboard to do this automatically).
  2. Guardian wraps your tool servers so the AI talks to Guardian instead of talking to them directly.
  3. When the AI tries to use a tool, Guardian receives the request first.
  4. Guardian compares the request to your policy (a simple rules file you control).
  5. If the request is allowed, Guardian forwards it to the real tool and returns the result.
  6. If the request breaks a rule, Guardian blocks it and tells the AI it was denied — the real tool never runs.
  7. Every allow and block is saved to a local database so you can review history and see charts on the dashboard.

You stay in control: Guardian does not silently change your rules unless you approve it (for example when reviewing Threat Lab suggestions).


Architecture

This section shows how MCP Guardian is wired together: what runs where, how a tool call flows through governance, and how optional Pro pipelines connect to the proxy.

In this section: System overview · Tool call path · Transports · Agentic AI · Dashboard · Pro pipelines · Learning loop

System overview

When you run `mcp-guardian start` or pnpm dashboard:proxy, one Node process typically hosts the policy proxy, the dashboard API, and (optionally) agentic services. All components share the same audit database (MCP_GUARDIAN_DB_PATH, default ~/.mcp-guardian/history.db).

flowchart TB

subgraph clients [AI clients] Cursor[Cursor / Cline / Claude] end

subgraph guardian [MCP Guardian process] Proxy[Proxy layer\nstdio HTTP SSE WS streamable] Policy[PolicyEngine\nYAML + hot reload] Agentic[Agentic container\noptional hooks] DashboardAPI[Dashboard REST + WebSocket] end

subgraph storage [Persistence] SQLite[(history.db)] SIEM[SIEM exporters\noptional] end

Upstream[Upstream MCP servers\nfilesystem GitHub etc]

Cursor --> Proxy Proxy --> Policy Proxy --> Agentic Policy --> Proxy Agentic --> Proxy Proxy --> Upstream Upstream --> Proxy Proxy --> SQLite Proxy --> SIEM DashboardAPI --> SQLite clients -.-> DashboardAPI

ComponentRoleMain code
Proxy layerIntercepts JSON-RPC; enforces policy on every tools/callsrc/proxy/
Policy engineEvaluates YAML rules, rate limits, RBAC, patternssrc/policy/
History DBStores allow/block audit, tokens, costsrc/database/history-db.ts
DashboardLocal UI + REST API over the same DBdeploy/dashboard-spa/, src/utils/dashboard-server.ts
AgenticSmart features (injection scan, policy gen, trust, etc.)src/agentic/

Enterprise deployments may add Redis (rate limits, DPoP, circuit-breaker sync) and PostgreSQL instead of SQLite — see ENTERPRISE_DEPLOYMENT.md.

Tool call path (tools/call)

Every dangerous decision happens before the real MCP server runs. If Guardian blocks a call, the upstream tool never receives it.

sequenceDiagram

participant Client as AI client participant Transport as Proxy transport participant PreGuard as Pre-forward guard participant Policy as PolicyEngine participant Semantic as Semantic gate participant Upstream as Upstream MCP participant Audit as Audit queue participant SIEM as SIEM log

Client->>Transport: tools/call JSON

只显示了开头部分;其余内容请在仓库中阅读