Skip to content

CLI Reference ​

Complete command reference for the CCCC CLI.

Global Commands ​

cccc ​

Start the daemon and the Web UI, reusing an existing daemon or starting one if needed.

bash
cccc                    # In a terminal: daemon + Web UI, with the terminal interface
cccc --headless         # Daemon + Web UI with plain log output (same as `cccc web`)
cccc --help             # Show help

In an interactive terminal, cccc opens a terminal interface for this launch. Its main screen is a status panel: the version, the actual Web address, the CCCC_HOME in use, whether this launch started the daemon, the Groups, and the native sessions this CCCC knows. Terminals that recognize URLs open the Web address directly, for example with Ctrl+click in Windows Terminal. Lists refresh every few seconds while they are on screen; a failed refresh keeps the last list and says how old it is.

The Groups table has NAME, STATUS and RUNNING columns. STATUS uses the Web UI's words: Running, Idle, Paused, Offline and Stopped. Stopped means the Group was stopped. Offline means it was not stopped or paused, but no agent is running: for example a new Group, or one whose agents exited or whose native sessions are closed. RUNNING counts the managed agents that are running and the native members ready to receive from that Group; it is neither the number of members nor the number of busy models. The native sessions table has APP, DIRECTORY, STATUS and ID columns; ID is the end of the session's source id, which /sessions shows in full.

On the regular screens, browsing and every action use the arrow keys, Enter, Tab and Esc, without letter shortcuts. Up/Down moves the highlight, Enter opens or runs the highlighted row, and Esc goes back one level or cancels a confirmation. On the main screen, Up/Down selects a Group, PgUp/PgDn pages through a list longer than the screen, and Enter opens its page. Tab on an empty command line, or typing /, opens the command menu: Up/Down moves through it, Tab completes the selected command without running it, Enter runs it, and Esc closes it. Left/Right, Home/End, Delete and Ctrl+A/E/U edit a typed command. Pasting only inserts text: in terminals with bracketed paste, pasted newlines do not run a command.

A Group's page shows its recorded state, how many tasks it has in each state, its agents and a link that opens it in the Web UI. Its rows are Tasks and the actions the Group's state allows: Start for a stopped Group (and Stop while it still reports running agents), Resume and Stop for a paused one, and Start and Stop otherwise. Each action asks for a confirmation that names the Group and what will happen. The confirmation starts on Cancel: choose the action with Up/Down and press Enter to run it, so pressing Enter twice changes nothing. Starting runs the enabled agents that are not running and lets enabled native members receive again, so Start also helps a running Group whose other agents have exited; stopping stops the managed agents and stops delivery to native members, whose apps stay open. Tasks lists the Group's tasks: Left/Right switches between the unfinished ones (Active, then Planned) and the Done ones, and PgUp/PgDn pages through a long list. Enter shows one task read-only, with its status, assignee, checklist, notes and outcome; tasks are edited in the Web UI.

When agents wait for your answer in a Group, the main screen shows the number after its name ([~3] is from an earlier read, [?] cannot be confirmed), and its page adds a Waiting for you row. That row lists the open requests and PgUp/PgDn pages through them; Enter opens one. In a request, Up/Down moves between its options, Other and Send answer, and Enter selects the highlighted row: nothing is chosen until you press Enter on it. Other opens an editor where Ctrl+J starts a new line and Enter or Esc returns. Send answer records the answer; when the result is uncertain, only the same answer can be retried. A note added to a chosen option is written in the Web UI; here an answer is an option or Other. Requests that cannot be answered here, such as ones from another Group, say so and are answered in the Web conversation.

Commands:

  • /groups opens the page of the Group selected on the main screen.
  • /sessions lists every native session this CCCC knows. Enter shows the selected session's details.
  • /setup connects Codex, Claude Code, Pi or OpenCode sessions; see Native sessions.
  • /help lists the commands and keys. It scrolls with Up/Down when the terminal is short.
  • /quit (or /exit, or Ctrl+C on any page) stops what this launch started: the Web server, and the daemon when this launch started it. A daemon that was already running keeps running. If stopping takes too long, a second Ctrl+C forces an exit (after /quit, press Ctrl+C twice). After the interface closes, the terminal shows what actually stopped.

The interface is English only and needs at least 60x16 characters; on a wider terminal it stays within 100 columns. In a smaller terminal it shows only a notice and accepts only Ctrl+C, so nothing can be confirmed unseen. It does not use the mouse; Ctrl+Z does not suspend it (use /quit), and Ctrl+L redraws the screen. NO_COLOR turns its colors off.

