pii-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Pseudora MCP
Model Context Protocol gateway that exposes Pseudora
privacy controls (PII detection, anonymization and reversible pseudonymization)
as native AI tools. The remote service forwards every operation to pseudora.cloud; it
does not contain the PII engine and does not store customer credentials.
MCP tools are selected and invoked by the host model during an agent request.
They can protect data fetched or produced inside a workflow, but they cannot
intercept a raw user prompt that the model already received. In VS Code, use the
Pseudora extension's @pseudora chat participant when the prompt itself contains
personal data: it anonymizes before invoking the selected language model.
Tools
Tool | Purpose |
| Replace personal data with tags or realistic surrogates |
| Restore values using the original |
| List entity types available to the current tenant |
| List policies/document types available to the current tenant |
Related MCP server: MCP Presidio
Connect a client
VS Code
Install the Pseudora VS Code extension and run Pseudora: Connect Account.
The extension completes OAuth PKCE in the browser, stores tokens in VS Code
SecretStorage, lets the user select a team, document type, and anonymization mode
for each workspace, and registers this remote MCP endpoint automatically. Pausing
Pseudora in the workspace also removes the MCP server. No key is written to
mcp.json.
For protected prompts, open Chat and start the request with @pseudora. Enabling
the MCP server alone does not provide transparent prompt interception.
Other MCP clients
Create a key in Pseudora Customer keys.
Configure one remote MCP endpoint:
https://mcp.pseudora.cloud/mcp.Send the key as
Authorization: Bearer pii_cust_....
Generic remote configuration:
{
"mcpServers": {
"pseudora": {
"url": "https://mcp.pseudora.cloud/mcp",
"headers": {
"Authorization": "Bearer pii_cust_replace_me"
}
}
}
}Use a key created for the team you want to work with. OAuth tokens can also pass
team_id to individual tools; API keys remain bound to their tenant by Pseudora.
Clients with a team picker should send X-Team-ID on the MCP connection. That
client-selected team takes precedence over tool arguments, so an AI model cannot
silently switch away from the workspace team.
The VS Code extension also sends X-Pii-Document-Type and X-Pii-Mode; these
workspace choices take precedence over tool arguments for the same reason.
The managed gateway identifies its calls as mcp_server; requests and characters
are visible by tool and key owner in Cloud Stats.
Do not commit the key to a project repository. Prefer the client credential store or environment-variable interpolation when the selected MCP client supports it.
Local stdio compatibility
For a client that does not support remote Streamable HTTP, clone this repository and run:
bash setup.shOr configure it manually:
{
"mcpServers": {
"pseudora": {
"command": "uv",
"args": ["run", "--project", "/absolute/path/to/pii-mcp", "pii-mcp"],
"env": {
"PSEUDORA_API_URL": "https://pseudora.cloud",
"PSEUDORA_API_KEY": "pii_cust_replace_me"
}
}
}
}Development
uv sync --extra test
uv run pytest
uv run pii-mcp --transport streamable-httpHealth check: http://127.0.0.1:8765/health
MCP endpoint: http://127.0.0.1:8765/mcp
Self-hosting instructions are in DEPLOYMENT.md.
License
Apache License 2.0. See LICENSE. Pseudora Cloud and the Pseudora name are not covered by this license.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP gateway: one connection for your AI apps, with tool policies, PII redaction and audit logs.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP proxy that pseudo-anonymizes PII before data reaches external AI providers like Claude, ChatGPT, or Gemini.18MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables LLMs to detect and anonymize over 25 types of Personally Identifiable Information (PII) using Microsoft Presidio. It supports various redaction strategies and can process both plain text and structured data to help ensure data privacy.10MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for automatic detection and redaction of PII in text, with anonymization and deanonymization capabilities, all local processing.1-
- AlicenseAqualityCmaintenanceAn MCP server that redacts PII/PHI from text before it ever reaches an LLM — self-hosted, fail-closed, and HIPAA-aware.343 PyPIMIT