@helm-protocol/ttt-mcp
Reference implementation of draft-helmprotocol-tttps (IETF Experimental)
MCP Server for OpenTTT — Proof of Time tools for AI agents
The Problem: Workflow Amnesia
Every Claude Code long-horizon workflow hits the same wall: context compression erases action history.
Agent B has no memory of what Agent A decided. Agent A resumes after compression with no record of its own prior steps. Duplicate work. Lost decisions. State corruption.
ttt-mcp is the external causal chain that survives context compression.
Every workflow step is anchored to a cryptographic timestamp on an external server — physically separate from Claude's context window. When compression happens, agents call pot_query(eventId) for O(1) exact step recall and resume with full causal context.
Claude workflow → [context compressed] → agents call pot_query(eventId)
→ external server returns full timeline
→ workflow resumes, zero lost stateMathematical Guarantees
| Layer | Mechanism | Guarantee |
|---|---|---|
| Identity | SHA-3 eventId (256-bit) | Collision probability 2⁻²⁵⁶ — practically zero |
| Lookup | O(1) exact retrieval | No context consumed by history reconstruction |
| Ordering | TTTPS causal timestamps | Total order on events — tamper-proof sequence proof |
| Causal chain | prevEventId DAG | O(depth) traversal — depth ~100 for 1B-token workflows |
| Non-repudiation | Ed25519 signature | Cryptographic proof of who acted when |
| Resilience | Erasure-coded cryptographic shards | ≥97% recovery at BER=0.05, 99.88% at BER=0.02 (theoretical) |
| Persistence | Redis AOF + 90-day TTL | Server survives context compression and restarts |