cccc runs headless, with plain log output and no terminal interface, when given --headless, when its input or output is not a terminal, or when CCCC_WEB_MODE / CCCC_WEB_READONLY select read-only Exhibit mode. Use --headless on servers, in containers, under a service manager and in scripts. It applies only to this launch, so cccc --headless with a subcommand is an error. Other options keep the interface: cccc --port 9000 in a terminal opens it on port 9000.

cccc doctor ​

Check your environment and diagnose issues.

bash
cccc doctor             # In a terminal: command, daemon, builds, agent CLIs, Web Model browser
cccc doctor --json      # The full JSON report, which is also what a pipe or redirect gets

Browser readiness uses the same Chrome/Edge discovery as the projected Web runtime on Linux, macOS, and Windows, and may additionally recognize system Chromium. On Linux, the JSON report includes projected-browser readiness: system Chrome/Edge, required Xvfb isolation, and the optional x11vnc VNC viewer. A missing x11vnc does not prevent browser isolation; CCCC falls back to its CDP screencast viewer.

The installation section reports the executable handling the current invocation, the first cccc selected by PATH, and all other cccc commands. A CONFLICT status means an older installation is ahead of the current launcher; move the current launcher's directory to the front of PATH and open a new terminal.

cccc runtime list ​

List available agent runtimes.

bash
cccc runtime list       # List supported runtimes and whether each is available
cccc runtime list --all # Also include the custom runtime

Local native sessions ​

cccc sessions enable|disable --runtime codex|claude|pi|opencode installs or removes the same-user native integration; /setup in the terminal interface runs the same enable step for the apps you pick. Use cccc sessions list [--include-offline], send --to <source_id> --text <text>, and create --sources <ids...> to collaborate without pairwise invitations.

Use cccc sessions join --group <group_id> --sources <ids...> to add sources to an existing Group, or leave --group <group_id> --from <source_id> to pause one source's access without stopping its native process. recovery --group <group_id> --actor <actor_id> reads local recovery instructions; adding --refresh explicitly rechecks Codex's existing receive channel. Neither form starts or resumes the native application or replays messages.

To pair and connect native sessions from another computer through the daemon's encrypted device-session gateway, use cccc sessions node:

bash
cccc sessions node host                                     # Open the device-session gateway and print one pairing ticket
cccc sessions node connect --runtime codex --ticket-stdin   # First-time pairing (omit --ticket-stdin to reconnect later)
cccc sessions node status                                   # Inspect paired devices without exposing keys or secrets
cccc sessions node stop                                     # Stop the gateway until the next pairing ticket (devices stay enrolled)
cccc sessions node revoke --node-id <id>                    # Revoke a paired device's hub access

See Native sessions for requirements, pairing, reload steps and lifecycle semantics.

Daemon Commands ​

cccc daemon ​

Manage the CCCC daemon.

bash
cccc daemon status              # Check daemon status
cccc daemon start               # Start daemon
cccc daemon stop                # Stop the daemon and every agent it manages
cccc daemon stop --keep-agents  # Linux and native arm64 macOS: stop only the daemon and keep agents running

Notes:

  • cccc daemon start refuses to spawn a duplicate daemon if the pid-file process is still alive but IPC is not responding.
  • Check cccc daemon status and cccc doctor before restarting an unresponsive daemon. cccc daemon stop stops its managed processes across Groups and reports which agents it stopped; after it completes, cccc daemon start starts the daemon again.
  • On Linux and Apple Silicon Macs running the native arm64 build, cccc daemon stop --keep-agents stops only the daemon for maintenance such as an update. The agents CCCC started keep running, and the next cccc daemon start reattaches them and names them. A daemon that cannot do this (an older version, an Intel macOS build, or a Windows build) refuses the option and stops nothing. See Keeping agents across a restart.

Membership and Reach Commands ​

Membership is optional. Local CCCC remains usable without an account. Reach is a Linux/macOS preview and requires an Admin Access Token in Settings > Web Access before publishing the local Web surface.

bash
cccc login             # Bind this machine through device authorization
cccc logout            # Retire this account device and clear its local identity
cccc reach install     # Install or upgrade the pinned cloudflared helper
cccc reach on          # Publish the authenticated Web surface
cccc reach status      # Show account, hostname, Web, and publication state
cccc reach off         # Stop publication without removing local identity

