Skip to main content
Glama

Postgres MCP

by crystaldba

execute_sql

Run SQL queries directly on the Postgres MCP server to interact with and manage databases efficiently during development, testing, and deployment.

Instructions

Execute any SQL query

Input Schema

NameRequiredDescriptionDefault
sqlNoSQL to runall

Input Schema (JSON Schema)

{ "properties": { "sql": { "default": "all", "description": "SQL to run", "title": "Sql", "type": "string" } }, "title": "execute_sqlArguments", "type": "object" }

You must be authenticated.

Other Tools from Postgres MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crystaldba/postgres-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server