Is this server read-only?
Yes. All queries are executed inside a READ ONLY transaction, preventing any data modification.
@vinsidious
基本信息
MCP server for getting schema information from a PostgreSQL database
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-pg-schema": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/postgres",
"-f",
"src/postgres/Dockerfile",
"."
]
}
}
}Execute read-only SQL queries against the connected database
A Model Context Protocol server that provides read-only access to PostgreSQL databases, enabling LLMs to inspect database schemas and execute read-only SQL queries.
Configure the server in the claude_desktop_config.json under mcpServers using either Docker (run mcp/postgres image) or NPX (@modelcontextprotocol/server-postgres). Provide a PostgreSQL connection URL (e.g., postgresql://host.docker.internal:5432/mydb) as an argument.
query tool.Yes. All queries are executed inside a READ ONLY transaction, preventing any data modification.
You need a running PostgreSQL database and either Docker or Node.js (for NPX). The server connects to the database via the provided URL.
Include username and password in the PostgreSQL connection URL, e.g., `postgresql://user:password@host:port/db-name`.
Schema information is automatically discovered from the connected database's metadata. Each table's JSON schema includes column names and data types.
The server follows the Model Context Protocol (stdio-based transport as typical for Claude Desktop MCP servers). The README does not detail other transport options.
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.

Fund Momentum MCP Server — VC intelligence for AI assistants. 1000+ active VC funds, live investor signals, AI-powered startup matching.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
MCP server for interacting with Neon Management API and databases
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
评论