CCR Arm
nucleus_ccr_armOne-shot convenience: resolve canonical inbox + arm long-poll subscription.
Per PR #2 (CCR server-side auto-arm) — IDE-agnostic relay-arrival arming.
This is the RECOMMENDED entry point for SessionStart auto-arming across all MCP clients (Claude Code, Antigravity, Cursor, Windsurf, etc.). Equivalent to: 1. resolve_canonical_inbox_name(role) → canonical inbox name 2. nucleus_relay_subscribe(inbox_filter=, timeout_seconds=...)
Why this exists vs nucleus_relay_subscribe + inbox_filter: nucleus_relay_subscribe + inbox_filter requires the caller to KNOW the canonical inbox name for their role. nucleus_ccr_arm hides that step. Agent just calls nucleus_ccr_arm() with no args; server detects role from CC_SESSION_ROLE / NUCLEUS_SESSION_ROLE env OR detect_session_role().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | explicit role override (e.g., "antigravity", "cc_tb"). If omitted, server detects via env vars / registry ancestry / provider heuristics (per detect_session_role). | |
| timeout_seconds | No | max subscription duration (60..1800, default 270 under FastMCP context-cache TTL). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||