PII Shield MCP
An MCP server provided by PII Shield that allows AI agents to redact personally identifiable information (PII) from prompts and restore it in responses. It exposes tools for redaction, PII detection, and coverage analysis to ensure data privacy when interacting with LLMs.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://piishield.ai/mcpWhat its tools do
6 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to piishield.ai ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
About PII Shield MCP
The PII Shield MCP server enables AI agents to manage personally identifiable information within text data. It provides tools for detecting PII types, analyzing coverage, redacting sensitive tokens from prompts, and restoring them in responses. This workflow supports data privacy when interacting with large language models.
Agents can use this server to analyze PII coverage for compliance purposes or to process text inputs before sending them to AI models. The available tools include detect_pii, get_coverage, list_detectors, redact, redact_document, and set_coverage.
Connection to the server requires no sign-in. However, individual tools may require a vendor account, credentials, or specific permissions. Users must create a workspace and include their key in the URL to access the tools.
What you can do with it
- Redact PII from user prompts before sending to AI models
- Detect PII types and coverage in text inputs
- Restore redacted tokens in AI responses
- Analyze PII coverage for compliance
Source and maintenance
Protocol and capabilities
- Server
- PII Shield 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 6 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
6 advertised
redact
Redact personal data (email, phone, cards, SA ID, SSN, IP, IBAN, names, custom terms) from text, replacing each value with a stable token like [EMAIL_1]. Call this before putting sensitive text into a prompt or context. NOTE: detection is automated and is not a guarantee; it can miss personal data. Review the output before relying on it.
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "The text to redact."
},
"reject": {
"type": "array",
"items": {
"type": "string"
},
"description": "Finding ids (from a preview) to leave unredacted — a human said 'not PII here'."
},
"preview": {
"type": "boolean",
"description": "Dry run: return what WOULD be redacted (type, confidence, rationale) without changing the text or consuming quota."
},
"detectors": {
"type": "object",
"description": "Optional map of detector→bool to override defaults."
},
"customTerms": {
"type": "array",
"items": {
"type": "string"
},
"description": "Extra literal terms to always mask (custom PII)."
},
"customPatterns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"flags": {
"type": "string"
},
"pattern": {
"type": "string"
}
}
},
"description": "Custom PII as regexes, e.g. {type:'EMPID', pattern:'EMP-\\\\d{5}'}."
}
}
}detect_pii
Report what personal data appears in text (counts by type) without returning the raw values. Use to check whether text is safe to share. NOTE: detection is automated and is not a guarantee; a clean result does not prove the text is free of personal data.
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
}
}
}redact_document
Redact PII from an uploaded file or document before sharing it with an AI. Works on PDFs, Word (.docx), Excel (.xlsx), and text-based files (txt, csv, json, code, transcripts, logs). Pass base64 file data with media_type/filename, OR raw text. Returns the redacted text and counts. Requires your workspace key (via the MCP server URL). NOTE: detection is automated and is not a guarantee; it can miss personal data. Review the file yourself before sharing it.
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "or raw text instead of a file"
},
"base64": {
"type": "string",
"description": "base64-encoded file bytes"
},
"filename": {
"type": "string"
},
"detectors": {
"type": "object"
},
"media_type": {
"type": "string",
"description": "e.g. application/pdf, text/csv"
},
"customTerms": {
"type": "array",
"items": {
"type": "string"
}
},
"customPatterns": {
"type": "array",
"items": {
"type": "object"
}
}
}
}list_detectors
List the PII types this shield can mask, and confirm custom regex/terms are supported. Call this to see what coverage is available.
{
"type": "object",
"properties": {}
}get_coverage
Show your workspace's current PII coverage (which detectors are on, custom terms, custom patterns). Uses the workspace key from your MCP server URL.
{
"type": "object",
"properties": {
"shield_key": {
"type": "string",
"description": "optional — only if not already in the server URL"
}
}
}set_coverage
Change what this workspace masks, right from your chat. Turn detectors on/off (e.g. enable PERSON name masking), add always-mask terms, or add custom PII as regex (e.g. employee IDs 'EMP-\\d{5}'). Uses the workspace key from your MCP server URL.
{
"type": "object",
"properties": {
"detectors": {
"type": "object",
"description": "map of detector→bool, e.g. {\"PERSON\":true}"
},
"shield_key": {
"type": "string",
"description": "optional — only if not already in the server URL"
},
"customTerms": {
"type": "array",
"items": {
"type": "string"
},
"description": "literal terms to always mask"
},
"customPatterns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"flags": {
"type": "string"
},
"pattern": {
"type": "string"
}
}
},
"description": "custom PII as regex"
}
}
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-09: 2 of 2 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 814 ms
- 95th percentile latency
- 891 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 898 ms · 6 tool(s)
- · probe · passed · 825 ms · 6 tool(s)
- · probe · passed · 719 ms · metadata changed · 6 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http pii-shield-mcp https://piishield.ai/mcpCodex
codex mcp add pii-shield-mcp --url https://piishield.ai/mcpCursor
{
"mcpServers": {
"pii-shield-mcp": {
"url": "https://piishield.ai/mcp"
}
}
}Cline
{
"mcpServers": {
"pii-shield-mcp": {
"type": "streamableHttp",
"url": "https://piishield.ai/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"pii-shield-mcp": {
"type": "http",
"url": "https://piishield.ai/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http pii-shield-mcp https://piishield.ai/mcpClaude Desktop
https://piishield.ai/mcpWindsurf
{
"mcpServers": {
"pii-shield-mcp": {
"serverUrl": "https://piishield.ai/mcp"
}
}
}Let your agent find its tools
Find servers like PII Shield MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other ai and machine learning servers
Frequently asked questions
- Can I use all tools without an account?
- No. While connecting requires no sign-in, individual tools may need a vendor account, credentials, or permissions. Check the documented prerequisites for each tool.
- What is required to connect?
- You must create a workspace and put your key in the URL. The server uses a Streamable HTTP endpoint at piishield.ai.
- What tasks does this server support?
- It supports detecting PII types, analyzing coverage, redacting PII from user prompts before sending to AI models, and restoring redacted tokens in AI responses.
Do you run PII Shield MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.