Lex
Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.
Documentation & Preview
{ "mcpServers": { "mcp-lex-e0977f63b09d97a78f9d": { "command": "npx", "args": [ "-y", "--package", "@smartergpt/lex-mcp@4.4.4", "lex-mcp" ], "env": { "LEX_WORKSPACE_ROOT": "${ENV_LEX_WORKSPACE_ROOT}", "LEX_STORE": "${ENV_LEX_STORE}", "LEX_DB_PATH": "${ENV_LEX_DB_PATH}", "LEX_MEMORY_DB": "${ENV_LEX_MEMORY_DB}", "LEX_DATABASE_URL": "${ENV_LEX_DATABASE_URL}", "LEX_POSTGRES_PASSWORD": "${ENV_LEX_POSTGRES_PASSWORD}", "LEX_POSTGRES_POOL_MAX": "${ENV_LEX_POSTGRES_POOL_MAX}", "LEX_DEBUG": "${ENV_LEX_DEBUG}" } } }, "setup": { "fields": [ { "id": "ENV_LEX_WORKSPACE_ROOT", "label": "LEX_WORKSPACE_ROOT", "description": "Project root directory for Lex runtime discovery. Defaults to current working directory.", "required": false, "secret": false, "default": "" }, { "id": "ENV_LEX_STORE", "label": "LEX_STORE", "description": "Frame-store backend: sqlite or postgres. Defaults to sqlite unless LEX_DATABASE_URL selects PostgreSQL.", "required": false, "secret": false, "default": "" }, { "id": "ENV_LEX_DB_PATH", "label": "LEX_DB_PATH", "description": "Path to SQLite database file. Defaults to .smartergpt/lex/memory.db under the project root.", "required": false, "secret": false, "default": "" }, { "id": "ENV_LEX_MEMORY_DB", "label": "LEX_MEMORY_DB", "description": "Alias for LEX_DB_PATH (backwards compatibility). Same behavior.", "required": false, "secret": false, "default": "" }, { "id": "ENV_LEX_DATABASE_URL", "label": "LEX_DATABASE_URL", "description": "PostgreSQL connection URL for the compatibility adapter. Treat as secret because it may contain credentials.", "required": false, "secret": true, "default": "" }, { "id": "ENV_LEX_POSTGRES_PASSWORD", "label": "LEX_POSTGRES_PASSWORD", "description": "PostgreSQL password supplied separately when LEX_DATABASE_URL omits one.", "required": false, "secret": true, "default": "" }, { "id": "ENV_LEX_POSTGRES_POOL_MAX", "label": "LEX_POSTGRES_POOL_MAX", "description": "Maximum PostgreSQL compatibility-adapter pool size. Defaults to 10.", "required": false, "secret": false, "default": "" }, { "id": "ENV_LEX_DEBUG", "label": "LEX_DEBUG", "description": "Set to any value to enable debug logging to stderr.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "dev.smartergpt/lex", "registryVersion": "4.4.4", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/dev.smartergpt%2Flex/versions/4.4.4", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@smartergpt/lex-mcp", "version": "4.4.4", "integrity": "sha512-IUnhQxzbhHGLkV2bJt3jJP78BJongGzDwc7u4pEVIRDmjMYs6hLMpAXdMcf2oNzpk9nYVPY9zGpGZfs7xsiddw==", "registryNameMatched": "dev.smartergpt/lex", "checkedAt": "2026-11-04T16:44:53.335Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }