{"name":"dev.smartergpt/lex","slug":"smartergpt-lex","title":"Lex","description":"Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.","url":"https://mcp.market/server/smartergpt-lex","rating":null,"grade":"B","score":82,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":26,"stars":0,"forks":0,"downloads_week":135,"last_push_at":"2026-09-22T08:22:48.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/SmarterGPT/lex","website":null,"version":"4.4.4","remotes":[],"packages":[{"registryType":"npm","identifier":"@smartergpt/lex-mcp","version":"4.4.4","transport":{"type":"stdio"},"environmentVariables":[{"description":"Project root directory for Lex runtime discovery. Defaults to current working directory.","format":"string","name":"LEX_WORKSPACE_ROOT"},{"description":"Frame-store backend: sqlite or postgres. Defaults to sqlite unless LEX_DATABASE_URL selects PostgreSQL.","format":"string","name":"LEX_STORE"},{"description":"Path to SQLite database file. Defaults to .smartergpt/lex/memory.db under the project root.","format":"string","name":"LEX_DB_PATH"},{"description":"Alias for LEX_DB_PATH (backwards compatibility). Same behavior.","format":"string","name":"LEX_MEMORY_DB"},{"description":"PostgreSQL connection URL for the compatibility adapter. Treat as secret because it may contain credentials.","format":"string","isSecret":true,"name":"LEX_DATABASE_URL"},{"description":"PostgreSQL password supplied separately when LEX_DATABASE_URL omits one.","format":"string","isSecret":true,"name":"LEX_POSTGRES_PASSWORD"},{"description":"Maximum PostgreSQL compatibility-adapter pool size. Defaults to 10.","format":"string","name":"LEX_POSTGRES_POOL_MAX"},{"description":"Set to any value to enable debug logging to stderr.","format":"string","name":"LEX_DEBUG"}]}],"tools":[],"scan":null,"grade_history":[{"kind":"restore","fromGrade":"C","toGrade":"B","reason":"score 82","createdAt":"2026-09-19T00:28:18.409Z"}],"reviews":[]}