Securedact MCP logo

Securedact MCP

Local-first MCP tools for detecting, redacting, restoring, and safely reading sensitive text and files.

Install Securedact MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "securedact-mcp": {
      "command": "uvx",
      "args": [
        "securedact-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 6 tools correctly ().

Overview

Securedact MCP MCP server detects and protects sensitive text and local files before approved content reaches external AI workflows. It runs locally through stdio, applying deterministic and contextual detectors, policies, redaction, and residual validation without provider calls or network listeners by default. Use it when an MCP host needs controlled handling of PII, credentials, secrets, or protected files. The host must explicitly invoke the tools and pass onward only approved sanitized output.

Use cases

  • Redact PII before sending text to an external model
  • Scan and sanitize local files before an agent reads them
  • Create approved text copies under a configured directory
  • Restore sanitized content through single-use local sessions

Key features

  • Local PII, credential, token, and secret detection
  • Policy-based redaction with residual validation
  • Protected local-file reading
  • Minimal, review, debug, and restoration response modes
  • Single-use in-memory restoration sessions
  • HIPAA Safe Harbor mechanical de-identification aid

Tools6

What Securedact MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 93d

What it can do

From the 6 tools this server returned when we ran it; 6 declare their own safety hints.

Handles credentials · 3Read-only tools · 6
Network at startup2 connections
Files written at startupNone

Observed 2026-10-17 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · securedact-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed6Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Securedact MCP works

What the Securedact MCP MCP server does

The Securedact MCP MCP server provides a local privacy layer for AI workflows. It identifies personal data, GDPR-sensitive information, credentials, API keys, tokens, secrets, and other sensitive content, then evaluates that content against versioned policies. Approved results can be redacted, validated, and returned for downstream use.

The server also provides protected local-file access. Its file-reading tool checks paths before reading, rejects traversal and symlink escapes, blocks protected locations such as .env, and refuses binary files. A safe-copy tool can write approved text or Markdown beneath one configured root without returning a mapping or absolute path.

The project includes a HIPAA Safe Harbor mechanical de-identification aid with an 18-category mapping and US-specific identifier checks. This is a processing aid rather than a compliance certification or replacement for expert determination.

How it works

The Securedact MCP MCP server accepts requests from an MCP host over a local stdio process. Detection may use deterministic detectors and contextual detectors, followed by policy evaluation, redaction, and residual-output validation. The normal workflow is prepare_for_external_ai: the host supplies text and a policy, then should forward only sanitized_text when the result status is ok.

Responses default to minimal. Review responses expose locations without raw values, while debug responses can include more sensitive details only when debugging has been enabled before process start. Restoration uses in-memory, opaque sessions with expiration, bounded capacity, concurrency protection, and single-use consumption by default. Sessions disappear when the process exits.

MCP mode is not an automatic prompt interceptor. A host can bypass the workflow or be configured incorrectly, so the server does not by itself guarantee that every prompt, tool call, or file leaves the environment sanitized.

Setup and configuration

Install Python 3.12 and the package from PyPI:

bash
python3.12 -m pip install "securedact-mcp[ml]"
securedact-mcp setup

The setup command checks the package, Python version, dependencies, and local model state. It can offer consent-based model installation and detected Claude Code or Gemini CLI integrations. Manual commands include securedact-mcp install, securedact-mcp models verify, and securedact-mcp to start the stdio server.

Set SECUREDACT_ENABLE_DEBUG_RESPONSES=1 before starting the process to permit debug responses. An MCP request cannot enable debugging. Deterministic-only operation can be demonstrated by setting SECUREDACT_REQUIRE_FLAIR=0.

Tools and capabilities

The Securedact MCP MCP server exposes:

  • prepare_for_external_ai for the recommended complete preparation flow.
  • analyze_text for lower-level local analysis and review.
  • redact_text for lower-level redaction, with legacy mode deprecated.
  • restore_text for consuming local restoration sessions.
  • create_safe_copy for writing approved .txt or .md content.
  • securedact_read_file for sanitized, guarded local-file reads.

Limitations and notes

The server has no provider client, proxy, website, provider credential handling, or provider-specific forwarding. Local-first processing does not mean every leak is prevented. Sensitive legacy modes require explicit selection, and direct mappings require trusted legacy mode. Debug output should be treated as sensitive.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Securedact MCP

Securedact MCP is an MCP server that connects an MCP host to a local privacy engine for text and file workflows. Its main tools prepare external-AI text, analyze and redact content, restore approved sessions, create safe copies, and read local files while blocking protected paths, traversal, symlinks, and binary data.

Install it with Python 3.12 using `python3.12 -m pip install "securedact-mcp[ml]"`, then run `securedact-mcp setup`. The setup command checks dependencies and local model state. Running `securedact-mcp` starts the local stdio server.

Yes, the setup command can offer the packaged Claude Code integration when that host is detected. It uses the provider's official plugin command and does not automatically accept provider trust or call a provider model API.

Yes, setup can offer the packaged Gemini CLI integration when Gemini CLI is detected. Targeted interactive configuration is available with `securedact-mcp setup --host gemini`.

No, MCP mode does not automatically intercept every prompt. The host must invoke the tool and forward only approved `sanitized_text` when the status is `ok`; a misconfigured or malicious host can bypass that workflow.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSecuredact MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/securedact-mcp?style=directory)](https://allmcps.com/mcp/securedact-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/securedact-mcp"><img src="https://allmcps.com/api/badge/securedact-mcp?style=directory" alt="Securedact MCP on AllMCPs" /></a>