context-guardian
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GUARDIAN_HOST | No | Interface the running Context Guardian proxy binds; the MCP server reads the proxy's `/guardian/stats` over this host. Leave this alone unless you know what you are doing. | 127.0.0.1 |
| GUARDIAN_PORT | No | Port the running Context Guardian proxy listens on; the MCP server reaches it at `GUARDIAN_HOST`:`GUARDIAN_PORT` for `guardian_status`. | 8786 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_proxy_statusB | Proxy up and compacting? Use list_spans, search_spans or read_span for archived text. One GET to /guardian/stats, 3 s. Returns stats. |
| list_digestsA | Skim: a line per span. Use search_spans for words, read_span to open, no network. Returns |
| list_spansA | Browse spans. Use search_spans for known text, read_span to open one. Local files, no network. Returns |
| search_spansA | Find words in archives, best match first. Use list_spans to browse, read_span to open a hit, no network. Returns |
| read_spanA | A span's messages, verbatim, or start..end. Use list_spans or search_spans first, no network. Returns |
| get_seal_statusA | Verify archive hash chains. Use list_spans for run ids, no network. Returns |
| get_context_statusA | Claude Code context window fullness. Use before big reads, no network. Returns state, used_tokens_est. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
The tools split cleanly into navigation (list_spans, search_spans, read_span), status (get_proxy_status, get_context_status, get_seal_status), and integrity (get_seal_status) roles, and descriptions cross-reference each other well. The one soft overlap is list_digests vs list_spans, which both enumerate spans in a run and could be confused without reading the descriptions closely.
Every name follows a strict verb_noun snake_case pattern (get_*, list_*, search_*, read_*), and the verbs accurately reflect the action. No camelCase or stylistic mixing.
Seven tools is well-scoped for a read-only context/archive inspection server, with each tool earning a distinct role (browse, search, read, three status checks, integrity verify). Nothing feels padded or missing at the count level.
The read path is fully covered: discover runs, browse spans, search text, read verbatim, and verify hash integrity plus proxy/context health. Minor gaps exist around lifecycle actions (no prune/delete/export of archives, no way to trigger compaction), but as an inspection surface it is largely complete.