PostgreSQL MCP Server

PostgreSQL MCP Server

Public
hthuong09/postgres-mcp

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.

javascript
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_DB
Optional
string

Database name

POSTGRES_PASSWORD
Optional
string

Database password

POSTGRES_PORT
Optional
string

Database port

Default: 5432
POSTGRES_SSL
Optional
string

Enable SSL mode (set to 'true' to enable)

POSTGRES_HOST
Optional
string

Database host

POSTGRES_URL
Optional
string

Full database URL (e.g., postgres://user:pass@host:5432/dbname)

POSTGRES_USER
Optional
string

Database user

Security Notice

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

Related MCPs5
  • PostgreSQL Query MCP Server

    Provides a secure, read-only Model Context Protocol interface for executing validated SQL SELECT queries on PostgreSQL databases with JSON-formatted results and query timeout protection.

    Added May 30, 2025
  • PostgreSQL Multi-Schema MCP Server

    Provides read-only Model Context Protocol access to PostgreSQL databases with enhanced multi-schema support, enabling secure schema isolation, cross-schema discovery, and metadata filtering for LLMs to query and inspect authorized database schemas efficiently.

    Added May 29, 2025
  • PostgreSQL MCP Server

    Provides read-only access to PostgreSQL databases via Model Context Protocol, enabling LLMs to inspect database schemas and execute secure read-only SQL queries for efficient data retrieval.

    Added May 30, 2025
  • PostgreSQL MCP Server

    Provides read-only access to PostgreSQL databases via Model Context Protocol, enabling LLMs to inspect database schemas and execute secure, read-only SQL queries for enhanced data analysis and integration.

    Added May 30, 2025
  • PostgreSQL MCP Server

    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.

    Added May 30, 2025