# node9 [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/node9-ai/node9-proxy  
**GitHub Stars:** 226  
**npm Downloads (last month):** 19705  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/node9

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

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "node9": {
    "command": "npx",
    "args": ["-y","@node9/proxy"]
  }
}
```

## Documentation

## What node9 does

node9 is an access-control layer for AI agents and MCP servers. It evaluates tool calls before they run and assigns one of three outcomes: allow, hold for approval, or block. Held actions do not execute while waiting for a decision; if no approval arrives, they remain blocked. Allowed and blocked activity is written to an audit record.

The default credential jail covers paths such as `~/.ssh`, `~/.aws`, `.env` files, and private keys across tools rather than only shell commands. Other built-in protections cover destructive Git operations, SQL statements without a `WHERE` clause, `curl | bash`, and unauthorized `sudo`. A loop breaker, MCP tool pinning, secrets and PII controls, and optional network egress protection are also part of the security model.

## How it works

node9 runs in the agent's tool-call path. Shell commands are parsed as an abstract syntax tree, so disguising a sensitive read with command substitution or encoding does not avoid the relevant rule. When a policy blocks an action, the agent receives an explanation and instructions not to retry or bypass the rule.

Network egress protection is enabled separately with `node9 egress protect` and applies to shell commands. With egress protection disabled, its default state, a command that sends a file directly to the network is not treated as a file read. The local enforcement mode works offline and does not require an account.

node9 can also expose its own status, posture score, audit record, and policy through MCP. Agents can use that interface to explain a security decision from within the conversation.

## Setup and configuration

Install the command-line package with Homebrew on macOS or Linux, or install `node9-ai` globally with npm. Node.js 22 or newer is required.

```bash
brew tap node9-ai/node9 && brew install node9
npm install -g node9-ai
```

Run `node9` in a project to start the interactive setup. The setup flow can configure local protection, recommended shields, DLP/PII checks, optional network review, and the background service. Use `node9 setup` to revisit the configuration or `node9 setup <target>` for one agent. For noninteractive scripts, `node9 init --recommended` avoids setup questions and telemetry opt-in.

To connect the machine to a shared workspace, run `node9 login`. This enables centralized policy, shared records, and approvals from the dashboard or Slack; it does not add enforcement. `node9 logout` disconnects the workspace while local enforcement continues.

As an MCP server, register the stdio command below with an MCP client:

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

The MCP server requires no API key. Telemetry can be disabled for scans with `NODE9_NO_TELEMETRY=1`.

## Tools and capabilities

- Gate agent and MCP tool calls before execution.
- Allow, block, or hold actions for human approval.
- Protect SSH credentials, cloud credentials, `.env` files, and private keys.
- Detect sensitive shell operations through AST parsing.
- Apply rules to destructive Git, SQL, shell, and `sudo` actions.
- Expose status, posture, policy, audit data, and decision explanations over MCP.
- Score machine posture from 0 to 100 with `node9 posture`.
- Review previous agent sessions with `node9 scan`.

## Limitations and notes

The egress shield is separate from the default credential protections and covers shell commands only. Local protection can operate without dashboard login, while workspace features require connecting the machine with `node9 login`. The MCP interface uses stdio and is registered as `io.github.node9-ai/node9` in the official MCP Registry.

_Full upstream README: https://allmcps.com/mcp/node9/readme_

