Koskamo

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.

PII Shield MCP logo, by PII ShieldVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by PII Shield
You need:Create a workspacePut your key in the URL
MCP endpoint (Streamable HTTP)
https://piishield.ai/mcp
Vendor documentation

What its tools do

6 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

6 of 6 have a description · 0 of 6 declare behavior hints · 3 of 5 with parameters document them all

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

Vendor evidenceRegistry 1.0.0

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
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

PII Shield redacts personal data before it reaches the model. Use `redact` on any text you're about to share, `redact_document` on a file, and `set_coverage` to choose what gets masked.

Tools

6 advertised

redact
Advertised by the server during the last successful anonymous check.

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.

redact input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

detect_pii input schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string"
    }
  }
}
redact_document
Advertised by the server during the last successful anonymous check.

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.

redact_document input schema
{
  "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
Advertised by the server during the last successful anonymous check.

List the PII types this shield can mask, and confirm custom regex/terms are supported. Call this to see what coverage is available.

list_detectors input schema
{
  "type": "object",
  "properties": {}
}
get_coverage
Advertised by the server during the last successful anonymous check.

Show your workspace's current PII coverage (which detectors are on, custom terms, custom patterns). Uses the workspace key from your MCP server URL.

get_coverage input schema
{
  "type": "object",
  "properties": {
    "shield_key": {
      "type": "string",
      "description": "optional — only if not already in the server URL"
    }
  }
}
set_coverage
Advertised by the server during the last successful anonymous check.

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.

set_coverage input schema
{
  "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

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

100% (56 of 56 checks answered)

  1. 2026-11-09: 2 of 2 checks answered
  2. 2026-11-10: 2 of 2 checks answered
  3. 2026-11-11: 1 of 1 checks answered
  4. 2026-11-12: 1 of 1 checks answered
  5. 2026-11-14: 1 of 1 checks answered
  6. 2026-11-15: 2 of 2 checks answered
  7. 2026-11-16: 4 of 4 checks answered
  8. 2026-11-17: 5 of 5 checks answered
  9. 2026-11-18: 5 of 5 checks answered
  10. 2026-11-19: 4 of 4 checks answered
  11. 2026-11-20: 2 of 2 checks answered
  12. 2026-11-21: 4 of 4 checks answered
  13. 2026-11-22: 4 of 4 checks answered
  14. 2026-11-23: 4 of 4 checks answered
  15. 2026-11-24: 4 of 4 checks answered
  16. 2026-11-25: 4 of 4 checks answered
  17. 2026-11-26: 4 of 4 checks answered
  18. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http pii-shield-mcp https://piishield.ai/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add pii-shield-mcp --url https://piishield.ai/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable pii-shield-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "pii-shield-mcp": {
      "url": "https://piishield.ai/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "pii-shield-mcp": {
      "type": "streamableHttp",
      "url": "https://piishield.ai/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start pii-shield-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "pii-shield-mcp": {
      "type": "http",
      "url": "https://piishield.ai/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http pii-shield-mcp https://piishield.ai/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://piishield.ai/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing