Claude / Claude Code

Add the server to your MCP settings, then ask Claude to call get_startup_context at session start.

Example JSON ↗

Cursor

Open Cursor MCP settings, add a stdio server, and paste the configuration below.

Example JSON ↗

VS Code

Use VS Code’s MCP support or install the companion extension for a setup command and docs shortcut.

VS Code extension →

Cline

Use the MCP servers panel and configure uvx with the published package arguments.

Configuration →

Windsurf

Add the same stdio server to Windsurf’s MCP configuration and keep memory local to each repository.

Configuration →

Any MCP host

If your client supports stdio MCP servers, the core package should work without a vendor API key.

MCP documentation ↗
Paste once

Universal stdio configuration.

The same JSON works as the foundation for most MCP clients.

{
  "mcpServers": {
    "repo-memory": {
      "command": "uvx",
      "args": ["--from", "repo-memory-mcp-ai", "repo-memory-mcp"]
    }
  }
}
Recommended system instruction: “At the start of this coding session, call get_startup_context. Store durable corrections and repository rules with repo-memory tools. Never store secrets.”