Skip to Content
Blocks

Coding agents

Get the settings

swb connect coding-agent --choose agent=codex

The command shows how to add SwB as a remote MCP server. Use OAuth when both SwB and the client support it. Use the pairing instructions when the command shows them.

ClientSetup
Claude Codeclaude mcp add
Codexconfig.toml
Gemini CLI and Qwen Codesettings.json
Gooseconfig.yaml
OpenCodeopencode.json
Cline and KiroTheir MCP settings
Other clientsStreamable HTTP with a pairing code

To use MCP Tasks with Capy, see MCP Tasks.

Claude Code channel

The channel sends messages from the claude-code mailbox to an open Claude Code session. Claude Code channels are a research preview.

Generate a random key of at least 24 characters. Save it as SWB_KEY_CHANNEL in the server's private .env file. Restart SwB to load the key. This key gives read access to the claude-code mailbox. Install Bun. Add the plugin in Claude Code.

/plugin marketplace add ZhehanZhang/SwB
/plugin install swb@swb

Enter your SwB base URL in SwB URL. Enter the value of SWB_KEY_CHANNEL in Channel key. Start Claude Code with the channel.

claude --dangerously-load-development-channels plugin:swb@swb

The channel starts with new messages on its first run. On later runs it resumes from its saved position. To answer through SwB, use reply from the separate MCP connection.

On this page