Skip to content
Zed

ContextGuard — AI Coding Token & Compaction Auditor for Zed

com.secondforeman/contextguard

Audit startup token burn, compile <5KB START.md boot cards, and cut context-compaction loops.

client:Zed transport:streamable-http tools:16

Install ContextGuard — AI Coding Token & Compaction Auditor in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "contextguard": {
      "url": "https://secondforeman.com/api/mcp"
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

What Zed can do once it is connected

ContextGuard — AI Coding Token & Compaction Auditor in other clients