Skip to main content
Glama
README.md
# `@rel-time/mcp-server` v2.6.3 — Official Rel-Time Agent Memory & Configuration Sentinel MCP Server

Official Model Context Protocol (MCP) server for **[Rel-Time](https://rel-time.com)** — monitor your AI agent's memory and configuration and get alerted the instant anything changes across **Claude Desktop & Claude Code**, **Gemini CLI & Google Antigravity**, **ChatGPT & OpenAI Codex**, **Cursor**, **Qwen Code**, **Kimi Code**, **OpenClaw**, and **Grok**:

1. **Arm 24/7 Rel-Time Watches (`reltime_watch`) — Watcher & Chronicler Dual-Pulse:**
   - **Pulse 01 (`<2ms` Breach Pulse — Watcher):** Kernel-level watcher detects any unauthorized 1-byte modification or deletion locally, fires an OS alert + Live HTML Breach Report, and anchors an immutable **Crime Scene Receipt** to Bitcoin before an intruder can clear the shell history.
   - **Pulse 02 (`60s` Heartbeat Pulse):** Streams zero-knowledge liveness heartbeats to the Read-Only Web Telemetry Portal (`/dashboard`). If a node is powered off, firewalled, or killed (`>150s` silent), the server independently escalates **`NODE DARK`**.
   - **1-Click Multi-Agent Discovery (`action: "discover"` / `"arm_batch"`):** Scans local Claude Code & Desktop, Gemini CLI & Antigravity (`brain/`, `knowledge/`), OpenAI Codex, Cursor, Qwen Code, Kimi Code, OpenClaw, Grok Build, Windsurf, and Cline/Roo/Aider constitutions (`CLAUDE.md`, `SOUL.md`, `AGENTS.md`, `settings.json`, `mcp_config.json`, `.mcp.json`, `.env`) and memory streams in `<80ms`, sealing entire folders in `<150ms` (`1` unified State-Spine credit).
   - **Chronicler Close-of-Day Sealing & Biometric Snooze:** Guards active dated/session logs (`YYYY-MM-DD`, `.jsonl`, `.log`) with Prefix Append-Guard during the workday and locks them forever at Close-of-Day (`1` hash). Evolving memories (`MEMORY.md`, `GEMINI.md`) seal **1 daily checkpoint** at Close-of-Day + save 14-day rollback copies in `~/.reltime/snapshots/` (`action: "restore_snapshot"`). Active edit sessions support Touch-ID-gated **`action: "snooze"`** (`15m`, `1h`, `4h`, or `end_of_day`) and **`action: "resume"`**.
2. **Run 0-Credit Recursive Forensic Directory Audits (`reltime_audit_trail`):** Cross-references any local file or directory bit-for-bit against your Bitcoin Timechain ledger, Hardware Passkey (`signer_public_key`) attestations, and VDF `T_index` sequence, opening a standalone Dark/Light HTML Forensic Audit Report (`0` Hash Credits used).
3. **100% Zero-Knowledge Local Hashing (`reltime_anchor_file`, `reltime_anchor_folder`):** File contents never leave your machine — only 32-byte SHA-256 digests are transmitted.
4. **Hardware Passkey Attribution (`reltime_link_passkey`):** Bind TouchID, FaceID, or YubiKey via `https://rel-time.com/mcp-passkey` so anchored digests mathematically prove human/device authorship (`SHA256(File_Hash + Passkey_PubKey)`).
5. **Zero-Account Provisioning & Top-Ups (`reltime_provision_agent_key`):** Self-provision **Agent Sentinel** (`sentinel` `$39/mo · 10 Armed Watches + 250 Hashes/mo`, expandable once via `watch_11` `+$39/mo / +11 Watches` up to a `21`-Watch cap) or **Sovereign Command** (`enterprise` `$399/mo · 64 Armed Watches + 5,000 Priority Hashes/mo`), or inject **Zero-Rotation Hash Top-Ups** (`credits_250` `$25 / +250 Hashes`, `standard` `$50 / +500 Hashes`) via **Bitcoin Lightning ⚡**, **USDC (`x402`)**, or **Stripe Card 💳**.

---

## Quick Setup (10 Seconds · Zero Environment Variables)

Add the following to your `.mcp.json`, `claude_desktop_config.json`, `mcp_config.json`, or `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "rel-time": {
      "command": "npx",
      "args": ["-y", "@rel-time/mcp-server@latest"]
    }
  }
}
```

Then ask your agent in plain English:
> *"Scan my local AI agents and arm Rel-Time Watches on their configs and memory."*

Once claimed, your `rel_key_...` bearer key is saved automatically to `~/.reltime/api_key.json` (`0600` permissions) — no IDE restart needed.

---

## All 11 Included MCP Tools (100% Unlocked Across All Active Keys)

| Tool Name | Credit Cost | Capabilities & Outputs |
| :--- | :---: | :--- |
| `reltime_watch` | `1 Credit / Seal` (`0` for `discover`, `status`, `snooze`) | **24/7 Agent Memory & Config Guard (`discover \| arm \| arm_batch \| status \| snooze \| resume \| seal_now \| restore_snapshot \| resolve \| disarm`):** Auto-discovers local agents in `<80ms`, seals folders in `<150ms` (`1` credit), runs `<2ms` kernel tripwires (**Watcher** `vault_lock` or **Chronicler** Close-of-Day `auto_seal`), saves 14-day memory rollback snapshots, and anchors Bitcoin Crime Scene Receipts on breach. |
| `reltime_audit_trail` | `0 Credits · Read-Only` | **Forensic Directory & Ledger Audit:** Fetches `/v1/account/history`, verifies any local file or folder bit-for-bit (`verify_local_path`), filters by Hardware Passkey signer, and opens a standalone Dark/Light HTML Forensic Audit Report (`.html` + optional `.csv`). |
| `reltime_anchor_folder` | `1 Credit / New File` | **Bulk Zero-Knowledge Folder Baseline (10 to 5,000+ files):** Hashes local folders 100% on-device, supports `biometric: true` Passkey signing, skips already-sealed files, and writes clean proofs into `_reltime_proofs/` + `reltime-batch-manifest.json`. |
| `reltime_anchor_file` | `1 Credit / File` | **Single-File Zero-Knowledge Seal:** Hashes locally (0 bytes uploaded), supports `biometric: true` Passkey signing, anchors to Bitcoin, and outputs the Stamped Copy (`.pdf`/`.png`), 4-Plate Sovereign Certificate (`.html`), 64-Ray Sun-Stamp (`.svg`), and Doomsday Proof (`.json`). |
| `reltime_anchor_hash` | `1 Credit / Digest` | **Raw Digest / Agent State Sequencer:** Anchors any pre-computed 64-char SHA-256 hex digest with unified Forward-Secure State Spine (`S_i`) chaining and VDF `T_index` temporal ordering. |
| `reltime_link_passkey` | `0 Credits · Local` | **Hardware Passkey Co-Signing Bridge:** Opens `https://rel-time.com/mcp-passkey` to bind TouchID, FaceID, or YubiKey once to `~/.reltime/passkey.json`. |
| `reltime_stamp_file` | `0 Credits · Local` | **Local Visual Sun-Stamp Overlay:** Stamps the `+14°` 64-ray Sun-Stamp onto the bottom-right corner of any local PDF or Image 100% offline/locally. |
| `reltime_check_proof` | `0 Credits · Public` | **Bitcoin & Merkle Verification:** Queries `GET /v1/proof/{hash}` for Bitcoin Block Height, TXID, UTC Time, and Merkle path, and exports the 4-Plate Certificate HTML on demand. |
| `reltime_get_sun_stamp` | `0 Credits · Public` | **Deterministic 64-Ray SVG:** Downloads `GET /v1/stamp/{hash}` and returns embeddable Markdown/HTML snippets. |
| `reltime_account_status` | `0 Credits · Read-Only` | **Telemetry & Credit Balance:** Queries `GET /v1/account` for remaining Hash Credits, active Watch slots (`active_watches_count / max_watches`), and subscription status. |
| `reltime_provision_agent_key` | `Stripe / ⚡ / USDC` | **Instant Key Provisioning & Top-Ups:** Provisions Agent Sentinel (`$39/mo`), `+11` Sentinel Watches (`watch_11` `$39/mo` · `21` cap), Sovereign Command (`$399/mo`), or one-time Hash Top-Ups (`+250` `$25` / `+500` `$50`) directly in chat. |