Context Keeper (Remote) MCP Server

Self-hosted Cloudflare Worker remote backend for context-keeper (D1, streamable-HTTP).

Local serverstdio

What is the Context Keeper (Remote) MCP Server?

Self-hosted Cloudflare Worker remote backend for context-keeper (D1, streamable-HTTP).

What it actually does

A remote MCP server on Cloudflare Workers that exposes context-keeper's rationale store (decisions, pipelines, constraints) over Streamable HTTP. It works as a claude.ai custom connector, including on mobile, so your project's decisions and constraints are available from any Claude session — no PC left running, no tunnel.

  • Worker, not tunnel — — no "PC must be on" dependency
  • D1, not KV — — row-level writes and WHERE queries; two writers (desktop +
  • Stateless handler, no Durable Objects — — the tools are stateless RPCs against
  • Secret-path auth — — claude.ai custom connectors don't reliably send custom
  • Self-migrating — — the Worker creates its own D1 schema at runtime, so a

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
configRead or write config: op='get' reads a key, op='set' writes it (value required). Use key default_project (global scope, no project) to pick the project used when a call omits project.
record_entryUnified write: record a decision, constraint, or pipeline. Required field depends on kind — decision needs summary, constraint needs rule, pipeline needs name.
record_decision**Deprecated** alias for record_entry(kind='decision'): summary, problem, why_chosen, what_we_tried, tradeoffs, tags.
record_constraint**Deprecated** alias for record_entry(kind='constraint'): a rule that must hold — rule, reason, tags.
record_pipeline**Deprecated** alias for record_entry(kind='pipeline'): a reusable process — name, purpose, steps (extra fields kept verbatim).
get_contextRelevance-ranked retrieval for a query (keyword scoring; excludes deprecated unless include_deprecated).
query_entriesStructured filters: id, kind, tags (all must match), status (active/deprecated/all), free text, and limit.
get_project_summaryOne-call orientation: entry counts by kind and status, the ids present, the active constraints (compact), and the most recent decisions.
list_projectsThe org registry: every project with entries, plus per-project active counts (decisions/constraints/pipelines), active/deprecated totals, and last-updated time. Enumerates the whole org in one call — discover exact, case
update_entryMerge patch fields into an entry's payload; optionally change status.
deprecate_entryMark deprecated, optionally linking superseded_by.
reload_constraintsCompact list of the active constraints.
prune_staleDelete old deprecated entries (**dry run by default**; pass dry_run=false).
verify_qualityFlag entries missing rationale-bearing fields.

How to install the Context Keeper (Remote) MCP Server

{
  "mcpServers": {
    "context-keeper-remote": {
      "command": "npx",
      "args": ["-y", "npm"],
      "env": {
        "AUTH_TOKEN": "your-value",
        "CLOUDFLARE_API_TOKEN": "your-value",
        "CLOUDFLARE_ACCOUNT_ID": "your-value",
        "WORKER_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
AUTH_TOKENCredential the server authenticates with.Yes
CLOUDFLARE_API_TOKENCredential the server authenticates with.Yes
CLOUDFLARE_ACCOUNT_IDConfiguration value read at startup.Optional
WORKER_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Context Keeper (Remote) to config.”
  • “Use Context Keeper (Remote) to record entry.”
  • “Use Context Keeper (Remote) to record decision.”

Frequently asked questions

Self-hosted Cloudflare Worker remote backend for context-keeper (D1, streamable-HTTP). Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.