MCP server
Register the recovery server with detected agents:caveman tools mcp uninstall to remove registration. The direct server binary, caveman-mcp, communicates over standard input and output.
It exposes five tool classes:
MCP transport is local process I/O, and the host agent decides when tools can be called. Configure its tool permissions as narrowly as possible.
Installing via npx
For Claude Code, add the MCP server to your configuration:~/.caveman/bin. No Go toolchain or global Caveman install is required. To use an existing reviewed binary instead:
Cavemem
Cavemem stores durable project facts in SQLite and retrieves them with local BM25 text ranking. Main operations:Browser bridge
The browser bridge attaches to Chrome through Chrome DevTools Protocol. It captures an accessibility-tree representation, filters it by query, compresses it, and returns actionable element references.close; first use creates profile and CCR directories. Actions report settled:false until another focused snapshot proves state. Navigation permits http(s), about:blank, and bounded data:text/html but rejects local files and privileged schemes.
Output shrinker
The output shrinker parses large command and tool results, keeps high-signal structure, and stores full source in CCR. It is useful for compiler logs, test output, diffs, search results, and terminal transcripts.Tool-catalog shrinker
caveman-shrink specializes in MCP and OpenAI-style tool catalogs. It keeps tool names, parameters, enums, required fields, defaults, constants, and $ref targets while removing annotations and shortening long descriptions. Description reduction remains lossy and can change tool selection.
Local storage
Local proxy and tools commonly use these paths:./.caveman/config.json. Back up or delete these files only with awareness that recovery handles and learned observations may stop resolving, along with local memory.