
PostgreSQL MCP Server已精选
@modelcontextprotocol
基本信息
关于 PostgreSQL MCP Server
Model Context Protocol Servers
连接前先了解
文档核对日期:2026-10-25
适合什么场景
这是旧版 PostgreSQL 参考服务,文档现位于 servers-archived 仓库。上游介绍其提供 schema 读取和只读 SQL 查询。
配置与限制
新部署请先比较仍在维护的数据库集成。如需评估此参考实现,使用临时数据库以及数据库层强制只读的角色,不要仅依赖工具说明。原 servers/main/src/postgres 链接已不是当前源码位置。
本说明依据所列文档核对,未代表通过账户认证的实际连接测试;建议检查项需要在你的环境执行。
PostgreSQL MCP Server 配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
}
}
}PostgreSQL MCP Server 工具
1Run a read-only SQL query
概览
What is PostgreSQL?
—
How to use PostgreSQL?
—
Key features of PostgreSQL
—
Use cases of PostgreSQL
—
FAQ from PostgreSQL
—
数据库 分类下的更多 MCP 服务器
Neon MCP Server
neondatabaseMCP server for interacting with Neon Management API and databases

Local YDB MCP
astandrikSafety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Redis MCP Server
redisThe official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently

Expired Domains MCP | Karma.Domains
karma-domainsConnect Karma.Domains to ChatGPT, Claude, Cursor, VS Code, or another MCP client — and find a domain in plain language. The same auctions, expired, backorder, and buy-now data you use in the app, plus saved filters, note
评论