Lex
dev.smartergpt/lex
v4.4.4Updated Oct 20, 2026stdio · npm
Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add lex -- npx -y @smartergpt/[email protected]Configuration
8 settings.
LEX_DATABASE_URLEnv var· optional· secretPostgreSQL connection URL for the compatibility adapter. Treat as secret because it may contain credentials.LEX_POSTGRES_PASSWORDEnv var· optional· secretPostgreSQL password supplied separately when LEX_DATABASE_URL omits one.LEX_WORKSPACE_ROOTEnv var· optionalProject root directory for Lex runtime discovery. Defaults to current working directory.LEX_STOREEnv var· optionalFrame-store backend: sqlite or postgres. Defaults to sqlite unless LEX_DATABASE_URL selects PostgreSQL.LEX_DB_PATHEnv var· optionalPath to SQLite database file. Defaults to .smartergpt/lex/memory.db under the project root.LEX_MEMORY_DBEnv var· optionalAlias for LEX_DB_PATH (backwards compatibility). Same behavior.
Show 2 moreShow fewer
LEX_POSTGRES_POOL_MAXEnv var· optionalMaximum PostgreSQL compatibility-adapter pool size. Defaults to 10.LEX_DEBUGEnv var· optionalSet to any value to enable debug logging to stderr.
Links
Listed in the official MCP Registry since Oct 20, 2026. Mirrored daily; last checked Nov 26, 2026.