MCP Postgres Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| queryA | Execute SQL queries with pagination support and parameterization for security. Supports page sizes up to 500 rows. |
| describe_tableC | Get the structure of a database table |
| list_tablesC | List all tables in a schema |
| get_constraintsC | Get constraints for a table |
| list_schemasC | List all schemas in the database |
| list_indexesC | List indexes for a table or schema |
| explain_queryC | Get query execution plan (EXPLAIN) |
| get_table_statsC | Get table statistics and size information |
| list_viewsC | List views in a schema |
| list_functionsC | List functions and procedures in a schema |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/MadeByNando/mcp-postgres-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server