The token-bearing Web URL is shown here; keep it private. ChatGPT/Web Model connector credentials are agent-specific and are managed from that agent's Web Model settings. Windows helper installation is not included in this release candidate, so Reach is unavailable there.

cccc connect ​

Read cached same-account and Group connection directories without initiating a connection or starting agents.

bash
cccc connect                                       # List accessible connections for the current Group
cccc connect --instance <id> --target-group <gid>  # Inspect a specific remote target

cccc direct ​

Manage standalone Group connections without a CCCC account or an exposed Web UI.

bash
cccc direct listen --bind 0.0.0.0:8847 --address 192.168.1.10:8847  # Enable the encrypted collaboration listener
cccc direct stop                                                     # Stop the standalone collaboration listener
cccc direct invite <group_id>                                        # Create a single-use invitation valid for 30 minutes
cccc direct invite <group_id> --permanent                            # Create a reusable invitation with no expiry (each joining Group requires approval)
cccc direct join <group_id>                                          # Read an invitation from stdin (kept out of shell history)
cccc direct status <group_id>                                        # Show standalone connections for a Group
cccc direct approve <group_id> <connection_id>                       # Approve a pending standalone connection
cccc direct revoke <group_id> <connection_id>                        # Revoke a standalone invitation or approval
cccc direct remove <group_id> <connection_id>                        # Remove a standalone Group connection

See CCCC Connect for account-based and Direct connection workflows.

Group Commands ​

cccc attach ​

Create a working group with a project scope, or attach a scope to an explicitly selected group. The selected group becomes active for subsequent commands.

bash
cccc attach .           # Attach current directory as scope
cccc attach /path/to/project
cccc attach . --group <group_id> # Attach a scope to an existing Group

Without --group, each invocation creates a new Group. To select an existing Group without attaching a scope, use cccc groups and cccc use <group_id>. Relative paths in cccc attach and cccc group use resolve from the invoking terminal's directory, independently of where the daemon was started.

cccc groups ​

List all working groups.

bash
cccc groups             # List groups

cccc use ​

Switch to a different working group.

bash
cccc use <group_id>     # Switch to group

cccc group ​

Manage the current working group.

bash
cccc group create --title "my-group"         # Create group
cccc group show <group_id>                   # Show group metadata
cccc group update --group <id> --title "..." # Update title/topic
cccc group use <group_id> .                  # Set active scope
cccc group start --group <id>                # Start the Group's agents
cccc group stop --group <id>                 # Stop the Group's agents
cccc group set-state idle --group <id>       # Set state: active/idle/paused/stopped
cccc group detach-scope <scope_key> --group <id>
cccc group delete --group <id> --confirm <id>

set-state stopped is the same as group stop: it stops the Group's agents and delivery to its native members, never only its recorded state.

Agent Commands ​

cccc actor add ​

Add a new agent to the Group.

bash
cccc actor add <actor_id> --runtime claude
cccc actor add <actor_id> --runtime codex
cccc actor add <actor_id> --runtime web_model
cccc actor add <actor_id> --runtime custom --command "my-agent"

Options:

  • --runtime: Agent runtime (claude, codex, web_model, droid, etc.)
  • --command: Custom command (for custom runtime)
  • --title: Display title
  • --model-label: Optional model name the operator declares for people and external tools; CCCC does not check it or use it to launch the runtime

For a ChatGPT Web Model agent, create and start the agent from the target Group in the CCCC Web UI, then finish ChatGPT sign-in, MCP URL and chat binding in Settings → This instance → Web Models → ChatGPT.

cccc actor ​

Manage agents.

bash
cccc actor list                    # List actors
cccc actor add <actor_id> --scope /path/to/project
cccc actor start <actor_id>        # Start actor
cccc actor stop <actor_id>         # Stop actor
cccc actor restart <actor_id>      # Restart actor
cccc actor new-session <actor_id>  # Restart actor on a new session
cccc actor remove <actor_id>       # Remove actor
cccc actor update <actor_id> --scope /path/to/project
cccc actor update <actor_id> --model-label "gpt-5-codex"   # An empty value clears it
cccc actor secrets <actor_id> ...  # Manage runtime-only secrets
cccc actor avatar <actor_id> --initials Fe --color amber   # Initials on a palette color
cccc actor avatar <actor_id> --image ./fe.png              # PNG, JPEG, GIF, WebP, BMP, AVIF or ICO, at most 2 MiB
cccc actor avatar <actor_id> --reset                       # Back to the runtime icon

cccc actor avatar with no option shows the first two characters of the agent's title on a color chosen from its ID. The colors are slate, rust, amber, olive, teal, cobalt, plum and rose. Run from an agent's shell, it acts for that agent (CCCC_ACTOR_ID), which may change only its own avatar and use only an image inside its workspace. --by user is for the person operating this computer; like every local CLI call it is a declaration, not a credential.

Agent scope arguments are project paths at the CLI boundary. CCCC resolves them to the attached scope key before persistence.

Message Commands ​

cccc send ​

Send a message.

bash
cccc send "Hello"                  # No --to: default recipient policy applies (default: foreman)
cccc send "Hello" --to @foreman    # Send to foreman
cccc send "Hello" --to peer-1      # Send to a specific agent
cccc send "Announcement" --to @all # Explicit broadcast
cccc send "Please answer" --to peer-1 --mode request-reply
cccc send "For later" --to peer-1 --mode mail
cccc send "Review this scope" --path src/api

--mode accepts send, request-reply, or mail and defaults to send. request-reply requires concrete recipients; mail remains in Inbox without an immediate runtime prompt.

cccc tracked-send ​

Create a task and send one linked delegation message.

bash
cccc tracked-send "Please implement this and reply with validation evidence." \
  --to peer-1 \
  --title "Implement feature" \
  --outcome "Feature is implemented and validation evidence is reported"

The CLI also forwards --checklist, --assignee, --waiting-on, --handoff-to, --notes, --task-priority, and --idempotency-key to the daemon. The linked message always uses Send.

cccc reply ​

Reply to a message.

bash
cccc reply <event_id> "Reply text" --to peer-1
cccc reply <event_id> "Reply for later" --to peer-1 --mode mail

--mode accepts send or mail and defaults to send. Both modes close a matching Send + Reply obligation; Mail stores the reply without immediately prompting the recipient. Mail is agent-only. A send or reply may address user alone or one/more agents, but never both in the same message.

cccc deliver ​

Promote an existing Mail to Send, or retry a blocked/failed delivery, without creating another chat message.

bash
cccc deliver <event_id> --to peer-1
cccc deliver <event_id> --to peer-1 --force-ambiguous

--force-ambiguous is required when prior delivery may already have reached the runtime and therefore may produce a duplicate prompt.

cccc cancel-reply ​

Cancel every still-open reply obligation for an existing Send + Reply message.

bash
cccc cancel-reply <event_id>

cccc inbox ​

Read and consume an agent's unread Mail, advancing its read cursor. This changes the agent's unread state; it is not a read-only view of the agent's responses. Use cccc tail or Web chat to view recorded messages without consuming Mail.

bash
cccc inbox --actor-id <id>         # Read and consume the next unread Mail batch
cccc inbox --actor-id <id> --limit 10

cccc inbox-summary ​

Summarize the Mail still waiting for every agent in a Group, without consuming it.

bash
cccc inbox-summary --cutoff 2026-10-30T00:00:00Z   # Per agent: waiting Mail, how much was sent at or before the cutoff, the oldest's age when known

It does not move read cursors, start agents or send notices, and returns no message text. The user, the system and the Group's Foreman may use it (--by, default user); peers may not.

cccc tail ​

Tail the ledger.

bash
cccc tail                          # Show recent events
cccc tail -n 50                    # Show last 50 events
cccc tail -f                       # Follow new events

Search the ledger through the daemon's ledger_search operation. Like cccc tail, it does not consume Mail.

bash
cccc ledger search --by assistant                    # Events from one sender
cccc ledger search --by-any peer-1 --by-any peer-2   # From any of several senders
cccc ledger search --to user --kind chat             # Chat messages to one recipient
cccc ledger search -q release --since 2026-11-01T00:00:00Z
cccc ledger search --before <event_id> -n 20         # The page before an event

--kind accepts all (default, every event including internal ones), chat, notify, or messages (chat and notifications together). --since and --until are inclusive RFC 3339 times; --before and --after take event IDs and are exclusive. -q takes words separated by spaces; each must appear, ignoring case, in what a reader sees: a message's text, sender perspective, attachment names and linked task IDs and titles, or a notification's kind, target, title and message. Field names, event IDs, sender and recipient metadata and other unlisted fields do not match, and other events never match a non-empty -q. The daemon clamps --limit (default 50) to 1–200. Without --group, the current Group is searched.

IM Bridge Commands ​

cccc im ​

Manage IM Bridge.

