lucairn-mcp-server
v1.2.9Pseudonymizes PII before your LLM and returns a cryptographically signed receipt per response.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
chat_via_lucairn
Send a chat request through the Lucairn privacy gateway with cross-provider BYOK (Anthropic + OpenAI). PII is detected and replaced with placeholders before reaching the upstream LLM. The gateway picks the upstream provider based on the `model` parameter: `claude-*` / `anthropic-*` use ANTHROPIC_API_KEY; `gpt-*` / `openai-*` / `o1-*` / `o3-*` / `o4-*` use OPENAI_API_KEY. Wire format follows the Anthropic Messages API. Developer-tier responses contain raw placeholders; Pro and Enterprise tiers can enable automatic re-linking back to the original values.
| Parameter | Type | Description |
|---|---|---|
max_tokens * | number | Maximum tokens to generate in the response. Required by the Anthropic Messages API. |
messages * | array | Conversation messages. Each item is { role: "user" | "assistant", content: string | array }. |
model * | string | Model identifier. Routing rules: `claude-*` and `anthropic-*` route to Anthropic via ANTHROPIC_API_KEY; `gpt-*`, `openai-*`, `o1-*`, `o3-*`, and `o4-*` route to OpenAI via OPENAI_API_KEY. Examples: `c… |
system | Optional system prompt. May be a string or an array of content blocks. Sanitization policy is per-API-key on the gateway side (sanitize or passthrough_audit). | |
temperature | number | Optional sampling temperature (0..1). |