
SQL MCP Server
TypeScript-based MCP server enabling secure, read-only PostgreSQL queries via SSH bastion tunnels with STDIO communication, compatible with AI-driven clients and easily configurable for flexible database access.
Supercharge Your AI with SQL MCP Server
Unlock the full potential of SQL MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
PostgreSQL database host
localhostPath to SSH private key for bastion connection
SSH bastion host for tunneling
PostgreSQL database port
5432PostgreSQL database password
PostgreSQL database name
Whether to use SSH tunneling for database connection
falsePostgreSQL database username
SSH bastion username
Security Notice
Your environment variables and credentials are securely stored and encrypted. LangDB never shares these configuration values with third parties.