Skip to content

Agent Integrations

Caplets works with Codex, Claude, OpenCode, Pi, and other MCP clients. Code Mode is the default surface for configured capabilities.

Run setup:

Terminal window
caplets setup

Manual local MCP config:

[mcp_servers.caplets]
command = "caplets"
args = ["serve"]

Run setup:

Terminal window
caplets setup

Manual setup uses Claude’s MCP command:

Terminal window
claude mcp add --transport stdio --scope user caplets -- caplets serve

OpenCode can use Caplets through MCP or the native OpenCode integration. Native mode exposes caplets__code_mode for Code Mode, plus progressive or direct tools only when configured.

Remote native usage:

Terminal window
CAPLETS_MODE=remote CAPLETS_REMOTE_URL=https://caplets.example.com/caplets opencode

Pi can use Caplets through MCP or the native Pi integration. Native mode uses the same local and remote selection rules as OpenCode.

Remote native usage:

Terminal window
CAPLETS_MODE=remote CAPLETS_REMOTE_URL=https://caplets.example.com/caplets pi

Use:

{
"mcpServers": {
"caplets": {
"command": "caplets",
"args": ["serve"]
}
}
}

For remote-backed MCP, use caplets attach instead of caplets serve.