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

Bouncer Gates

作者:ajeermahmood版本 0.5.0i★ 0i在你的电脑上运行
注册名称io.github.ajeermahmood/bouncer-gates

安装方法

What it does

Stops secrets, cross-tenant queries and unsafe migrations before they merge.

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 网络安全

安装

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

通过 3/3 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

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

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

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

    SettingsDeveloperEdit Config

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

    {
      "mcpServers": {
        "bouncer-gates": {
          "command": "npx",
          "args": [
            "-y",
            "bouncer-gates",
            "--mcp",
            "your-value"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

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

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

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

ChatGPT 暂时无法连接 Bouncer Gates

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

你可以改用这些方式

A · 使用能连接 Bouncer Gates 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写
  • 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

B · 网络安全 类中能连接 ChatGPT 的其他服务器

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

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

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开终端

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

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user bouncer-gates -- npx -y bouncer-gates --mcp your-value
  4. 在 Claude Code 中输入 /mcp

    应能看到 Bouncer Gates 在列表中并显示已连接

  5. 试一试

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

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

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

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开 Cursor 的 MCP 设置文件

    ~/.cursor/mcp.json

    粘贴这些设置,填写空着的值并保存

    {
      "mcpServers": {
        "bouncer-gates": {
          "command": "npx",
          "args": [
            "-y",
            "bouncer-gates",
            "--mcp",
            "your-value"
          ]
        }
      }
    }
  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

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

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

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

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

需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开 VS Code 的 MCP 设置文件

    MCP: Open User Configuration

    粘贴这些设置,填写空着的值并保存

    {
      "servers": {
        "bouncer-gates": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "bouncer-gates",
            "--mcp",
            "your-value"
          ]
        }
      }
    }
  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

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

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

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

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

查看所有支持 MCP 的应用 →

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

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

安装在电脑上

Claude Code

claude mcp add --scope user bouncer-gates -- npx -y bouncer-gates --mcp your-value

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "bouncer-gates": {
      "command": "npx",
      "args": [
        "-y",
        "bouncer-gates",
        "--mcp",
        "your-value"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "bouncer-gates": {
      "command": "npx",
      "args": [
        "-y",
        "bouncer-gates",
        "--mcp",
        "your-value"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "bouncer-gates": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bouncer-gates",
        "--mcp",
        "your-value"
      ]
    }
  }
}

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

一览

每周下载量i
52/周
连接方式
在你的电脑上运行
最新版本i
0.5.0
发布到注册中心i
2026年9月20日
代码最后更新i
2026年10月21日
作者
ajeermahmood
软件包
npm: bouncer-gates
注册状态
活跃

哪些应用可以使用它

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

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

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

全部应用及其优缺点 →

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • ✓ 通过

    仍在维护

    代码最后更新于22天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

讨论

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

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

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

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“网络安全”中的其他服务器比较i

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

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

常见问题

Bouncer Gates 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

GitHub 仓库最后更新于22天前,最新版本(0.5.0)于2个月前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Robin: AI-Powered Dark Web OSINT, HOL Guard, SonarQube MCP Server

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

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

Robin: AI-Powered Dark Web OSINT

Dark web OSINT over Tor: search onion engines, scrape pages, report with your own model.

作者:apurvsinghgautam正在增长★ 796140天前更新

在你的电脑上运行

HOL Guard

Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.

作者:hashgraph-online广泛使用↓ 7083/周★ 10917天前更新

在你的电脑上运行

SonarQube MCP Server

Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.

作者:SonarSource正在增长★ 686昨天更新

在你的电脑上运行

作者的 README

打开 README

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

bouncer-gates

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.


Quick start

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:
  • uses: actions/checkout@v4 with: fetch-depth: 0 # needed so the migration check can see what is new
  • uses: ajeermahmood/bouncer-gates@v0 with: version: "0.5.0"

That is the whole setup. Everything below is detail.

In the editor, with the agent

--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.

What it checks

CheckCatchesExample of what it stops
secretsPasswords, 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
scopeQueries on multi-tenant tables that are not limited to one tenantprisma.order.findMany({ where: { status: "paid" } }) with no tenantId
moneyCurrency handled as floats, or * 100 assuming every currency has two decimalsMath.round(parseFloat(price) * 100)
migration-safetySQL migrations that break the version of the app still running during a deployALTER TABLE orders DROP COLUMN total while old code still reads it
doc-linksMarkdown 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.

When it finds something

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:

  1. Fix it. Usually the right answer.
  2. Explain why it is fine. Put a comment on the line, or the line above it, with a reason. The reason is required; a bare marker does nothing.
   // 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.

Configuration

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

  • exclude: files not to scan at all. The run prints how many files each pattern removed, every time, so the list cannot grow quietly.
  • scope.models / tables: the models and tables that belong to a tenant. --init fills these from any model in your Prisma schema that has a tenantId field.
  • scope.clients: plain client names, like prisma, whose queries should be checked for the tenant column. Use this when you do not have a scoped wrapper.
  • scope.rawAccessor: if you *do* have a scoped wrapper, this is the name of the raw client it hides, like db.raw. Reaching for it gets flagged.
  • doc-links.repoUrl: lets absolute links back to your own repository be checked as file paths too.

Without a scope section, the scope check reports skipped, not passed.

All the commands

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.

What it does not do

Honest limits, so nobody trusts it further than it deserves:

  • It matches shapes in text. It does not understand your code. A tenant filter built in a helper the check cannot see will be reported, and the comment above is the fix.
  • The money and scope checks only read JavaScript and TypeScript.
  • The migration check only reads .sql files. Migrations written in JavaScript or TypeScript are not checked.
  • Secrets split across lines, or with no recognisable prefix, are not found. For deep history scanning use gitleaks or trufflehog; this is the cheap guard on the door, not the audit.
  • A query inside prisma.$transaction(async (tx) => ...) uses a client the check cannot follow.

Every rule's blind spots are listed in the gate reference.

Words used here

  • Gate or check: one of the five things it looks for.
  • Finding: one problem it reports, with a file and line.
  • Blocking: a finding that makes the run exit 1. Warnings do not.
  • Baseline: the file that records findings you have chosen to live with for now, so only new ones block.
  • Acknowledge or excuse: the bouncer-gates-ok comment that says a specific line is fine, and why.

Telemetry

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.

More

Development

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

Licence

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.