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.

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.

ParameterTypeDescription
max_tokens *numberMaximum tokens to generate in the response. Required by the Anthropic Messages API.
messages *arrayConversation messages. Each item is { role: "user" | "assistant", content: string | array }.
model *stringModel 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…
systemOptional 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).
temperaturenumberOptional sampling temperature (0..1).