execute_query
Run SQL queries on a PostgreSQL database, with configurable read-only or write permissions, using the Simple PostgreSQL MCP Server.
Instructions
Execute SQL queries on PostgreSQL database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes | SQL query to execute | |
readOnly | No | If true, only allows read-only queries (SELECT, EXPLAIN, etc.) |