Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLANKER_RUNS_ROOTNoArtifact and managed worktree roots.~/.cache/clanker/runs
CLANKER_WAIT_MAX_MSNoclanker_wait long-poll default and cap.55000
CLANKER_MCP_BASE_REPONoBase repo for managed worktrees.server cwd
CLANKER_SESSION_TTL_MSNoIdle session TTL before reaping.600000
CLANKER_WORKTREES_ROOTNoArtifact and managed worktree roots.~/.cache/clanker/worktrees
CLANKER_TURN_TIMEOUT_MSNoHard per-turn ceiling before the subprocess is killed and the turn becomes error.2700000
CLANKER_WAIT_DEFAULT_MSNoclanker_wait long-poll default and cap.30000
CLANKER_STALL_THRESHOLD_MSNoSilence before a running turn is flagged as suspected stalled.300000
CLANKER_HANDSHAKE_TIMEOUT_MSNoACP initialize + session/new timeout.30000
CLANKER_PROGRESS_EXPERIMENTALNo=1 enables MCP progress notifications.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
clanker_dispatch_startA

Spawn/handshake a Clanker and start a prompt turn, returning {id} immediately. Poll progress with clanker_wait(id). Setup errors (unknown backend, worktree creation) fail here; runtime errors surface via clanker_wait.

clanker_waitA

Wait up to timeout_ms (default 30000, cap 55000) for new events or completion. Returns {status, digest, plan_summary, last_event_age_ms, suspected_stall}; when status is terminal also {final_message, touched_files, plan_final}. digest is a human-readable summary of events since the previous wait — tool titles, file writes, plan check changes, key message sentences. Quiet mode (default on): only wakes before the deadline on a plan/status change, a tool error, a suspected stall, or a terminal state — trivial chatter (a tool_call starting, a file-location echo, a message-chunk fragment) does not cut the wait short, so callers no longer need to repoll tightly just because the run is reading/grepping. Pass quiet:false for the old any-event wake-up.

clanker_dispatchA

Convenience path = clanker_dispatch_start + loop clanker_wait until the turn is terminal. Returns the terminal WaitResult {status, final_message, touched_files, plan_final}. For long tasks prefer clanker_dispatch_start + clanker_wait so the caller controls polling and avoids MCP request timeouts.

clanker_promptA

Start a new prompt turn on an already-open session (persistent-session reuse). Returns {id}; poll with clanker_wait(id). Errors if the session was reaped/closed or a turn is already running.

clanker_statusA

Return {status, plan (checkbox counts + current step), tool_calls, last_event_age_ms, suspected_stall}. Does not wait. suspected_stall flags a running turn silent past the stall threshold.

clanker_cancelA

Send ACP session/cancel to the Clanker backend. Returns {id, status}. No-op if the session is idle.

clanker_listA

Overview of live Clankers: [{id, lane, state (working|idle|stalled), idle_ms, turns_count, plan_summary, suspected_stall}]. Reaped/closed sessions are omitted.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kckylechen1/ClankerHouse'

If you have feedback or need assistance with the MCP directory API, please join our Discord server