MCPVault

list_constraints

MCP tool from Postgres MCP by JaviMaligno

List constraints (PK, FK, UNIQUE, CHECK)

How to use it

list_constraints is exposed by the Postgres MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the list_constraints tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Postgres MCP

$npx @javiagui/postgresql-mcp
FULL POSTGRES MCP LISTING