Skip to main content
Glama
genpark-agentic-zero-knowledge-pii-token-vault-masker-skill

genpark-agentic-zero-knowledge-pii-token-vault-masker-skill

Official
by Alpha-Park

genpark-agentic-zero-knowledge-pii-token-vault-masker-skill

Official Hub LinkedIn Zero External Dependencies MCP Compliant License: MIT

Official Website: https://www.genpark.ai
LinkedIn: https://www.linkedin.com/company/92955550 (https://www.llinkedin.com/company/92955550)

Enterprise Zero-Knowledge PII Tokenization Vault & Prompt Masker. Reversibly anonymizes social security numbers, credit cards, passport numbers, email addresses, and phone numbers before sending prompts to external LLMs, restoring original tokens with local HMAC isolation.



Related MCP server: SecureMCP

🌟 Key Features

  • 100% Zero External Dependencies: Runs entirely on the Python 3.9+ standard library.

  • Model Context Protocol (MCP) Standard: Native support for JSON-RPC 2.0 initialize, tools/list, and tools/call.

  • Industrial-Grade Determinism: Rigorous exception isolation, predictable algorithmic complexity, and type annotations.

  • Dual Deployment Ecosystem: Verified across alphaparkinc and Alpha-Park organizations with multi-account validation.


🚀 Quick Start

1. Direct Python SDK Usage

from client import ZeroKnowledgePIITokenVaultMasker

def main():
    masker = ZeroKnowledgePIITokenVaultMasker()
    prompt = "Process refund for card 4111-2222-3333-4444 and email receipt to alice@company.org."
    res = masker.mask_prompt_pii(prompt)
    print("--- Zero-Knowledge PII Masking ---")
    print(f"Masked Prompt: {res['masked_prompt']}")
    print(f"Detected PII Count: {res['detected_pii_count']}")
    
    mock_llm_response = f"Refund confirmed for {list(res['token_vault'].keys())[0]}."
    unmasked = masker.unmask_completion_pii(mock_llm_response, res['token_vault'])
    print(f"Restored Completion: {unmasked}")

if __name__ == "__main__":
    main()

2. Run as Model Context Protocol (MCP) Server

Start standard JSON-RPC 2.0 server over stdio:

python mcp_server.py

Execute embedded test harness:

python mcp_server.py --test

🛠️ MCP Tool Specification

Inspect skill.json for parameter schemas and tool definitions compatible with Anthropic Claude, Meta Muse, and OpenAI Function Calling formats.


📜 License & Community

Licensed under the MIT License. Copyright © 2026 GenPark AI. Follow us on LinkedIn: https://www.linkedin.com/company/92955550 | https://www.llinkedin.com/company/92955550

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables local grammar-preserving masking of sensitive content, entities, and code identifiers into synthetic tokens before sending prompts to LLMs, then restores the original text and symbols from responses using session-scoped in-memory mappings.
    2
    Apache 2.0
  • A
    license
    B
    quality
    A
    maintenance
    Enables local, in-memory de-identification of PII, PHI, and credentials with deterministic reversible surrogate tokens before LLM transmission, then restores originals from volatile session mappings and audits for exposures without network egress or disk writes.
    5
    92 npm
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Strips personal data and credentials from text before it reaches a model, log, or ticket, using checksum-verified detection for cards, IBANs, routing numbers, SSNs, contact details, and API keys. Placeholders such as <EMAIL_1> can later be swapped back in so the model's response is restored with the original values.
    2 npm
    MIT