Skip to content

Getting Started

Terminal window
pip install mcp-bouncer

Add to your Claude Code settings (settings.local.json or .claude/settings.json):

{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "mcp-bouncer-hook",
"timeout": 10
}
]
}
]
}
}

If you prefer not to install via pip, clone the repo and point the hook at the script directly:

Terminal window
git clone https://github.com/mcp-tool-shop-org/mcp-bouncer.git
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python /path/to/mcp-bouncer/hooks/on_session_start.py",
"timeout": 10
}
]
}
]
}
}

Next session, Bouncer runs automatically. You’ll see a summary line in stderr:

[mcp-bouncer] 3/4 healthy, quarantined: voice-soundboard

And a JSON result on stdout that Claude sees:

{
"status": "ok",
"message": "MCP Bouncer: 3/4 healthy, quarantined: voice-soundboard"
}