MCP Presidio Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Presidio Serveranonymize the password 'mySecret123' in this session"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Presidio Server (Anonymize/Deanonymize)
This project exposes the same functionality via MCP tools and FastAPI endpoints.
Quickstart
python -m venv .venv && source .venv/bin/activate # on Windows: .venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reloadEndpoints
POST /session->{ "session_id": "<uuid>" }POST /anonymizebody:
{
"session_id": "uuid",
"messages": [{"content": "Secret is 123, password=foo"}]
}returns anonymized messages and stores mapping for the session.
POST /deanonymizebody:
{
"session_id": "uuid",
"text": "<<CUSTOM_TOKEN_0>> is 123, <<pass_pattern_...>>"
}MCP server
Run the stdio MCP server:
python mcp_server/server.pyRegister it in your MCP-compatible client pointing to this command.
Notes
Storage uses SQLite at
app/data.dbwith tablessessionsandmappings.Custom patterns mirror the code you provided; add more Presidio recognizers as needed.
Placeholders look like
<<ENTITY_#>>and are reversible persession_id.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityDmaintenanceEnables high-precision detection, anonymization, encryption and decryption of personally identifiable information (PII) in text using GPT-4o-based detection and advanced cryptographic methods. Supports both deterministic encryption for searchable data and format-preserving encryption for structured identifiers.Last updated81
- Alicense-qualityDmaintenanceScans prompts for PII and masks or redacts sensitive data locally before sending to an LLM, supporting multiple anonymization modes.Last updatedMIT
- Flicense-qualityDmaintenanceEnables AI agents to redact PII from text, summarize redacted content, and manage custom redaction patterns across multiple languages.Last updated
- AlicenseAqualityBmaintenanceSanitizes text and files by removing PII, secrets, and custom patterns locally before sending to LLMs, with optional reverse-scrubbing.Last updated3272MIT
Related MCP Connectors
Classify data safety before storing or sharing. GDPR, HIPAA, PCI-DSS, CCPA. AI-powered.
Responsible-AI guardrails for agents: scoring with policy, injection & PII detection, DPDP.
Deterministic trust gate for AI output: leaked-secret, prompt-injection & PII in one call.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/apasupul/mcp_presidio_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server