Skip to main content
Glama
hovecapital

PostgreSQL MCP Server

by hovecapital

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_SSLNoEnable SSL connectionfalse
DB_HOSTNoPostgreSQL server hostnamelocalhost
DB_PORTNoPostgreSQL server port5432
DB_DATABASENoDatabase namepostgres
DB_PASSWORDNoPostgreSQL password
DB_USERNAMENoPostgreSQL usernamepostgres

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
connectA

Connect to a PostgreSQL database using a connection string. The connection will be used for subsequent queries until changed.

disconnectA

Disconnect from the current runtime database and revert to the default environment-configured connection

queryA

Run a read-only SQL query against the currently connected database

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/hovecapital/read-only-local-postgres-mcp-server'

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