Expand description
rejection of anything but read-only queries
Constants§
- ADMIN_
ONLY_ READ_ FUNCTIONS - Admin-only read functions. They are not mutating, but no admin feature is reachable through MCP; the admin/non-admin comparison test keeps this list complete.
Functions§
- check_
read_ only - Accepts a single read-only
SELECT-style query and rejects everything else: other statement kinds, several statements, and calls to mutating or admin-only functions anywhere in the query. - is_
denied_ function - Whether
name(compared case-insensitively) is a function the MCP layer refuses to call.