# MCP Output Firewall

> MCP Output Firewall is an open-source MCP server. Three-layer firewall for MCP: content, egress and action policy. Proxy or server. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/tangfei7777-cell/mcp-output-firewall
- **MCP Registry name:** io.github.tangfei7777-cell/mcp-output-firewall
- **Listing updated:** 2026-11-13

## About

Three-layer firewall for MCP: content, egress and action policy. Proxy or server.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-output-firewall -- npx -y mcp-output-firewall
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-output-firewall": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-output-firewall"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-output-firewall": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-output-firewall"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-output-firewall": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-output-firewall"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-output-firewall": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-output-firewall"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-output-firewall": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-output-firewall"
      ]
    }
  }
}
```

## FAQ

### Is MCP Output Firewall free?

Yes. MCP Output Firewall is open source, so you can use and self-host it for free.

### How do I add MCP Output Firewall to Claude Code?

Run this command in your terminal: claude mcp add mcp-output-firewall -- npx -y mcp-output-firewall

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/mcp-output-firewall
