Skip to content
Cursor

Lex for Cursor

io.github.guffawaffle/lex

Episodic memory and architectural policy for AI agents. Frames, Atlas, and Policy.

client:Cursor transport:stdio runtime:npm

Install Lex in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "lex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "env": {
        "LEX_WORKSPACE_ROOT": "<LEX_WORKSPACE_ROOT>",
        "LEX_MEMORY_DB": "<LEX_MEMORY_DB>",
        "LEX_DEBUG": "<LEX_DEBUG>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Lex in other clients