pii-filter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PII_DEADLINE_S | No | Sets how long the client waits for a decision (default 570). | 570 |
| PII_OPEN_BROWSER | No | Set to 0 to turn off auto-opening review tabs. | |
| PII_REVIEW_TTL_S | No | Sets how long a review can stay pending (default 900). | 900 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Local PII redaction (GLiNER2 + Slovak/Czech regexes) with mandatory human review. Use redact_file for any log file or official document instead of reading it directly; use redact_text when the user asks to anonymise text. Calls block until the user approves in the browser (auto-approved when nothing is detected). Placeholders such as [PERSON_1] are consistent within one result. Never try to recover redacted values.
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| redact_textA | Redact PII/secrets from text. Blocks until the user approves the redaction in the review UI (instant when nothing is detected). Returns the approved redacted text or a withheld notice. |
| redact_fileA | Read a local file (log, .gz log, JSON, text document), redact PII/secrets and return the content after the user approves it in the review UI. Use this instead of Read for logs and official documents. |
| scan_piiB | Count PII by type in text or a file WITHOUT returning any content (no review needed). |
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 targets a distinct input+mode: redact_text for strings, redact_file for on-disk files, and scan_pii for detection-only without content return. The descriptions explicitly contrast the approval-blocking redaction tools with the non-blocking scan, leaving little room for misselection.
All three names follow a clean verb_noun pattern (redact_text, redact_file, scan_pii) with a consistent verb-object grammar. The verbs are semantically precise and the resource portion is unambiguous.
Three tools is well-scoped for a focused PII redaction utility, and each one earns its place covering a distinct surface (text, file, scan-only). Nothing feels redundant or padded.
The core lifecycle — scan first, then redact text or files — is fully covered, including a gzip-aware file path. Minor gaps remain, such as batch/directory redaction or configuration of which PII types to target, but agents can work around these.