Strac MCP DLP for VS Code
io.github.strac-io/strac-mcp-dlp
Detect and redact PII, PHI, PCI and secrets in text and files before an AI agent sees them.
client:VS Code
transport:stdio
runtime:pypi
Install Strac MCP DLP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "strac-api-key",
"description": "STRAC_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "strac-api-base",
"description": "STRAC_API_BASE",
"password": true
},
{
"type": "promptString",
"id": "strac-api-timeout",
"description": "STRAC_API_TIMEOUT",
"password": true
}
],
"servers": {
"strac-mcp-dlp": {
"type": "stdio",
"command": "uvx",
"args": [
"strac-mcp-dlp"
],
"env": {
"STRAC_API_KEY": "${input:strac-api-key}",
"STRAC_API_BASE": "${input:strac-api-base}",
"STRAC_API_TIMEOUT": "${input:strac-api-timeout}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs