What it is
ContextForge is a local-only MCP server. Agents call it instead of dumping raw tool output into context. It prunes grep, file reads, and test runs. It also serves stack-aware templates and stores memory cards.
Nothing leaves the machine. No cloud, no API keys, no telemetry.
The trust guard
Pruning never rewrites. It only omits lines, or adds marked annotations. Before a pruned result ships, three checks run:
- Every surviving non-annotation line must appear verbatim, in order, in the raw output.
- If the pruned output is not smaller, the raw output ships.
- If any check fails, the raw output ships and the miss is logged.
Every cut is reversible. If verification fails, you get the original, not a guess.
What sits next to it
Templates are pulled, customized against the project, and saved as artifacts so the next session starts from the version that already fits. Cards are local markdown notes with tags and optional scope. Session handoffs and failed approaches have their own tools.
AgiRook expects cf on PATH and continues without it if the sidecar is missing.
One sentence
The project index and the written-down memory. Decisions persist. The job does not start over.