1. Conduid
  2. Data
  3. Postgres MCP Go
MCP server · Data

Postgres MCP Go

A PostgreSQL MCP (Model Context Protocol) server implementation in Go that provides secure database access for AI agents.

34Low

Scored 6 months ago · breakdown

About Postgres MCP Go

Postgres MCP Go is an MCP server in the Data category: a PostgreSQL MCP (Model Context Protocol) server implementation in Go that provides secure database access for AI agents.

Install

From source
git clone https://github.com/tendant/postgres-mcp-go

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Postgres MCP Go

Powered by Claude · Grounded in docs

I know everything about Postgres MCP Go. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

postgres-mcp-go

A PostgreSQL MCP (Model Context Protocol) server implementation in Go that provides secure database access for AI agents.

Features

  • Multiple modes: stdio and HTTP server
  • Security: Read-only mode support, query validation
  • Connection pooling: Efficient PostgreSQL connection management
  • Configurable limits: Row limits, timeouts, request size controls

Quick Start

# Build
make build

# Run in stdio mode (for AI agents)
DATABASE_URL="postgres://user:pass@host/db" make run-stdio

# Run HTTP server
DATABASE_URL="postgres://user:pass@host/db" make run-http

Usage

# Basic usage
./bin/postgres-mcp --database-url "postgres://user:pass@host/db"

# Read-only mode (recommended)
./bin/postgres-mcp --database-url "postgres://user:pass@host/db" --readonly

# HTTP mode
./bin/postgres-mcp --mode http --listen :8080 --database-url "postgres://user:pass@host/db"

Configuration

  • --mode: stdio (default) or http
  • --database-url: PostgreSQL connection string
  • --readonly: Reject mutating SQL statements
  • --max-rows: Limit rows returned per query
  • --timeout: Per-request timeout
  • --listen: HTTP listen address (HTTP mode)

Requirements

  • Go 1.23.3+
  • PostgreSQL database

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Postgres MCP Go

How do I install Postgres MCP Go?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Postgres MCP Go safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Postgres MCP Go still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.