Clanker
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLANKER_RUNS_ROOT | No | Artifact and managed worktree roots. | ~/.cache/clanker/runs |
| CLANKER_WAIT_MAX_MS | No | clanker_wait long-poll default and cap. | 55000 |
| CLANKER_MCP_BASE_REPO | No | Base repo for managed worktrees. | server cwd |
| CLANKER_SESSION_TTL_MS | No | Idle session TTL before reaping. | 600000 |
| CLANKER_WORKTREES_ROOT | No | Artifact and managed worktree roots. | ~/.cache/clanker/worktrees |
| CLANKER_TURN_TIMEOUT_MS | No | Hard per-turn ceiling before the subprocess is killed and the turn becomes error. | 2700000 |
| CLANKER_WAIT_DEFAULT_MS | No | clanker_wait long-poll default and cap. | 30000 |
| CLANKER_STALL_THRESHOLD_MS | No | Silence before a running turn is flagged as suspected stalled. | 300000 |
| CLANKER_HANDSHAKE_TIMEOUT_MS | No | ACP initialize + session/new timeout. | 30000 |
| CLANKER_PROGRESS_EXPERIMENTAL | No | =1 enables MCP progress notifications. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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