Skip to content
Cline

Lex for Cline

dev.smartergpt/lex

Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.

client:Cline transport:stdio runtime:npm

Install Lex in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

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

{
  "mcpServers": {
    "lex": {
      "command": "npx",
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "env": {
        "LEX_WORKSPACE_ROOT": "<LEX_WORKSPACE_ROOT>",
        "LEX_STORE": "<LEX_STORE>",
        "LEX_DB_PATH": "<LEX_DB_PATH>",
        "LEX_MEMORY_DB": "<LEX_MEMORY_DB>",
        "LEX_DATABASE_URL": "<LEX_DATABASE_URL>",
        "LEX_POSTGRES_PASSWORD": "<LEX_POSTGRES_PASSWORD>",
        "LEX_POSTGRES_POOL_MAX": "<LEX_POSTGRES_POOL_MAX>",
        "LEX_DEBUG": "<LEX_DEBUG>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

Lex in other clients