Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

MCP Guardian

by rudraneel93version 2.3.21i★ 4iRuns on your computerRepository ↗
Registry nameio.github.rudraneel93/mcp-guardian

How to install

What it does

Security, cost, and health governance proxy for MCP infrastructure

  • Connects Runs on your computer
  • Account or key Needs ALERT_WEBHOOK_URL
  • Category Clinics & health

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity22/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score25/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install MCP Guardian. Follow https://mcp.popnx.com/i/rudraneel93-mcp-guardian.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a MCP Guardian key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Guardian for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "guardian": { "command": "npx", "args": [ "-y", "@mcp-guardian/server" ], "env": { "ALERT_WEBHOOK_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ALERT_WEBHOOK_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Guardian tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a MCP Guardian key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

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

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use MCP Guardian and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using MCP Guardian or shows a MCP Guardian tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_GUARDIAN_DB_PATH Path to SQLite history database · default ~/.mcp-guardian/history.db
  • METRICS_ENABLED Expose Prometheus metrics

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect MCP Guardian yet

MCP Guardian runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect MCP Guardian

  • You need a MCP Guardian key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a MCP Guardian key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a MCP Guardian key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a MCP Guardian key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Clinics & health that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a MCP Guardian key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Guardian for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user guardian --env ALERT_WEBHOOK_URL=your-value -- npx -y @mcp-guardian/server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ALERT_WEBHOOK_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Guardian tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a MCP Guardian key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

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

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see MCP Guardian listed as connected

  6. Try it

    Use MCP Guardian and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using MCP Guardian or shows a MCP Guardian tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_GUARDIAN_DB_PATH Path to SQLite history database · default ~/.mcp-guardian/history.db
  • METRICS_ENABLED Expose Prometheus metrics

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a MCP Guardian key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Guardian for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "guardian": { "command": "npx", "args": [ "-y", "@mcp-guardian/server" ], "env": { "ALERT_WEBHOOK_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ALERT_WEBHOOK_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Guardian tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a MCP Guardian key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the MCP Guardian settings, ALERT_WEBHOOK_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use MCP Guardian and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using MCP Guardian or shows a MCP Guardian tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_GUARDIAN_DB_PATH Path to SQLite history database · default ~/.mcp-guardian/history.db
  • METRICS_ENABLED Expose Prometheus metrics

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a MCP Guardian key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Guardian for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "guardian": { "type": "stdio", "command": "npx", "args": [ "-y", "@mcp-guardian/server" ], "env": { "ALERT_WEBHOOK_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ALERT_WEBHOOK_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Guardian tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a MCP Guardian key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the MCP Guardian settings, ALERT_WEBHOOK_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use MCP Guardian and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using MCP Guardian or shows a MCP Guardian tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MCP_GUARDIAN_DB_PATH Path to SQLite history database · default ~/.mcp-guardian/history.db
  • METRICS_ENABLED Expose Prometheus metrics

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use MCP Guardian💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

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"
      }
    }
  }
}

Values you fill in

  • MCP_GUARDIAN_DB_PATH env
    Path to SQLite history database
  • ALERT_WEBHOOK_URL secret required env
    Slack or Discord webhook for critical alerts
  • METRICS_ENABLED env
    Expose Prometheus metrics

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
673/wk
Connection
Runs on your computer
Latest versioni
2.3.21
Published to registryi
May 14, 2026
Code last changedi
Jun 8, 2026
Maker
rudraneel93
Packages
npm: @mcp-guardian/server
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

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

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account rudraneel93, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 5 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @mcp-guardian/server@2.3.21

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

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

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Clinics & healthi

  • More stars than 91% of the other 1190 servers in this category
  • Published to the registry more recently than 8% of the other 1190 servers in this category
  • Basic checks equal to or better than 99% of the other 1190 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MCP Guardian safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: ALERT_WEBHOOK_URL

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 5 months ago, and the latest version (2.3.21) reached the registry 6 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Medplum MCP, Codescene MCP Server, Marrow, WHOOP — MissingMCP, athletedata

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Medplum MCP

Securely access and manage FHIR healthcare data stored in Medplum.

by medplumWidely used★ 2.8KUpdated 4 months ago

Runs in the cloud✓ service owner · medplum.com

Codescene MCP Server

An MCP server that provides CodeScene Code Health analysis tools.

by codescene-ossGrowing↓ 3.8K/wk★ 85Updated 8 months ago

Runs on your computer✓ service owner · codescene.com

Marrow

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

by skeletonarmytechEarly↓ 62/wk★ 5Updated 28 days ago

Runs on your computer✓ skeletonarmy.tech
Compared with similar ones
This one
MCP Guardian
Medplum MCPCodescene MCP ServerMarrowWHOOP — MissingMCPathletedata
Runs whereInstalls on your computerRuns in the cloud, nothing to installInstalls on your computerInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoYes
Basic checks3/34/42/33/32/44/4
LicenseMITApache-2.0NOASSERTIONMITMITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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

Only the beginning is shown; read the rest in the repo