Agent Setup
Per-agent configuration instructions for connecting BAP to your AI coding agent.Claude Code
Codex CLI
Codex Desktop
Add to~/.codex/config.toml:
Claude Desktop
Add toclaude_desktop_config.json:
On native Windows (not WSL), wrap the command with
cmd /c:Cursor
Add to your Cursor MCP settings (.cursor/mcp.json in your project or global config):
Windsurf
Add to your Windsurf MCP configuration:GitHub Copilot
Add to your VS Codesettings.json:
Gemini CLI
Generic MCP Client
Any MCP-compatible client can connect to BAP. The server uses stdio transport:- Command:
npx - Args:
["-y", "@browseragentprotocol/mcp"] - Transport: stdio
Common Flags
Add these to the args array as needed:
Example with multiple flags: