claude-remote-channel
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLAUDE_REMOTE_HTTP_PORT | No | Port for the listener when the command line does not pass `--port`. Default is 47321. | 47321 |
| CLAUDE_REMOTE_ALLOW_SEND | No | Set to 1 to register `send_followup` and `queue_status`. Default is off. | 0 |
| CLAUDE_REMOTE_CLAUDE_BIN | No | Absolute path to the `claude` CLI. Used by `install` when resolving the CLI against the installing shell's PATH and written into the helper plist, because launchd starts the helper with a fixed PATH that usually lacks ~/.local/bin. | |
| CLAUDE_REMOTE_AGENTS_JSON | No | Set to 0 to turn off reading session status from `claude agents --json --all`. Default is enabled. | |
| CLAUDE_REMOTE_ALLOW_LAUNCH | No | Set to 1 to register `new_session`, `continue_session`, and `stop_session`. Default is off. | 0 |
| CLAUDE_REMOTE_ALLOW_DELIVER | No | Set to 1 to register `deliver_message` (experimental). Not set by `install`; only registered when you export it yourself for a foreground `http`. Default is off. | 0 |
| CLAUDE_REMOTE_CALL_TIMEOUT_MS | No | Deadline in milliseconds for each `tools/call`. Can be set from 200 to 60000. Default is 30000 (30 seconds). | 30000 |
| CLAUDE_REMOTE_CLOUDFLARED_BIN | No | Overrides the search for the `cloudflared` binary used by `install` to start the quick tunnel. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_sessionsB | List local Claude Code sessions, newest first: id, title, project, status (working, needs-you, idle, not-running, failed, stopped, unknown), branch, last activity, and the number of pending requests. limit defaults to 10. detail full returns every recorded field per row (cwd, run state, process, subagents, the continue command) and defaults to 50 rows. |
| get_sessionA | Read one session. phase is working, needs-input (answer what pending lists), done (reply is the final text), interrupted (the turn stopped with no final reply), failed, stopped, idle, or unknown. Also returns the title, the prompt, tool-call counts, pending requests, and git (branch, head, ahead, dirty, pushed) read at call time. To wait for a change, call wait_session. detail full adds the turn list, every step, the run record, and the session card. |
| continue_commandA | Return the shell command that continues this session in a terminal. The command is not run. warning is set when a live process owns the session; stop that process first. |
| rename_sessionC | Report that no documented route sets a session title through this server. This does not edit transcript files. |
| cleanup_deskB | Delete channel socket and token files that are not accepting connections, and delete expired attachment directories. Does not delete key files. |
| wait_sessionA | Block until a session stops working or timeoutMs passes (default and maximum: the server wait limit, 25000 unless configured). Returns the same view as get_session without the title and prompt. timedOut true means it is still working: call again. Use it after new_session, after send_followup returns started or handed, and after an answer. |
| list_pendingA | List what live sessions are waiting on, from the Claude Code hooks: permission requests, questions, and notifications, each with a requestId. An entry marked local has no hook waiting and can only be answered on the machine; the others take answer_permission or answer_question. Empty when the hooks are not installed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Most tools target plainly distinct actions (list, read, wait, continue, cleanup, list pending). The only mild overlap is get_session vs wait_session, which return the same view; the descriptions clarify that one blocks, but an agent must read carefully to pick correctly.
All seven names use consistent snake_case verb_noun form (list_sessions, get_session, wait_session, continue_command, rename_session, cleanup_desk, list_pending). The convention is predictable and readable throughout.
Seven tools is a reasonable, well-scoped count for a session-management server. However, rename_session is effectively a no-op that reports no route exists, so the functional surface is smaller than the count suggests.
Descriptions reference new_session, send_followup, answer_permission, and answer_question, but none of these tools exist in the set — so an agent can observe pending requests and sessions but cannot create, send, or answer. rename_session also can't actually rename, leaving core lifecycle operations missing.