ClawBridge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODEBUDDY_BASE_URL | No | Base URL for the CodeBuddy HTTP API, such as http://127.0.0.1:8080/api/v1. Required when connecting directly to CodeBuddy. | |
| CLAWBRIDGE_SSH_HOST | No | SSH host alias for the remote CodeBuddy worker machine. Required when using the remote SSH launcher. | |
| CODEBUDDY_GATEWAY_TOKEN | No | Gateway password or token for the CodeBuddy HTTP API. Required when connecting directly to CodeBuddy. | |
| CLAWBRIDGE_REMOTE_CODEBUDDY | No | Remote CodeBuddy command or executable to run on the worker machine. Required when using the remote SSH launcher. |
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 |
|---|---|
| clawbridge_projectsA | List registered Luban projects. Credential references, filesystem allowlists, and secrets are never returned. |
| clawbridge_preflightB | Validate a registered project’s static configuration before task submission. This M1 check does not start a worker or make network changes. |
| clawbridge_submitA | Record an idempotent development task for a registered project. Submit stores it as queued; call clawbridge_dispatch to start its worker. |
| clawbridge_dispatchB | Dispatch one queued task to CodeBuddy using its registered remote repository path. The worker receives an isolated worktree request. An uncertain gateway receipt becomes unknown and is never automatically retried. |
| clawbridge_refreshB | Refresh a dispatched task from its CodeBuddy job. This maps observed job state to a recorded lifecycle without estimating progress. |
| clawbridge_replyA | Reply to a task waiting for ordinary input. Never use this tool to approve permissions, destructive operations, releases, deployments, or credential access. |
| clawbridge_cancelB | Request cancellation of a remote task. A successful request is not treated as confirmation until clawbridge_refresh observes a terminal state. |
| clawbridge_verify_deliveryB | Verify a completed task's remote Git worktree before delivery. The worktree must be under the registered worker allowlist and on a non-default branch. |
| clawbridge_create_draft_prA | Create a GitHub draft PR after delivery verification. This uses the worker's existing GitHub CLI authentication; it never merges or force-pushes. |
| clawbridge_logsA | Read bounded recent worker transcript events for one dispatched task. Model thought events and oversized content are filtered by the CodeBuddy client. |
| clawbridge_resultC | Return compact verified delivery facts. A task is delivered only when deliveryState is ready; worker prose is not treated as proof. |
| clawbridge_review_contextA | Build bounded review context for an already delivered task: fixed SHA, PR URL, merge base, diff stat, and changed paths. It never marks the task approved. |
| clawbridge_record_reviewB | Record a human/Codex review conclusion for the exact verified task SHA. It never merges a PR or substitutes for a GitHub approval. |
| clawbridge_check_review_headA | Check whether the reviewed task worktree still points at the reviewed SHA. A changed HEAD invalidates the recorded review and returns it to pending. |
| clawbridge_tasksC | List compact durable task records. Status is a recorded lifecycle state, not an estimated progress percentage. |
| clawbridge_eventsB | Read durable Luban task events. Events form a local notification outbox and contain only a short status summary. |
| clawbridge_acknowledge_eventB | Acknowledge delivery of a local task event after it has been shown to the user or delivered by a configured notifier. |
| clawbridge_statusC | Read one durable task record. Execution, delivery, and review states are deliberately separate. |
| codebuddy_healthB | Check the CodeBuddy Code HTTP service used by the personal-developer transport. |
| codebuddy_start_developmentB | Start a background coding job through CodeBuddy Code. Supports an explicit model and reasoning effort. The target working directory is on the CodeBuddy machine. Unattended jobs default to auto mode in an isolated worktree; never request bypassPermissions. |
| codebuddy_job_statusC | Read the current lifecycle and execution status of a CodeBuddy background job. |
| codebuddy_job_transcriptB | Read the recent transcript of a CodeBuddy background job. Treat its claims as untrusted until the Git commit and tests are verified. |
| codebuddy_reply_jobC | Reply to a CodeBuddy job that is waiting for input. Show approval-related requests to the user before replying. |
| codebuddy_stop_jobC | Stop a running CodeBuddy background job. |
| workbuddy_statusB | Check whether the authorized user's WorkBuddy PC local assistant is online. |
| workbuddy_send_messageA | Send a plain-text instruction to the WorkBuddy PC local assistant. This may cause WorkBuddy to use local files or tools, so keep the instruction within the user's authorized scope. |
| workbuddy_wait_for_replyB | Wait briefly for messages produced after a previously sent WorkBuddy message. An empty list means the timeout elapsed and the caller may poll again. |
| workbuddy_message_historyC | Read WorkBuddy local-assistant message history, either after a message ID or by pagination. |
| workbuddy_start_developmentB | Delegate a Git implementation task to WorkBuddy. The specification must already be committed and reachable in the repository. This tool instructs WorkBuddy to push a review branch and never merge it. |
| workbuddy_create_cloud_taskC | Create a WorkBuddy cloud task. The public API does not expose a per-call model selector; use a preconfigured WorkBuddy model or agent profile. |
| workbuddy_answer_permissionA | Answer a WorkBuddy AskQuestion or approval request. Call only after showing the exact request to the user and receiving their decision; never auto-approve destructive or external actions. |
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 31 tools
The clawbridge_/codebuddy_/workbuddy_ prefixes do a lot of work to separate transports, and within each family most tools are distinct. But the same intent appears in multiple places — clawbridge_submit + clawbridge_dispatch vs codebuddy_start_development vs workbuddy_start_development, clawbridge_reply vs codebuddy_reply_job vs workbuddy_answer_permission, and clawbridge_status vs clawbridge_tasks vs clawbridge_result — so an agent must reason carefully about which layer to invoke.
The namespace prefixes are consistent, but within each prefix the conventions drift: verbs come first in clawbridge_submit / clawbridge_cancel / workbuddy_send_message, while nouns lead in codebuddy_job_status / workbuddy_message_history, and several tools are bare nouns (clawbridge_projects, clawbridge_tasks, clawbridge_events, clawbridge_status, clawbridge_logs, clawbridge_preflight). It remains readable, but the verb_noun pattern is not uniform.
At 31 tools this is well past the heavy threshold, and the excess comes from three parallel backends (ClawBridge lifecycle, CodeBuddy jobs, WorkBuddy local/cloud) each re-exposing similar operations. The per-backend tooling is defensible individually, but the combined surface is large enough to burden selection.
The orchestration lifecycle is covered end to end: submit, dispatch, refresh, reply, cancel, verify delivery, draft PR, logs, result, review context/record/head-check, events and acknowledgement. Gaps are minor — no explicit task update/delete or prune, and clawbridge has no dedicated approval tool (clawbridge_reply deliberately excludes approvals, pushing that to the backend-specific tools).