# Bouncer

The Bouncer MCP server for Claude Code blocks sends to destinations first encountered in untrusted tool output. It sits between the client and existing MCP servers.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 6 repo stars
- Author: Ezed9
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Ezed9/mcp-bouncer/tree/HEAD/bouncer-mcp
- Updated: 2026-11-12
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/bouncer

## What it does

Bouncer acts as a proxy between an MCP client and its connected tool servers. It republishes their tools and checks each call against `bouncer-core` rules.

Python code makes the checks using a recorded schema, a policy, and a taint log. No language model takes part in enforcement. The install command runs the server through `uvx`.

The proxy blocks an agent from sending data to destinations first seen in untrusted tool output.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-bouncer -- uvx bouncer-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from bouncer-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add bouncer-mcp -- uvx bouncer-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from bouncer-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "bouncer-mcp": {
            "command": "uvx",
            "args": [
                "bouncer-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from bouncer-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "bouncer-mcp": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "bouncer-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from bouncer-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add bouncer-mcp uvx bouncer-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from bouncer-mcp <command>

## When to use it
- block sends to a destination first seen in untrusted tool output
- check MCP tool calls against a policy
- place enforcement between a client and MCP servers

## Example prompts
- Block the agent from sending data to destinations first found in untrusted tool output.
- Put a proxy between the client and my MCP servers.
- Check MCP tool calls against the policy and taint log.

## Similar
- [bouncer-feed-filter](https://affpapa.org/en/nevibecode/skills/bouncer-feed-filter.md) — skill · 490 installs
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
