Does go-mcp-postgres need Node.js or Python?
No. It is a standalone Go binary with no external runtime dependencies.
@guoling2008
基本信息
Zero burden, ready-to-use Model Context Protocol (MCP) server for interacting with postgresql and automation with sse / stdio mode and i18n support
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"postgres": {
"command": "go-mcp-postgres",
"args": [
"--dsn",
"postgresql://user:pass@host:port/db"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
go-mcp-postgres is a lightweight, standalone Model Context Protocol (MCP) server for interacting with PostgreSQL databases. It requires no Node.js or Python runtime and provides tools for CRUD operations, schema management, and read-only queries. It is intended for developers and AI agents who need zero‑burden database automation.
Download the latest binary from the releases page or install via go install -v github.com/guoling2008/go-mcp-postgres@latest. Configure it in your MCP client using the --dsn flag for stdio mode, or use --t sse --ip <ip> --port <port> for SSE mode. Optional flags include --read-only (disables write tools) and --with-explain-check (forces EXPLAIN before every query).
--lang)No. It is a standalone Go binary with no external runtime dependencies.
Stdio mode is the default, suitable for local MCP integrations. SSE mode (`--t sse`) listens on a specified IP and port for remote connections.
By default, every write query is preceded by an `EXPLAIN` statement to verify the query plan matches expected patterns. Use `--with-explain-check` to disable this behavior.
The README notes this is a work in progress and may not yet be ready for production use.
Currently English (en) and Chinese (zh‑CN) are built‑in. Custom language files can be added in the locales folder.

Model Context Protocol Servers
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.

Safety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.
评论