node9
Lets you control what AI agents may do by allowing, holding for approval or blocking each tool call.
225 stars on GitHubby node9-aiLicense Apache-2.0Updated 19 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add node9 -- npx -y node9-ai mcp-server
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Scan my machine and tell me what a compromised agent could reach.
Hold any command that deletes files until I approve it.
What it is
node9 sits in front of agents such as Claude Code, Codex, Gemini and Cursor, and in front of MCP servers. It checks each tool call on your machine against rules for files, secrets, commands and destinations. It then allows it, asks you, or blocks it, and records every decision.
What it can do
- Credential jail that blocks reads of ~/.ssh, ~/.aws and .env
- DLP that catches secrets and personal data in tool calls
- Human approval for risky actions
- Egress allowlist and protection against internal address access
- MCP tool pinning that holds a server whose tools changed
npx node9-ai postureandscanto audit a machine or repository
When to use
- βΊWhen you want an agent to ask before deleting or pushing anything
- βΊWhen you want secrets stopped before they leave your machine
- βΊWhen you want a record of what your agents did
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
protect-mcp-setupHelps your agent set up security and create signed logs for tool calls. Useful for projects needing cryptographic auditing or access control.securing-github-actions-workflowsHardens GitHub Actions workflows against attacks. Protects secrets and restricts permissions to prevent security risks.carefulHelps your agent stop and check before running destructive commands, such as deleting files or forcing a git push.Frequently asked questions
Is it open source?
The website describes an open-source CLI. The readme text I was given does not show the license.
Do I need an account?
No for local use. The site says approvals work in the terminal and scans need no account.
Which agents does it govern?
The site lists Claude Code, Codex CLI, Copilot CLI, Gemini CLI, Antigravity, Hermes, OpenCode and Pi, plus Cursor, Windsurf, VS Code and Claude Desktop for MCP tools.
Is there a free plan?
The site shows a Free plan at $0 per month for one person on their own machine.
Where do approvals happen?
In the terminal on your own, or in Slack or on a phone with a team workspace.
Does scanning send my data away?
The site says the machine scan runs locally and nothing leaves the machine.
If it does not work
- βΊInstall Node.js and run npm install -g node9-ai again if the command is not found.
- βΊRun npx node9-ai posture to check what is protected.
- βΊUse node9 explain to see why a rule fired.
5 new skills a week. 1 minute to read.