Skip to main content
Glama

MCP PostgreSQL Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
connect_db

Connect to PostgreSQL database. NOTE: Default connection exists - only use when requested or if other commands fail

query

Execute a SELECT query

execute

Execute an INSERT, UPDATE, or DELETE query

list_schemas

List all schemas in the database

list_tables

List tables in the database

describe_table

Get table structure

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/antonorlov/mcp-postgres-server'

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