PluginBench
MCP Server
Active
MIT

Lex MCP Server

dev.smartergpt/lex

What is the Lex MCP server?

Episodic memory, Frames, Policy Neighborhoods, and policy enforcement for AI agents.

How to install Lex

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • LEX_WORKSPACE_ROOT

    Project root directory for Lex runtime discovery. Defaults to current working directory.

  • LEX_STORE

    Frame-store backend: sqlite or postgres. Defaults to sqlite unless LEX_DATABASE_URL selects PostgreSQL.

  • LEX_DB_PATH

    Path to SQLite database file. Defaults to .smartergpt/lex/memory.db under the project root.

  • LEX_MEMORY_DB

    Alias for LEX_DB_PATH (backwards compatibility). Same behavior.

  • LEX_DATABASE_URL
    secret

    PostgreSQL connection URL for the compatibility adapter. Treat as secret because it may contain credentials.

  • LEX_POSTGRES_PASSWORD
    secret

    PostgreSQL password supplied separately when LEX_DATABASE_URL omits one.

  • LEX_POSTGRES_POOL_MAX

    Maximum PostgreSQL compatibility-adapter pool size. Defaults to 10.

  • LEX_DEBUG

    Set to any value to enable debug logging to stderr.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "lex": {
      "command": "npx",
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "env": {
        "LEX_WORKSPACE_ROOT": "<YOUR_LEX_WORKSPACE_ROOT>",
        "LEX_STORE": "<YOUR_LEX_STORE>",
        "LEX_DB_PATH": "<YOUR_LEX_DB_PATH>",
        "LEX_MEMORY_DB": "<YOUR_LEX_MEMORY_DB>",
        "LEX_DATABASE_URL": "<YOUR_LEX_DATABASE_URL>",
        "LEX_POSTGRES_PASSWORD": "<YOUR_LEX_POSTGRES_PASSWORD>",
        "LEX_POSTGRES_POOL_MAX": "<YOUR_LEX_POSTGRES_POOL_MAX>",
        "LEX_DEBUG": "<YOUR_LEX_DEBUG>"
      }
    }
  }
}

Related MCP servers

AXAXF logo

AXF

Active

Agent eXoskeleton Framework control plane for workspace-native agent capabilities over MCP.

0
JavaScript
View repository →

Screenshot, PDF and HTML-to-image rendering API so Claude and Cursor can see any web page.

0
TypeScript
MIT
View repository →

Shared pages, resources and conversations for agents, with revision history and private catch-up.

SOSourced logo

Sourced

Maintained

Search and read source code from 800k+ PyPI and 3M+ npm packages directly in your coding agent.

25
Python
MIT
View repository →
MAMarsDawn logo

MarsDawn

Active

Export Markdown to PDF and open it in the MarsDawn app on macOS, with the marsdawn CLI.

0
JavaScript
Apache-2.0
View repository →

Publish pages your agent writes to a private, shareable URL, then read, comment on and update them.