ocultar-mistral-mcp

v0.3.1
ocultar-mistral-mcp Checked 4 days ago Published 5 days ago

Zero-egress PII protection for Mistral Le Chat workflows via MCP stdio

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

refine_text Redact PII from text

Redact PII from text using the local Ocultar Refinery before sending it to Mistral Le Chat or any other AI model. Returns the cleaned text with all PII replaced by deterministic tokens (e.g. [EMAIL_9c8f7a1b]) and a map of each token to its PII type. All processing is local — no data leaves your infrastructure. Use this tool before processing any text that may contain names, emails, phone numbers, IBANs, SIRET/SIREN numbers, credit cards, or addresses. Optimised for French and EU regulatory requirements (RGPD, CNIL, DSP2).

ParameterTypeDescription
text *stringRaw text that may contain PII.

reveal_tokens Reveal original PII from tokens

De-tokenize Ocultar PII tokens back to their original plaintext values. Requires OCULTAR_AUDITOR_TOKEN to be set — this is an auditor-only operation that is logged in the immutable audit trail. Use only when the authorized caller explicitly needs to retrieve the original PII values after AI processing is complete.

ParameterTypeDescription
tokens *arrayList of Ocultar tokens to de-tokenize, e.g. ['[EMAIL_9c8f7a1b]', '[IBAN_3a1b2c4d]'].

register_entity Register a canonical PII entity

Pre-register a canonical name/identifier and its variants in the persistent Entity Registry so all variants map to the same token consistently across sessions (e.g. 'Alice', 'A. Martin', and 'alice martin' all resolving to [PERSON_1]). Requires OCULTAR_AUDITOR_TOKEN to be set.

ParameterTypeDescription
canonical_name *stringThe canonical name to register, e.g. 'Alice Martin'.
entity_type *stringEntity category, e.g. 'PERSON' or 'ORG'.
variantsarrayAlternate forms that should resolve to the same token.

list_entities List registered PII entities

List every entry in the persistent Entity Registry. Requires OCULTAR_AUDITOR_TOKEN to be set.

seed_entities Bulk-register PII entities

Bulk-register multiple canonical entities in one call, e.g. from a CRM roster or patient list. Requires OCULTAR_AUDITOR_TOKEN to be set.

ParameterTypeDescription
entities *arrayList of entities to register.

sombra_query Ask a redacted question via the Sombra gateway

Send a prompt through the Ocultar Sombra gateway, which redacts PII, routes the request to the chosen LLM, and rehydrates the response. Requires the Sombra gateway to be running separately (`go run ./apps/sombra`, default port 8086) and OCULTAR_SOMBRA_TOKEN to be set.

ParameterTypeDescription
model *stringWhich model to route to, e.g. 'gemini-flash-latest', 'gpt-4o', 'gpt-4o-mini', 'mistral-large-latest', 'claude-sonnet-4-6'. Passed through to Sombra as-is.
prompt *stringThe question or instruction to send.
connectorstringData connector to use. Defaults to 'file'.