Context MCP Server

Universal AI Memory - Sync context across Claude, VsCode, Cursor, Continue, Windsurf, Zed & more

Local serverstdio

What is the Context MCP server?

Context MCP server exists for a simple reason — assistants are far more useful when they can act on Context directly instead of describing what you should do. Universal AI Memory - Sync context across Claude, VsCode, Cursor, Continue, Windsurf, Zed & more.

What you get

Context Sync gives an agent a persistent memory layer for a codebase: - project identity and tech stack - active work, decisions, constraints, and caveats - structured file exploration - git-aware context - optional read-only Notion lookup

What the assistant can call

Once Context is connected, these are the calls the assistant has available:

  • set_project — remember
  • recall — read_file
  • search — structure
  • Cursor — open the tools list
  • Continue.dev — open the Continue panel
  • post-commit — pre-push
  • post-merge — post-checkout
  • status — context
  • hotspots — coupling
  • blame — analysis
  • Database — ~/.context-sync/data.db
  • Config — ~/.context-sync/config.json

Configuration and credentials

You will need one environment variable: CONTEXT_SYNC_DB_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Installation goes through your MCP client rather than a global install: point it at context-sync-setup on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Choosing this one

Among the knowledge and memory options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Context's toolset — set_project, recall, search and 11 more — is a fair guide to whether it matches your workflow. It is maintained by Intina47; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Context.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the context mcp server does with a few real requests.

Available tools

ToolWhat it does
set_projectremember
recallread_file
searchstructure
Cursoropen the tools list
Continue.devopen the Continue panel
post-commitpre-push
post-mergepost-checkout
statuscontext
hotspotscoupling
blameanalysis
Database~/.context-sync/data.db
Config~/.context-sync/config.json
CLIcontext-sync --db-path /absolute/path/to/db
WindsurfCodeium

How to install the Context MCP server

{
  "mcpServers": {
    "context-sync": {
      "command": "npx",
      "args": ["-y", "context-sync-setup"],
      "env": {
        "CONTEXT_SYNC_DB_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
CONTEXT_SYNC_DB_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Context to set project.
  • Use Context to recall.
  • Use Context to search.

Frequently asked questions

It connects Context to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (set_project, recall, search, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Context directly.