Go MCP Postgres MCP Server

Copy code from https://github.com/Zhwt/go-mcp-mysql/ and with AI help, I change db from mysql to postgres. Zero burden, ready-to-use Model Context

Local serverstdioPython

What is the Go MCP Postgres MCP Server?

Copy code from https://github.com/Zhwt/go-mcp-mysql/ and with AI help, I change db from mysql to postgres. Zero burden, ready-to-use Model Context Protocol (MCP)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ReturnsThe row number of the table.
Parameters:name: The name of the table to count.

How to install the Go MCP Postgres MCP Server

{
  "mcpServers": {
    "postgres": {
      "command": "go-mcp-postgres",
      "args": [
        "--dsn",
        "postgresql://user:pass@host:port/db"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Go MCP Postgres to Parameters.”
  • “Use Go MCP Postgres to Returns.”

Frequently asked questions

Copy code from https://github.com/Zhwt/go-mcp-mysql/ and with AI help, I change db from mysql to postgres. Zero burden, ready-to-use Model Context Protocol (MCP) Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.