Lex

v1.0.2
io.github.Guffawaffle/lex Checked 4 hours ago Published 11 months ago

Episodic memory and architectural policy for AI agents.

Values you need

VariableWhat it is
LEX_WORKSPACE_ROOToptional Root directory for the workspace. Defaults to current working directory.
LEX_MEMORY_DBoptional Path to SQLite database file. Defaults to .smartergpt/lex/lex.db in workspace root.
LEX_DEBUGoptional Set to any value to enable debug logging to stderr.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add lex -- npx -y @smartergpt/lex-mcp@1.0.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "lex": {
      "args": [
        "-y",
        "@smartergpt/lex-mcp@1.0.2"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "lex": {
      "args": [
        "-y",
        "@smartergpt/lex-mcp@1.0.2"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "lex": {
      "args": [
        "-y",
        "@smartergpt/lex-mcp@1.0.2"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.lex]
command = "npx"
args = ["-y", "@smartergpt/lex-mcp@1.0.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: atlas_analyze, contradictions_scan, db_stats, frame_create, frame_get, frame_list, frame_search, frame_validate, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json