phi-redact-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PHI_MCP_ENGINE | No | auto (Presidio if installed, else regex), regex, or presidio | auto |
| PHI_MCP_SPACY_MODEL | No | spaCy model for the Presidio engine | en_core_web_lg |
| PHI_MCP_MIN_CONFIDENCE | No | Trust threshold; detections below it fail closed | 0.5 |
| PHI_MCP_DETECTION_FLOOR | No | Below this, a signal is treated as noise | 0.35 |
| PHI_MCP_MAX_INPUT_CHARS | No | Reject larger input with a typed error | 100000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| redactA | Replace PHI/PII in text with reversible typed placeholders. |
| restoreB | Reverse a redaction using its token map, recovering the original text. |
| detectA | Report the PHI/PII entities found in text without modifying it. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a distinct and non-overlapping purpose: detect finds entities, redact replaces them, and restore reverses the redaction. No ambiguity.
All tool names are single verbs (detect, redact, restore) following a consistent pattern, making them easily predictable.
Three tools exactly cover the full PHI redaction workflow (detect, redact, restore) without unnecessary extras or missing steps.
The tool set provides a complete pipeline: detection, redaction with reversible placeholders, and restoration. No obvious gaps for the stated purpose.