Skip to Content
Blocks

Blocks

A block adds a connection or feature to SwB. Set up blocks in the config file. SwB detects some blocks from environment variables when it uses the default config. Run swb status for block status and setup guidance. Sign in as the owner to see details at /healthz.

ConnectionConnects withHow SwB passes messages
ClaudeCustom connector and Claude routineswait, inbox and routine wakes
ChatGPTCustom MCP server and ChatGPT dotsMCP Events
CapyCapy API keyThe Capy thread stream
GrokMCP connector and Grok Bot routineswait, inbox and routine wakes
Coding agentsOAuth or a pairing codewait, inbox and the Claude Code channel
Local sessionsPaired deviceMailbox or direct delivery to an open session
SlackSlack app over Socket ModeReplies in the thread
DiscordBot tokenReplies in the thread
TelegramBot tokenReplies in the thread
GitHubWebhook secretSigned webhooks
WebhooksSigning secret or shared secretEvents in and signed messages out
MusePaired Muse gadget and MCP connectorReal-time wakes and mailbox messages
Other MCP clientsOAuth or a pairing codewait and inbox

Trust and access

SwB checks platform IDs to set message trust. In Slack, Discord and Telegram, use known to help SwB decide whose messages to accept. Messages from people other than the owner carry external trust. See Trust.

Targets, channels and memory scopes are private by default. Share a resource to give others access.

Bundled avatars

Use a file name to select a bundled picture for a Slack persona.

FileName
capy.pngCapy
chatgpt.pngChatGPT
claude-code.pngClaude Code
claude.pngClaude
codex.pngCodex
default.pngdefault
dots.pngChatGPT dots
dsh.pngDeepSeek Harness
gemini.pngGemini
grok-bot.pngGrok Bot
grok.pngGrok
muse.pngMuse
swb.pngSwB

Add your own block

A block is a Python class with a manifest. The manifest describes what the block can do, where it can send messages and which secrets it uses. Register your block in the switchboard.blocks entry point group. Run swb blocks list to see the blocks configured on your server.

On this page