ZT

Ztds MCP

Local in-RAM PII & secrets firewall for Cursor, Claude Desktop, and AI agents. Zero network egress.

Grade A Local · stdio No auth needed 8 tools v1.2.1 · 8 Oct 2026
No reviews yet by moxno (Ilya Sibiryakov)npm 854 Runs on your machine, nothing hosted
99/100
trust score
14
downloads a day
local
runs on your machine
854
downloads in 30d

What it does

ZTDS MCP Server is the open-source reference implementation of the Zero-Trust Data Sanitization (ZTDS RFC v1.0) protocol for modern AI coding IDEs and agent workflows, including Cursor IDE, Claude Desktop, Claude Code, and Windsurf.

The Problem: Autonomous AI agents routinely scan repositories, indexing .env files, API tokens, database connection strings, customer records, and private codebases. When agents invoke tools or construct prompts, these sensitive strings are transmitted unmasked to frontier cloud LLMs, causing compliance violations and credential leakage.

The ZTDS Solution: ZTDS MCP acts as an in-memory security firewall operating 100% locally in device volatile memory (RAM). Before prompts or tool parameters cross the network, sensitive entities are automatically tokenized into context-preserving synthetic tokens (e.g. [API_KEY_TOKEN_1], [EMAIL_TOKEN_1]). When the LLM responds, the original values are restored locally in RAM. Cloud models never see the cleartext.

The 4 Fundamental Invariants (RFC v1.0):

  • Invariant 1: Zero External Egress Prior to Sanitization — Cleartext PII, credentials, and secrets never leave the local execution boundary unmasked.
  • Invariant 2: Deterministic Context-Preserving Reversible Tokenization — Surrogates preserve syntactic and grammatical context so transformer attention mechanisms remain accurate.
  • Invariant 3: Ephemeral RAM Isolation (Theorem 2 Zeroization) — Bijective mapping tables exist solely in non-swappable volatile memory (mlock) and are wiped immediately upon session reset.
  • Invariant 4: Subprocessor Chain Exclusion — Operates strictly as a local computing utility under GDPR Recital 26 and HIPAA Safe Harbor, eliminating the requirement for third-party Data Processing Agreements (DPAs).

1-Click Automated Setup:

Run the universal auto-configurator in your terminal:

npx ztds-mcp init

This automatically detects your installed clients (Cursor, Claude Desktop, Windsurf), configures their MCP settings safely, and runs an in-memory verification test.

Pre-Execution CLI Auditor:

Scan files or directories for leaks before agent ingestion:

npx ztds-mcp audit .env

npx ztds-mcp audit ./src --json

Declared MCP Tool Surface (7 Tools):

  • ztds_sanitize — Local deterministic masking of PII, secrets, and credentials before LLM dispatch.
  • ztds_restore — Restores cleartext values into LLM-generated code or diffs from volatile memory mappings.
  • ztds_audit — Evaluates text against RFC v1.0 standards, returning a SHA-256 cryptographic attestation receipt.
  • ztds_reset_session — Cryptographically purges and zeroizes all session mappings in RAM.
  • ztds_info — Returns architectural specifications, patent disclosures (IL 331905), and DOI citations.
  • ztds_guard — In-IDE active guardrail interception wrapper.
  • task — Secure execution perimeter runner.

Certified Commercial Implementation (PrivacyScrubber):

For enterprise environments requiring 30 specialized regulatory profiles (HIPAA 18 identifiers, PCI-DSS 4.0, SOC 2 Type II evidence binders, Defense ITAR/CMMC, FRE-502 legal work-product), see PrivacyScrubber, the certified commercial implementation powered by BrandMeWeb:

Production MCP package: @privacyscrubber/mcp-server

Headless SDK: @privacyscrubber/sdk

Website: privacyscrubber.com | Standard & Specifications: ztds.ai

Quickstart

# 1 — add it to Claude Code claude mcp add --scope user ztds-mcp '--' npx -y ztds-mcp # 2 — ask your agent for something these tools do # ztds_sanitize, ztds_restore, ztds_audit and 5 more

Ztds costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.

PublisherVerified · since 2026
MI
moxno (Ilya Sibiryakov)1 server
1 category · publishing since 2026
All 1 server
More in this category

See also

See all