MCP Setup Guide
Connect Claude Desktop to The Veil in 2 minutes
Get your API keys
You need two keys: your DSA API key (from The Veil) and your Anthropic API key (from console.anthropic.com). If you don't have a DSA key yet, sign up at /account/signup.
Open Claude Desktop settings
In Claude Desktop, go to Settings → Developer → Edit Config. This opens your claude_desktop_config.json file.
Add the MCP server
Paste the configuration below into your claude_desktop_config.json file. Replace the placeholder values with your actual keys.
Restart Claude Desktop
Close and reopen Claude Desktop. You should see "theveil" in the MCP servers list. Every message you send now routes through The Veil's privacy pipeline.
{
"mcpServers": {
"theveil": {
"command": "npx",
"args": ["-y", "@theveil/mcp-server"],
"env": {
"DSA_GATEWAY_URL": "https://gateway.dsaveil.io",
"DSA_API_KEY": "<your DSA API key>",
"ANTHROPIC_API_KEY": "<your Anthropic API key>"
}
}
}
}How it works
Every message is scanned for PII (names, emails, addresses, medical terms) before it reaches the LLM.
Detected PII is replaced with safe placeholders. The LLM never sees real personal data.
Responses are re-linked: placeholders are swapped back to the original values before you see them.
A Veil Certificate is generated for each request — cryptographic proof of what was sanitized.