bash
cccc im set telegram --token-env TELEGRAM_BOT_TOKEN
cccc im set slack --bot-token-env SLACK_BOT_TOKEN --app-token-env SLACK_APP_TOKEN
cccc im set discord --token-env DISCORD_BOT_TOKEN
cccc im set mattermost --mattermost-url https://mattermost.example.com --bot-token-env MATTERMOST_BOT_TOKEN
cccc im set feishu --app-key-env FEISHU_APP_ID --app-secret-env FEISHU_APP_SECRET
cccc im set dingtalk --app-key-env DINGTALK_APP_KEY --app-secret-env DINGTALK_APP_SECRET --robot-code-env DINGTALK_ROBOT_CODE

cccc im start                      # Start IM bridge
cccc im stop                       # Stop IM bridge
cccc im status                     # Check IM bridge status
cccc im logs                       # View IM bridge logs
cccc im logs -f                    # Follow IM bridge logs

Product Implementation ​

Rust-only 0.4.36 ​

cccc directly runs the native product executable. Product-engine selectors are retired: cccc python and cccc rust are no longer commands, and an old CCCC_HOME/implementation.json file is ignored rather than migrated or used as a runtime choice. Use ordinary commands directly:

bash
cccc                 # launch daemon + Web
cccc status          # show product, daemon, groups, agents and agent runtimes
cccc doctor          # inspect the native installation and environment
cccc daemon start    # explicit daemon lifecycle

The former ccccd executable is also retired. Scripts should use cccc daemon start|stop|status|run. Compatible daemon state filenames such as ccccd.addr.json remain unchanged so a 0.4.35 home can be adopted safely.

Setup Commands ​

cccc setup ​

Prepare or report the MCP integration for an agent runtime.

bash
cccc setup                         # List how each runtime gets CCCC's MCP; writes nothing
cccc setup --runtime claude        # Report CCCC-owned per-session MCP for Claude Code
cccc setup --runtime codex         # Register `cccc` for Codex sessions you start yourself
cccc setup --runtime copilot       # Register `cccc` for Copilot sessions you start yourself
cccc setup --runtime devin         # Auto-configure for Devin CLI
cccc setup --runtime kiro          # Auto-configure for Kiro CLI
cccc setup --runtime kimi          # Configure native Kimi Code MCP
cccc setup --runtime kimi --runtime-mode acp  # Report session-owned MCP
cccc setup --runtime auggie --runtime-mode acp # Report session-owned MCP
cccc setup --runtime kiro --runtime-mode acp   # Official V3; session-owned MCP
cccc setup --runtime hermes        # Report session-owned MCP (both modes)
cccc setup --runtime droid --runtime-mode acp  # Official ACP; session-owned MCP
cccc setup --runtime pi            # Report CCCC-owned RPC session MCP
cccc setup --runtime qoder         # Print the minimum and tested Qoder versions, MCP placement and login command (terminal; add --runtime-mode acp for ACP)
cccc setup --runtime vibe          # Print the minimum and tested Mistral Vibe versions, MCP placement and setup command (terminal; add --runtime-mode acp for ACP)
cccc setup --runtime kilo          # Report CCCC-owned per-session MCP for Kilo Code CLI
cccc setup --runtime deepseek      # Install or repair the pinned DeepSeek Harness
cccc setup --runtime antigravity   # Auto-configure for Antigravity CLI
cccc setup --runtime antigravity --runtime-mode acp --login  # One-time login for Antigravity ACP mode

Without --runtime, setup changes nothing. For each supported runtime it reports how members that CCCC starts get its MCP server (per_launch, user_config_entry or manual) and what cccc setup --runtime <name> would write, if anything. Claude Code, Codex, Copilot, OpenCode, Kilo, Pi, Hermes and DeepSeek members get the server in each launch. For Codex and Copilot, --runtime <name> adds a user entry only for sessions you start yourself. For the runtimes marked user_config_entry, member startup and --runtime <name> write one cccc MCP entry into that runtime's user configuration when no usable entry exists.

cccc update ​

Upgrade a website-installer-owned CCCC executable.

bash
cccc update                        # Upgrade from stable GitHub Releases
cccc update --check                # Query latest release, ownership, and platform requirements
cccc update --check --offline      # Inspect local details without a network request
cccc update --channel stable       # Force the stable GitHub Release channel
cccc update --channel rc           # Force the prerelease GitHub Release channel

