list_masking_rules
Show all active PII classifications and masking rules.
How to use it
list_masking_rules is exposed by the Pg Redact MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the list_masking_rules tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL PG REDACT MCP LISTINGOther tools in Pg Redact MCP (13)
string
Override masking rules at runtime (in-memory, not persisted).
List tables and columns with their types and PII detection status.
Show the PostgreSQL execution plan for a query.
string
dict
string
Execute a SQL query with automatic PII redaction. Write queries (INSERT, UPDATE, DELETE) are blocked in read-only mode (default) and allowed when configured with readonly: false.
list[string]
list[string]
bool
string
string