Lex
v1.0.2Episodic memory and architectural policy for AI agents.
Values you need
| Variable | What it is | |
|---|---|---|
LEX_WORKSPACE_ROOT | optional | Root directory for the workspace. Defaults to current working directory. |
LEX_MEMORY_DB | optional | Path to SQLite database file. Defaults to .smartergpt/lex/lex.db in workspace root. |
LEX_DEBUG | optional | 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.2Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: atlas_analyze, contradictions_scan, db_stats, frame_create, frame_get, frame_list, frame_search, frame_validate, ….
- 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