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.

Native integrations use the shared anonymous telemetry controls and do not send telemetry on a native-first run until a visible CLI telemetry notice has already been recorded.

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.

Native integrations use the shared anonymous telemetry controls and do not send telemetry on a native-first run until a visible CLI telemetry notice has already been recorded.

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.

caplets attach <url> is stdio-only. If you want one local HTTP runtime to own environment, Vault, Remote Login, reloads, and logs while still composing an upstream host, run:

Terminal window
caplets serve --transport http --upstream-url https://caplets.example.com/caplets

Then configure the MCP client with caplets attach <local-runtime-url>.