Skip to content
Vault Cortex
Install guide · Cursor

Install Vault Cortex for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "aliasunder-vault-cortex": {      "command": "docker",      "args": [        "run",        "-i",        "--rm",        "ghcr.io/aliasunder/vault-cortex:1.2.1"      ],      "env": {        "MCP_AUTH_TOKEN": "YOUR_MCP_AUTH_TOKEN",        "PUBLIC_URL": "http://localhost:8000",        "EMBEDDING_ENABLED": "true",        "RERANK_MODE": "blended",        "WINDOWS_MODE": "false",        "MEMORY_ENABLED": "true",        "FILE_TOOLS_ENABLED": "true",        "READONLY_MODE": "false",        "DISABLED_TOOLS": "",        "MEMORY_DIR": "About Me",        "DAILY_NOTES_FOLDER": "Daily Notes",        "DAILY_NOTES_FORMAT": "YYYY-MM-DD",        "TRUST_PROXY_HOPS": "0",        "TRUST_FORWARDED_HOPS": "0",        "TZ": "UTC",        "LOG_LEVEL": "info",        "LOG_DIR": "",        "LOG_RETENTION_DAYS": "90",        "LOG_MAX_DAILY_MB": "25",        "PROTECTED_PATHS": "",        "ORPHAN_EXCLUDE_FOLDERS": "",        "SERVICE_DOCUMENTATION_URL": "https://github.com/aliasunder/vault-cortex",        "MAX_FILE_BYTES": "52428800",        "MAX_IMAGE_OUTPUT_BYTES": "49152",        "MAX_PDF_RENDER_PAGES": "5"      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json