{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Guffawaffle/lex",
  "slug": "dev.smartergpt.lex",
  "title": "Lex",
  "summary": "Episodic memory and architectural policy for AI agents.",
  "version": "1.0.2",
  "serverKey": "lex",
  "pageUrl": "https://mcpkglabs.com/tool/dev.smartergpt.lex",
  "installMdUrl": "https://mcpkglabs.com/tool/dev.smartergpt.lex/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:28:36.997172478Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@smartergpt/lex-mcp@1.0.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add lex -- npx -y @smartergpt/lex-mcp@1.0.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"lex\": {\n      \"args\": [\n        \"-y\",\n        \"@smartergpt/lex-mcp@1.0.2\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"lex\": {\n      \"args\": [\n        \"-y\",\n        \"@smartergpt/lex-mcp@1.0.2\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"lex\": {\n      \"args\": [\n        \"-y\",\n        \"@smartergpt/lex-mcp@1.0.2\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.lex]\ncommand = \"npx\"\nargs = [\"-y\", \"@smartergpt/lex-mcp@1.0.2\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "LEX_WORKSPACE_ROOT",
      "required": false,
      "secret": false,
      "description": "Root directory for the workspace. Defaults to current working directory.",
      "help": "Root directory for the workspace. Defaults to current working directory.",
      "placeholder": "<LEX_WORKSPACE_ROOT>"
    },
    {
      "name": "LEX_MEMORY_DB",
      "required": false,
      "secret": false,
      "description": "Path to SQLite database file. Defaults to .smartergpt/lex/lex.db in workspace root.",
      "help": "Path to SQLite database file. Defaults to .smartergpt/lex/lex.db in workspace root.",
      "placeholder": "<LEX_MEMORY_DB>"
    },
    {
      "name": "LEX_DEBUG",
      "required": false,
      "secret": false,
      "description": "Set to any value to enable debug logging to stderr.",
      "help": "Set to any value to enable debug logging to stderr.",
      "placeholder": "<LEX_DEBUG>"
    }
  ],
  "expectedTools": [
    "atlas_analyze",
    "contradictions_scan",
    "db_stats",
    "frame_create",
    "frame_get",
    "frame_list",
    "frame_search",
    "frame_validate",
    "help",
    "hints_get",
    "policy_check",
    "system_introspect",
    "timeline_show",
    "turncost_calculate"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: atlas_analyze, contradictions_scan, db_stats, frame_create, frame_get, frame_list, frame_search, frame_validate, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:28:36.997172478Z"
}
