What MCP tools does the server expose?
The server provides four tools: `execute_tool` (single SQL statement), `query_tool` (SELECT queries), `transaction_tool` (multi-statement transactions), and `schema_tool` (table schema).
@habuvo
基本情報
MCP server to interact with and inspect PostgreSQL DB
ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
PostgreSQL MCP Server is a Model Context Protocol (MCP) server that provides a standardized API for interacting with PostgreSQL databases. It enables developers to execute queries, perform database operations, and manage transactions through MCP-compatible clients while using parameterized inputs for secure SQL execution.
Clone the repository, install dependencies via go mod download, configure database credentials in a .env file, build with go build -o postgres-mcp, and run the server with ./postgres-mcp. The server exposes four MCP tools—execute_tool, query_tool, transaction_tool, and schema_tool—that accept JSON-formatted requests and return structured responses. A Go client example is provided in the README.
The server provides four tools: `execute_tool` (single SQL statement), `query_tool` (SELECT queries), `transaction_tool` (multi-statement transactions), and `schema_tool` (table schema).
All queries must use parameterized inputs (e.g., `$1`, `$2`) rather than concatenating user-provided values directly into SQL strings.
The server is written in Go and requires a PostgreSQL database. Database connection details are configured in a `.env` file using credentials provided by the user.
Yes, the `transaction_tool` accepts an array of statements and executes them as an atomic transaction, returning results for each statement.
Yes, the README recommends using SSL/TLS for database connections in production environments.
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Local MCP server for DuckDB and MotherDuck

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.
コメント