PostgreSQL
Level ACuratedOfficialLocal官方数据库连接器:自然语言查表、看结构、跑 SQL,建议配只读账号保平安
Overview
Official PostgreSQL connector for natural-language queries, schema inspection, and SQL—prefer a read-only account for safety.
Installation
MCP client config (paste into mcp.json)
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://user:pass@host/db"
]
}
}
}Agent install prompt
Copy and paste into Cursor / Claude / other agents to install this MCP for you
Please read this MCP repository and install it into my current environment:
https://github.com/modelcontextprotocol/servers
Known working client config (can write into mcp.json):
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://user:pass@host/db"
]
}
}
}
Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.
Related servers
Filesystem官方基础件:读写本地文件、目录增删、批量整理,AI 直接操作你的文件系统Fetch官方基础件:抓取任意网页并转成 Markdown,让 AI 读懂链接内容mempalaceThe best-benchmarked open-source AI memory system. And it's free.private-gptComplete API layer for private AI applications on local models: RAG, skills, toocodebase-memory-mcpLocal code intelligence for developers and AI agents. Connect code, docs and infcontext-modeFree, local plugin that keeps tool output out of your coding agent's context win