Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONTEXT_KEEPER_PROJECTNoPath to the project directory (optional, server resolves automatically if omitted).
CONTEXT_KEEPER_REMOTE_URLNoURL of the remote mirror endpoint (optional, e.g. https://context-keeper-remote.<acct>.workers.dev/mcp/<AUTH_TOKEN>).
CONTEXT_KEEPER_REMOTE_TIMEOUTNoOptional per-request timeout in seconds for remote mirror (default 5).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
record_entryA

Unified write tool: record a decision, constraint, or pipeline. Required fields by kind (validated server-side): decision needs summary/problem/why_chosen; constraint needs rule/reason; pipeline needs name/purpose/steps.

get_contextB

Retrieve relevant project context ranked by relevance within a token budget. Pass an id to fetch a single entry at full fidelity.

query_entriesA

Structured field filter — exact AND-combined predicates, NOT relevance search. Use when you know the field values (e.g. absolute constraints scoped to 'hooks/'). Stable ID order, no ranking; empty is a real answer. Includes superseded/deprecated unless you filter status.

get_project_summaryA

The single orienting call for conversation start: counts by kind and status, active constraints (compact), recent decisions, the full id list, and the human-readable summary — all in one response.

update_entryA

Update an existing decision, pipeline, or constraint by ID. Refreshes verified_at timestamp automatically.

deprecate_entryB

Mark an entry as deprecated. For decisions, optionally link to the superseding decision.

prune_staleA

Find entries not verified in N days. Returns them for review — does not delete. Call periodically to keep context fresh.

get_compaction_reportA

Check if the last compaction lost or modified any context entries. Surface discrepancies to the user before proceeding.

verify_qualityC

Scan entries for quality issues (legacy schema, thin reasoning, missing tags, isolated entries) and return them for enrichment via update_entry.

export_markdownB

Regenerate DECISIONS.md from the decisions store — a derived, read-only projection; overwrites the file whole.

reload_constraintsA

Re-surface the project's constraints only (not the full store) when a long session has buried the ones injected at start. Same block as session start.

export_snapshotA

Write the whole store to a compressed, committable snapshot at .context-keeper/memory.json.gz (next to the project) and add a .gitattributes merge=ours guard. For sharing project memory with a team via git. Committing it is opt-in. Non-destructive to the working store.

import_snapshotA

Import the committed .context-keeper/memory.json.gz snapshot into the working store. Non-destructive: a store that already has entries is left untouched. Runs automatically on first use when the store is empty.

mirrorA

Sync entries with the remote store. op='pull' merges remote entries into local (newest wins); op='backfill' pushes all local entries to remote (upsert). No-op if remote unconfigured.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jarmstrong158/context-keeper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server