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.

Safety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.

Model Context Protocol Servers
コメント