Notes:

  • A stable build defaults to stable; a prerelease build defaults to rc.
  • --check is read-only for standalone, pip-owned, and unmanaged installations. It reports the exact executable, ownership, build platform requirements, current version, latest channel version, and the appropriate next step. It does not replace files, run pip, stop services, or grant standalone ownership.
  • A failed online check returns a nonzero exit code and retains local details with an explicit unknown update status. --offline requires --check, makes no network request, and labels the latest version as not checked. It does not imply that the installed version is current.
  • Website-installer installations reuse the GitHub Pages installer and preserve their current install directory.
  • Update discovery reads https://dweb-channel.github.io/4c/releases.json, a small static file published with the installers, rather than querying the GitHub Releases API on each user's machine. No GitHub token is required. Archives still come from GitHub Releases and retain the installer's checksum checks.
  • The Pages workflow selects only published releases with the complete installer asset set. Its versioned document has the shape {"schema_version":1,"repository":"dweb-channel/4c","channels":{"stable":"0.4.37","rc":null}}. rc contains the latest complete prerelease, or null when none exists. The installer default and stable are generated from the same release snapshot; a discovery/build failure must not replace the live Pages deployment.
  • Version selection follows release precedence, with CCCC's alphaN, betaN, and rcN suffixes compared numerically (for example, rc10 follows rc2). A same-version update is a no-op. Ordinary updates never install an older version, including when Pages is briefly stale. An explicit switch to the other channel, such as --channel stable from an RC build, may install an older release of that channel. Missing channels and invalid metadata fail before invoking the installer; there is no fallback to the rate-limited API.
  • Fork distributors using CCCC_GITHUB_REPOSITORY must also set CCCC_RELEASE_INDEX_URL to their HTTPS static index. The index's repository must match the configured repository. The standard installation needs neither setting; these values never carry credentials.
  • Older installed versions still use their old discovery code. Once a fixed release is published, rerun the original installation command to upgrade an installation whose old cccc update is blocked by API rate limits.
  • Source-tree and other executables without the standalone ownership marker are not updated by this command; they can still use --check. CCCC is no longer published to PyPI, so a copy installed with pip is uninstalled with pip and replaced by the website installer.
  • A standalone update restarts the daemon when it was running, while the old combined Web process remains stopped; the next bare cccc starts the updated Web process. Restarting the daemon this way also stops its agents. If CCCC cannot confirm that every agent stopped, the update is not installed, the previous version is kept and CCCC stays stopped; finish stopping CCCC with cccc daemon stop, following what it reports, then run the update again. On Linux and native arm64 macOS, to update while agents keep running, run cccc daemon stop --keep-agents, then cccc update, then cccc daemon start. When the daemon is not running, the update goes ahead only if no agent is left running, or if CCCC kept them this way and the new version can reach each of them; otherwise it says why.
  • On Windows, standalone self-update continues in a separate PowerShell process after the original executable exits so the binary can be replaced safely.

Web Commands ​

cccc web ​

Start the Web UI, reusing an existing daemon or starting one if needed, just like cccc --headless: never with the terminal interface, always with plain log output. Unlike cccc --headless, it accepts --exhibit (or --mode exhibit) for a read-only Web UI.

bash
cccc web                           # Start Web UI
cccc web --port 9000               # Custom port
cccc web --exhibit                 # Read-only exhibit mode
cccc web --mode exhibit            # Equivalent explicit mode

Only one Web process may run for a given CCCC_HOME. If another CCCC process for that home is active, an interactive launch displays its PID and asks whether to stop it before continuing. Non-interactive launches fail instead of stopping an existing process implicitly.

MCP Commands ​

cccc mcp ​

Start the MCP server (for agent integration).

bash
cccc mcp                           # Start MCP server (stdio mode)

Environment Variables ​

VariableDefaultDescription
CCCC_HOME~/.ccccRuntime home directory
CCCC_WEB_HOSTsaved setting, then 127.0.0.1Web UI bind address; --host overrides both
CCCC_WEB_PORTsaved setting, then 8848Web UI port; --port overrides both
CCCC_WEB_MODEnormalSet to exhibit for a read-only Web UI
CCCC_WEB_READONLYunsetTruthy value also enables read-only exhibit mode

CCCC_HOME, CCCC_GROUP_ID and CCCC_ACTOR_ID reserve two exact values each as an MCP placeholder that a runtime could not fill, such as ${env:CCCC_HOME} and $CCCC_HOME; either one counts as unset.

For cccc and cccc web, an existing live Web binding is reused when neither --host nor --port is supplied. Otherwise, each value resolves from its command option, saved Web Access setting, environment variable, then built-in default.

Released under the Apache-2.0 License.