PostgreSQL MCP Server

PostgreSQL MCP Server

Public
gldc/mcp-postgres

Enables AI agents to seamlessly interact with PostgreSQL databases via the Model Context Protocol, offering schema exploration, table description, relationship insights, and SQL query execution with connection pooling and retry mechanisms for reliability.

python
0 tools
May 30, 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
POSTGRES_CONNECTION_STRING
Optional
string

PostgreSQL connection string (e.g. postgresql://username:password@host:port/database)

Security Notice

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

Related MCPs5
  • Model Context Protocol PostgreSQL Server

    Enables AI models to interact with PostgreSQL databases via the Model Context Protocol, offering connection pooling, schema resource access, SQL query execution with retries, and seamless integration with Cursor AI.

    Added May 30, 2025
  • MCP PostgreSQL Server

    Enables AI models to securely interact with PostgreSQL databases via Model Context Protocol, supporting connection management, query execution with prepared statements, multi-schema operations, and comprehensive error handling.

    5 tools
    Added May 29, 2025
  • PostgreSQL Advanced MCP Server

    Provides full read-write access to PostgreSQL databases via Model Context Protocol, enabling safe query execution, transaction management, schema insights, and advanced safety controls for seamless LLM integration.

    Added May 29, 2025
  • Metabase MCP Server

    Enables AI assistants to seamlessly interact with Metabase databases and actions via the Model Context Protocol, offering database exploration, metadata retrieval, relationship visualization, action execution, and secure API integration.

    Added May 30, 2025
  • PostgreSQL MCP Server

    Model Context Protocol server offering a secure, read-only interface to query PostgreSQL databases and inspect table schemas with JSON-formatted responses and flexible configuration options.

    Added May 30, 2025