What type of database access does mcp-server-postgres provide?
It provides read-only access only. All queries are executed within READ ONLY transactions to protect your data.
@yuru-sha
基本信息
MCP Server for PostgreSQL databases
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-postgres-yuru-sha": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/postgres",
"postgresql://host:port/dbname"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
mcp-server-postgres is a Model Context Protocol (MCP) server for PostgreSQL databases. It lets LLMs inspect database schemas and execute read-only queries, providing safe, read-only access to PostgreSQL through the MCP interface.
Install via Docker (build with make docker and run with docker run -i --rm mcp/postgres postgresql://host:port/dbname) or install via Smithery (npx -y @smithery/cli install @yuru-sha/mcp-server-postgres --client claude). For Claude Desktop, add a configuration entry to claude_desktop_config.json specifying the Docker command and connection URL.
It provides read-only access only. All queries are executed within READ ONLY transactions to protect your data.
Use a connection URL in the format `postgresql://[user][:password]@host[:port]/database`. Replace `/database` with your database name.
You need either Docker (to run the provided Docker image) or Node.js (if installing via Smithery/npm). A running PostgreSQL instance is required.
No. The server enforces read-only queries; any write operations are blocked by the READ ONLY transaction mode.
Authentication is handled through the PostgreSQL connection string, which can include username and password. For enhanced security, creating a dedicated read-only PostgreSQL user is recommended.
MCP server for interacting with Neon Management API and databases
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
评论