What database engine does SQL MCP Server (TypeScript) support?
It supports PostgreSQL and uses the `pg` library to execute read-only queries.
@MCP-Mirror
基本信息
Mirror of
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"t3ta_sql-mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://<user>:<pass>@localhost:5433/<dbname>"
]
}
}
}Run a read-only SQL query
SQL MCP Server (TypeScript) is a TypeScript implementation of a Model Context Protocol (MCP) server that enables language models and other MCP-compatible clients to query PostgreSQL databases, with optional SSH bastion tunnel support for secure access to private RDS instances. It uses read-only transactions and STDIO-based communication, making it suitable for local, containerized, or AI-driven use cases.
Clone the repository, install dependencies with npm install, and build with npm run build. Run the server using npx -y @modelcontextprotocol/server-postgres postgresql://<user>:<pass>@localhost:5433/<dbname>, optionally configuring SSH bastion or direct connection via environment variables or a .env file.
pg library.env or environment variablesIt supports PostgreSQL and uses the `pg` library to execute read-only queries.
Yes, it includes SSH bastion support for secure connections to private RDS instances.
It uses STDIO-based MCP protocol transport for communication with clients.
It has been tested with memory-bank-mcp-server, Claude Desktop (via STDIO), Cursor IDE, and Supabase MCP integration.
Credentials and connection options can be set via a `.env` file or directly as environment variables for PostgreSQL details and SSH bastion configuration.
MCP server for interacting with Neon Management API and databases
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
评论