Skip to main content

LucidLayer MCP Server

The LucidLayer MCP (Model Context Protocol) server enables AI coding tools like Cursor, Claude Code, and Windsurf to interact directly with the LucidLayer API.

Installation

The MCP server is included in the SDK repository:
git clone https://github.com/raijinlabs/lucid-ai-sdk.git
cd lucid-ai-sdk/mcp
npm install

Configuration

Cursor

Add to your .cursor/mcp.json:
{
  "mcpServers": {
    "lucidlayer": {
      "command": "npx",
      "args": ["-y", "@raijinlabs/mcp-server"],
      "env": {
        "LUCID_API_KEY": "your-api-key",
        "LUCID_API_URL": "https://api.lucid.foundation"
      }
    }
  }
}

Claude Code

Add to your Claude Code MCP settings:
{
  "mcpServers": {
    "lucidlayer": {
      "command": "npx",
      "args": ["-y", "@raijinlabs/mcp-server"],
      "env": {
        "LUCID_API_KEY": "your-api-key"
      }
    }
  }
}

Available Tools

The MCP server exposes the following tools to AI assistants:
ToolDescription
list_passportsList and filter passports
create_passportCreate a new passport
run_inferenceExecute AI inference
chat_completionRun chat completions
verify_receiptVerify a cryptographic receipt
get_epochGet epoch details
check_healthCheck API health status