MCP Safety Warden
MCP proxy adding security scanning, behavioral profiling, risk gating, and safe tool call execution.
作者による説明(英語の原文)
Stops secrets, cross-tenant queries and unsafe migrations before they merge.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"bouncer-gates": {
"command": "npx",
"args": [
"-y",
"bouncer-gates",
"--mcp",
"your-value"
]
}
}
}ターミナルでこれを実行します
claude mcp add bouncer-gates -- npx -y bouncer-gates --mcp your-valueこのサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"bouncer-gates": {
"command": "npx",
"args": [
"-y",
"bouncer-gates",
"--mcp",
"your-value"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
このサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"bouncer-gates": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bouncer-gates",
"--mcp",
"your-value"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント ajeermahmood で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.5.0)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:MCP Safety Warden, EchelonGraph CVE & Exposure, VMware NSX Security
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP proxy adding security scanning, behavioral profiling, risk gating, and safe tool call execution.
CVE, KEV, EPSS, SBOM and advisory lookups; per-CVE exposure from Shodan data (© Shodan). Keyless.
VMware NSX security: DFW policies and exclusions, groups, tags, Traceflow, IDPS — 22 MCP tools.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Five checks that stop the expensive mistakes before they merge, whether a person or an agent wrote the code.
Hardcoded secrets. Database queries that leak one customer's data to another. Float maths on money. Migrations that break the running app. Docs that link to files which no longer exist.
Agents write most new code now, and they make exactly these mistakes: a key pasted in to make a test pass, a query with no tenant filter because the prompt never mentioned tenants. bouncer-gates runs inside Claude Code and Cursor, so the agent hears about it in the same turn it wrote it, and again in CI so nothing gets through.
Try it on any repository in ten seconds:
npx bouncer-gates
Or paste some code into the playground and watch the same checks run on it.
npx bouncer-gates --init # writes bouncer-gates.config.json, reads your Prisma schema if you have one
npx bouncer-gates --init-agents # wires the same checks into Claude Code and Cursor for this repo npx bouncer-gates # runs every check and prints what it found
Add it to GitHub Actions:
steps:
That is the whole setup. Everything below is detail.
--init-agents commits two things into the repository: an MCP server the agent can call, and a hook that scans every file the agent writes. When a file has a blocking finding, the agent sees the file, the line, what is wrong and what to do instead, in the same turn:
x src/orders.ts:12 scope/unscoped-query
"order" is tenant-owned, but nothing in this query mentions "tenantId", so it returns rows from every tenant. fix: Add tenantId to the where clause, or go through a tenant-scoped client.
Any other MCP client can run npx -y bouncer-gates --mcp, and any post-edit hook can pipe its event to npx -y bouncer-gates --hook. How it works, and what it will not do.
| Check | Catches | Example of what it stops | |
|---|---|---|---|
| secrets | Passwords, API keys and private keys committed to the repo, plus a few risky shapes like `curl ... \ | sh` | const apiKey = "sk_live_...", a committed .env with a real password |
| scope | Queries on multi-tenant tables that are not limited to one tenant | prisma.order.findMany({ where: { status: "paid" } }) with no tenantId | |
| money | Currency handled as floats, or * 100 assuming every currency has two decimals | Math.round(parseFloat(price) * 100) | |
| migration-safety | SQL migrations that break the version of the app still running during a deploy | ALTER TABLE orders DROP COLUMN total while old code still reads it | |
| doc-links | Markdown links to files that do not exist | [setup](docs/setup.md) after the file moved |
Each check exists because of a real, expensive bug. None is a style opinion. The gate reference explains every rule with a bad example and a fixed one.
Every finding names the file, the line, what is wrong and what to do instead:
FAIL scope
x src/orders.ts:2 scope/unscoped-query "order" is tenant-owned, but nothing in this query mentions "tenantId", so it returns rows from every tenant. fix: Add tenantId to the where clause, or go through a tenant-scoped client.
You have three options, in this order:
// bouncer-gates-ok(scope): nightly revenue report spans every tenant by design
const all = await prisma.order.findMany();
3. **Record existing problems so only new ones block.** On a codebase that
already has findings, run this once and commit the file it writes:
npx bouncer-gates --baseline-write
Old findings stop blocking. Anything new still does. The file is readable, and the count in it should only ever go down.
bouncer-gates --init writes this for you. Edit it by hand any time.
{
"exclude": ["fixtures/**"], "scope": { "models": ["order", "customer"], "tables": ["orders", "customers"], "column": "tenantId", "clients": ["prisma"], "rawAccessor": "raw" }, "doc-links": { "repoUrl": "https://github.com/you/your-repo" } }
--init fills these from any model in your Prisma schema that has a tenantId field.prisma, whose queries should be checked for the tenant column. Use this when you do not have a scoped wrapper.db.raw. Reaching for it gets flagged.Without a scope section, the scope check reports skipped, not passed.
npx bouncer-gates # every check, whole repository
npx bouncer-gates --init # write a starter config npx bouncer-gates --init-agents # wire the gates into Claude Code and Cursor npx bouncer-gates --mcp # serve the gates over MCP, for any agentic editor npx bouncer-gates --hook # scan the file named by a hook event on stdin npx bouncer-gates --changed # only files this branch touched npx bouncer-gates --only scope,money # just some checks npx bouncer-gates --explain scope # what a check does and how to excuse a case npx bouncer-gates --baseline-write # record existing findings npx bouncer-gates --json # machine-readable output npx bouncer-gates --sarif # for the GitHub Security tab
Exit code 0 means clean, 1 means something blocked, 2 means the tool itself could not run (bad flag, broken config, not a git repository). CI treats 1 and 2 differently on purpose: a broken tool should not look like a codebase full of problems.
Honest limits, so nobody trusts it further than it deserves:
.sql files. Migrations written in JavaScript or TypeScript are not checked.prisma.$transaction(async (tx) => ...) uses a client the check cannot follow.Every rule's blind spots are listed in the gate reference.
1. Warnings do not.bouncer-gates-ok comment that says a specific line is fine, and why.One anonymous ping a day: a random id, the version, the runtime, the OS and the Node major. Nothing about your code, ever. BOUNCER_TELEMETRY=0 turns it off. Everything it sends.
npm install
npm test # unit tests npm run check # bouncer-gates on itself npm run bench -- ../some-repo # measure against a real codebase npm run dev # the playground site
MIT. Take any of it.
Built by Ajeer Mohammed. The rules come from the checks that gate a multi-tenant platform where most of the code is written by a coding agent, and where missing one meant a merchant seeing another merchant's orders. How that workflow fits together.