Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOCAL_OPENCLAW_TOKENNoOptional token for a direct-token target such as local-openclaw when configured with tokenEnvVar.
OPENCLAW_HANDOFF_CLINoOptional path to the OpenClaw CLI if openclaw is not on PATH (e.g. /usr/local/bin/openclaw).
OPENCLAW_HANDOFF_URLNoURL of the OpenClaw Gateway (e.g. https://gateway.example). Used with zero-config environment-variable setup.
AGENT_BRIDGE_DATA_DIRNoOptional directory for bridge data. Defaults to $HOME/.agent-bridge-mcp.
OPENCLAW_HANDOFF_AGENTNoAgent identifier on the OpenClaw Gateway (e.g. main). Used with zero-config environment-variable setup.
AGENT_BRIDGE_CONFIG_PATHNoPath to a multi-target JSON config file. Alternatively, pass the same path via the --config CLI option.
OPENCLAW_HANDOFF_PROJECTNoProject identifier for the handoff (e.g. example-project). Used with zero-config environment-variable setup.
OPENCLAW_HANDOFF_TARGET_IDNoOptional target ID for the provisioned client profile (e.g. robo).
OPENCLAW_HANDOFF_CLOUDFLAREDNoOptional path to cloudflared for edge-cloudflare Gateways (e.g. /usr/local/bin/cloudflared).

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

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
bridge_preflightB

Checks the configured target (OpenClaw Gateway, browser chat, A2A Agent Card, local Codex app-server, or ACP agent) and optional rival PR warnings. Inspect targetHealthy/authReady (and browserReady for browser targets or agentCard for A2A targets).

bridge_handoff_startB

Stores the handoff before sending to an OpenClaw Gateway, browser chat, A2A endpoint, Codex app-server, or ACP agent. envelope.publisherOwner defaults to remote_gated (or configured defaultPublisherOwner) unless overridden. Gateway/Codex/ACP targets support optional isolated worktreeName. Observes up to waitBudgetMs and returns orchestratorDirective separating reported claims from observed Git/PR facts.

bridge_handoff_attachA

Reconnects to an existing handoffId after waitBudgetMs expiry, network interruption, or process restart without spawning a duplicate run or duplicate PR.

bridge_handoff_continueC

Sends counter-evidence, updated pinned Git coordinates (updatedSourceCommitSha, updatedSourceRemoteRef, updatedLocalRepoPath), or Stage-2 authorize_publish approval into the same remote session (single-flight serialized).

bridge_verify_gitC

Fetches a candidate Git ref into an isolated bare mirror without checkout or hooks, verifying pinnedBaseCommitSha ancestry, expectedTreeSha, and lockedPaths since the pinned source commit (or base when no source is supplied).

bridge_handoff_abortA

Cancels a Gateway run, A2A task, Codex turn, or ACP prompt by its active ID, or closes an unsent turn. For submitted browser turns (or local abandonment), localOnly=true closes local tracking without stopping the remote session.

bridge_handoff_reconcileA

Closes the latest turn of a handoff stuck in uncertain as failed, so the same handoff and remote session can continue. Attaches first; refuses publish turns, handoffs with a publication record, and update-PR handoffs whose pull request moved. Requires the operator's reason (what was checked on the target). Unlike abort, the handoff stays open.

Prompts

Interactive templates invoked by user choice

NameDescription
autonomous-handoffBinds the local primary agent as goal owner across OpenClaw Gateway, browser, A2A, Codex, or ACP agent handoffs so intermediate objections or missing-proof requests are resolved autonomously with local evidence instead of relayed to the human.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 7 tools

Disambiguation4/5

The handoff lifecycle stages (start, attach, continue, abort, reconcile) are conceptually adjacent, but the descriptions sharply delineate them: attach is reconnect-only, continue injects new evidence/approval, abort cancels, reconcile closes an uncertain turn. preflight and verify_git are clearly separate read-only checks. Minor residual risk is an agent picking attach vs. continue when re-entering an existing handoff.

Naming Consistency4/5

All names are snake_case with a uniform `bridge_` prefix, and the handoff tools share a coherent `bridge_handoff_<verb>` grouping. The two outliers, `bridge_preflight` (verb-only) and `bridge_verify_git` (verb_noun with domain suffix), are readable but break the otherwise tight pattern.

Tool Count5/5

Seven tools is well-scoped for a bridge/handoff orchestration server; each tool maps to a distinct lifecycle stage or verification step with no filler. Nothing appears redundant or missing at the count level.

Completeness3/5

The lifecycle is well covered (preflight, start, attach, continue, abort, reconcile) plus Git verification, but there is no read-only status/list operation: an agent cannot enumerate handoffs or inspect a handoff's state without invoking attach, which has reconnect side effects. A plain `get_handoff`/`list_handoffs` would close the most visible gap.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues