@umbrella-coop/flare-redact-mcp
v0.1.0
Published
MCP server exposing on-demand scan/redact/is-clean/policy tools
Readme
@umbrella-coop/flare-redact-mcp
Model Context Protocol server exposing on-demand secret/PII tools backed by
flare-redact.
Install
npm install -g @umbrella-coop/flare-redact-mcpRun as a stdio MCP server:
opencode-flare-redact-mcpFLARE_REDACT_PROJECT_DIR selects the project directory for config discovery
(defaults to the current directory).
Add it to your MCP client config, e.g.:
{
"mcpServers": {
"flare-redact": {
"command": "opencode-flare-redact-mcp",
"args": []
}
}
}Tools
| Tool | Description |
|---|---|
| flare_scan | Scan text/JSON for secrets and PII. Returns value-free findings (detector, risk, confidence, location). |
| flare_redact | Redact secrets and PII from text or JSON. Returns the value with secrets masked. |
| flare_is_clean | Return whether the given text contains any secrets or PII. |
| flare_policy | Show the active redaction policy and per-surface modes. |
Configuration
Put a flare-redact.config.json in the project root. See the
configuration reference.
Note
MCP tools are on-demand — the model calls them voluntarily. For enforcement (blocking secrets before they reach the model), use the per-assistant hook plugins (OpenCode, Claude Code, GitHub Copilot, Codex, Cursor).
License
MIT
