Flare Redact
MCP server by flare-collection Verified · npm:flare-redact
Redacts secrets and personal data from logs, Sentry events, LLM prompts and commits by reading the values, not just field names. Suited to developers who run Node.js apps and want no runtime dependencies.
Install Flare Redact
Built from the published package, never by AI.
claude mcp add flare-redact -- npx -y flare-redactRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"flare-redact": {
"args": [
"-y",
"flare-redact"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"flare-redact": {
"args": [
"-y",
"flare-redact"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"flare-redact": {
"args": [
"-y",
"flare-redact"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add flare-redact -- npx -y flare-redact{
"mcpServers": {
"flare-redact": {
"args": [
"-y",
"flare-redact"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add flare-redact npx -y flare-redactGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the flare-redact block.
About
Flare Redact masks secrets and personal data in logs, Sentry events, LLM prompts, commits and test recordings. It reads the values themselves, not only field names. It uses 154 detectors for items such as API keys, tokens, JWTs, private keys, card numbers, IBANs and emails, and checks checksums wherever a checksum exists. The package has zero dependencies and runs on Node 20 or later, browsers, edge runtimes, Bun and Deno.
It plugs into pino, winston, console, Sentry, the OpenAI and Anthropic clients, the Vercel AI SDK, Express and a pre-commit hook. A CI scan with SARIF output is also described. The source lists Python, Go, Rust, Java and .NET engines that run the same detector spec. It is aimed at developers who want to keep secrets and personal data out of logs, error trackers and third-party AI services.
Written from the project's README and checked against it.
What you need
- Node.js 20 or later
Try asking
- Redact secrets and personal data from this log output before I share it
- Mask card numbers and email addresses in this text
- Scan this repository for API keys that should not be committed
Good to know
- Detection is best-effort and does not catch everything
- Names in prose are found by rules, not a trained model
- Read the security boundaries before relying on it for compliance
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Keep secrets out of application logs
- Mask customer data before LLM API calls
- Block secrets from commits and CI
Alternatives to Flare Redact
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Flare Redact: common questions
How do I hide API keys and passwords in Node.js logs?
Start the app with the register import flag to redact every console call, or add pinoRedact() or winstonRedact() to your logger. The source says nothing else needs configuring.
Will it slow my app down?
The source says it runs in-process with no model and no network call, and its patterns are bounded and tested against hostile input. It also provides an npm run benchmark script to measure it on your own runtime.
Can I keep my existing pino redact list?
Yes. The source says you can spread pinoRedact() next to your existing redact list, or move the list into redact(obj, { paths }) since the syntax is the same.
How do I install Flare Redact?
In Claude Code run claude mcp add flare-redact -- npx -y flare-redact. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Flare Redact the official server?
Flare Redact is published by npm:flare-redact from its verified domain in the official MCP Registry.
Is Flare Redact free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Flare Redact safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Flare Redact?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Flare Redact work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
