DataMask
Server Details
Plan masking of personal data in a Postgres schema: a method per column, mask.sql and check.sql.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 2 tools
The two tools have clearly distinct roles: one is a read-only reference lookup of available masking methods, the other is an action that ingests a schema and produces a masking plan. There is no realistic way to confuse them, and plan_masking's description even points to the method vocabulary that list_masking_methods exposes.
Both names follow the same snake_case verb_noun convention (list_masking_methods, plan_masking) and use the shared domain noun 'masking', so the pair reads as one coherent family.
Two tools is thin in absolute terms, but the server's scope is narrow (plan schema masking), and the catalog/action split is the minimum viable pair. A little more granularity (e.g. per-table replanning) would round it out, but nothing here is redundant.
The surface covers discovery and plan generation end-to-end, including emitting mask.sql and check.sql, so the core lifecycle is present. However, there is no way to override or refine a chosen method, replan a single table, or act on the produced check results, which leaves agents at a dead end once they disagree with the plan.
Available Tools
2 toolslist_masking_methodsList masking methodsARead-onlyIdempotentInspect
List the masking methods DataMask can assign to a column, with what each does and the column types it fits.
Inputs: no named parameters.
plan_maskingPlan Postgres data maskingARead-onlyInspect
Plan how to mask personal data in a PostgreSQL schema before copying production to staging or dev. Input: the schema only (pg_dump --schema-only output or CREATE TABLE statements). Only table and column definitions are read; data dumps (COPY or many INSERT rows) are refused. Returns a masking method for every column (keep, fake email or name, coarsen dates, random secrets, blank free text…) with the reason, a mask.sql that applies them to a copy (foreign keys get the same expression as the key they point at, so joins still match) and a check.sql that must return 0 for every check. Free: up to 150 columns per call; a bigger schema is planned in whole tables up to that.
Inputs: schema_sql (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Check Supabase SQL for who can read and write each table: RLS gaps, open policies, grants, fix SQL.
Mask, restore and black out personal data in text and files, processed in the EU.
Finds personal-data leaks in Supabase/Lovable apps: free RLS and headers checks, proven fixes.
Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA PostgreSQL MCP server that automatically detects and obfuscates personally identifiable information (PII) in query results using column-name heuristics and NLP analysis. It enables AI agents to interact securely with databases by masking sensitive data by default while allowing selective unmasking under user control.4-
- AlicenseAqualityBmaintenanceDeterministic format-preserving SQL dump, CSV, and JSONL PII anonymizer with FK integrity and Luhn/Mod11-2 checksums.4MIT
- AlicenseAqualityCmaintenanceEnables Cursor/agents to query Postgres through a constrained SELECT-only MCP interface, applying a YAML PII policy to mask sensitive data before returning JSON. It provides tools for safe sampling, schema inspection, PII classification, and structured masked queries without exposing raw PII to the model.61MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to inspect PostgreSQL schemas, plan referentially complete subsets from root rows, and extract anonymized staging data without exposing clear production PII. It supports deterministic masking and verification so data-dependent bugs can be reproduced safely.5MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.