Set up an agent
One banish init command wires banish into your agent. Pick yours below. If you
are hitting Claude Code usage limits too fast,
this is the fix.
Claude Code
This registers a PreToolUse hook so Bash commands are routed through banish automatically. banish only auto-approves commands your existing permission rules already allow; state-changing commands still prompt you.
Cursor
Any MCP agent
For any agent that speaks the Model Context Protocol, register banish as an MCP server:
Under the hood this points your agent at banish serve, which exposes every
verb in your extensions as an MCP tool over stdio. See
MCP server for what that gives you.
For step-by-step setup in a specific agent, see the integration guides for Gemini CLI, OpenAI Codex, Windsurf, Cline, and GitHub Copilot.
What init writes
banish init is idempotent and only touches the config for the agent you name.
Re-run it any time to repair the wiring. Each command prints exactly what it
created, so you can see what changed.
Prefer to wire things by hand? banish init mcp writes a .mcp.json in the
current directory with the MCP server config
({"banish": {"command": "banish", "args": ["serve"]}}) - inspect it or move
it into your agent's settings yourself.