PluginBench
MCP Server
Active
MIT

Lex MCP Server

dev.smartergpt/lex

RepositoryRegistry
How to choose

What this kind of tool is for

  • Hand your agent a structured way to call a model or an inference API.
  • Compare outputs from two different providers on the same prompt.
  • Wire retrieval, embeddings, or generation into an existing agent workflow.

How to compare servers like this

Provider coverage:
Match the tool's supported providers and models to the ones your project uses.
Cost exposure:
Model-backed tools spend real API budget; check how usage and limits are configured.
Maintenance signal:
The provider landscape shifts weekly; prefer tools updated within the last few months.
Config surface:
Prefer tools whose environment-variable or config keys are documented plainly.

This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.

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
JSON config
{
  "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 →
STStackFiesta logo

StackFiesta

Maintained

Discover AI tools for game development — 100+ tools indexed by engine, task, and pricing.

2
JavaScript
MIT
View repository →
STStackResolve logo

Find, compare, and audit software for AI agents. Scored registry of tools and MCP servers.

0
TypeScript
MIT
View repository →

AI stock intelligence: prices, fundamentals, technicals, news, macro regime, and sector signals.

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.