Back to MCP Servers
PostgreSQL MCP Server

PostgreSQL MCP Server

Public
HenkDz/postgresql-mcp-server

Provides comprehensive PostgreSQL database management for AI assistants via Model Context Protocol, featuring consolidated intelligent tools for schema, permissions, performance, indexing, functions, triggers, security, advanced query execution, comment management, and real-time monitoring.

typescript
0 tools
May 29, 2025
Updated Jun 4, 2025

Supercharge Your AI with PostgreSQL MCP Server

MCP Server

Unlock the full potential of PostgreSQL MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Configuration Requirements
none
Configure authentication and required variables to access this MCP server
Required Environment Variables
PGPASSWORD
Optional
string

PostgreSQL password

PGPORT
Optional
string

PostgreSQL server port

PGDATABASE
Optional
string

PostgreSQL database name

PGHOST
Optional
string

PostgreSQL server host

PGUSER
Optional
string

PostgreSQL username

DATABASE_URL
Optional
string

PostgreSQL connection string in the format postgresql://user:password@localhost:5432/dbname

Security Notice

Your environment variables and credentials are securely stored and encrypted. LangDB never shares these configuration values with third parties.

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs0

No related MCPs found.

This server doesn't have any related MCP connections.