Skip to content

Cursor

Auto-wired

Cursor connects to Sigil via MCP (Model Context Protocol). On sigil init, Sigil writes its entry into ~/.cursor/mcp.json automatically.

  • Access to all 9 Sigil MCP tools from inside Cursor
  • The same memory brain as Claude Code, Kiro, and Codex CLI
  • Cursor calls search before answering questions about your project
Terminal window
sigil init

Sigil detects Cursor on your machine and writes its MCP config to ~/.cursor/mcp.json. No manual steps.

Verify with:

Terminal window
sigil doctor

Then open Cursor → Settings → MCP and confirm sigil appears in the server list.

If you need to add the config yourself:

Terminal window
sigil register --print

Copy the output JSON and add the inner sigil: {...} block to ~/.cursor/mcp.json:

{
"mcpServers": {
"sigil": {
"command": "/usr/local/bin/node",
"args": ["/path/to/sigil/dist/server.js", "--mcp"],
"env": { "DOTENV_CONFIG_PATH": "/Users/you/.sigil/.env" }
}
}
}

Cursor has access to all 9 Sigil tools. The most-used ones in Cursor sessions:

ToolWhat it does
searchHybrid search across all memory
search_entityLook up a person, project, or service by name
get_podGet context for the current project pod
ingestSave a document or URL to the knowledge base
statusKB statistics

Unlike Claude Code, Cursor doesn’t have hooks for automatic capture. Memory flows through the MCP tools when Cursor decides to call them. To nudge Cursor to use Sigil:

  • Add a note to .cursorrules or Cursor’s system prompt: “Before answering questions about architecture or preferences, call the Sigil search tool. When the user shares a decision or preference, call ingest to save it.”
  • Or call sigil remember "..." from your terminal whenever you share something worth keeping.