Obscate PII redaction
v0.2.1Reversible PII redaction for agents: redact text/JSON before tool calls, restore replies.
Values you need
| Variable | What it is | |
|---|---|---|
OBSCATE_API_KEY | required secret | Obscate API key (free tier: 1,000 requests/month at https://obscate.com) |
OBSCATE_BASE_URL | optional | API base URL; set only for a self-hosted Obscate instance Default: https://api.obscate.com |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add mcp -e 'OBSCATE_API_KEY=<OBSCATE_API_KEY>' -- uvx obscate-mcp==0.2.1Add to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"obscate-mcp==0.2.1"
],
"command": "uvx",
"env": {
"OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"obscate-mcp==0.2.1"
],
"command": "uvx",
"env": {
"OBSCATE_API_KEY": "<OBSCATE_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "OBSCATE_API_KEY",
"id": "obscate-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"obscate-mcp==0.2.1"
],
"command": "uvx",
"env": {
"OBSCATE_API_KEY": "${input:obscate-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "uvx"
args = ["obscate-mcp==0.2.1"]
env = { "OBSCATE_API_KEY" = "<OBSCATE_API_KEY>" }For AI agents
- Ask the user for: OBSCATE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: redact, restore, detect, redact_json, restore_json, list_entities.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json