lucairn-mcp-server

v1.2.9
io.github.Declade/lucairn-mcp-server Checked 4 days ago Published 4 months ago

Pseudonymizes PII before your LLM and returns a cryptographically signed receipt per response.

Values you need

VariableWhat it is
LUCAIRN_API_KEYrequired secret Lucairn gateway API key (lcr_live_*). Issued at https://lucairn.eu/account/keys. Free tier requires BYOK upstream LLM keys (ANTHROPIC_API_KEY or OPENAI_API_KEY).
ANTHROPIC_API_KEYoptional secret Upstream Anthropic API key. Used when the requested model is claude-* / anthropic-*. Required if you call Claude models on the free tier (BYOK).
OPENAI_API_KEYoptional secret Upstream OpenAI API key. Used when the requested model routes to OpenAI. Required if you call OpenAI models on the free tier (BYOK).
LUCAIRN_BASE_URLoptional Override the gateway URL. Defaults to https://gateway.lucairn.eu (production). Set this to point at a self-hosted Lucairn deployment.
LUCAIRN_TRANSPORToptional Transport mode for the MCP server. One of 'direct-http' (default; v1.1+ behavior) or 'stdio-bridge' (v1.2+ opt-in).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add lucairn-mcp-server -e 'LUCAIRN_API_KEY=<LUCAIRN_API_KEY>' -- npx -y --package=@lucairn/mcp-server@1.2.9 lucairn-mcp-server
Add to claude_desktop_config.json
{
  "mcpServers": {
    "lucairn-mcp-server": {
      "args": [
        "-y",
        "--package=@lucairn/mcp-server@1.2.9",
        "lucairn-mcp-server"
      ],
      "command": "npx",
      "env": {
        "LUCAIRN_API_KEY": "<LUCAIRN_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "lucairn-mcp-server": {
      "args": [
        "-y",
        "--package=@lucairn/mcp-server@1.2.9",
        "lucairn-mcp-server"
      ],
      "command": "npx",
      "env": {
        "LUCAIRN_API_KEY": "<LUCAIRN_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LUCAIRN_API_KEY",
      "id": "lucairn-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "lucairn-mcp-server": {
      "args": [
        "-y",
        "--package=@lucairn/mcp-server@1.2.9",
        "lucairn-mcp-server"
      ],
      "command": "npx",
      "env": {
        "LUCAIRN_API_KEY": "${input:lucairn-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.lucairn-mcp-server]
command = "npx"
args = ["-y", "--package=@lucairn/mcp-server@1.2.9", "lucairn-mcp-server"]
env = { "LUCAIRN_API_KEY" = "<LUCAIRN_API_KEY>" }

For AI agents

  1. Ask the user for: LUCAIRN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: chat_via_lucairn.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json