PGMCP v0.3.0
PostgreSQL Model Context Protocol Server - Pre-compiled binaries for multiple platforms.
Quick Start
- Download the appropriate binary for your platform below
- Extract the archive
- Set up your environment variables:
export DATABASE_URL="postgres://user:password@localhost:5432/mydb" export OPENAI_API_KEY="your-api-key" # Optional
- Run the server:
./pgmcp-server - Test with the client:
./pgmcp-client -ask "What tables do I have?" -format table
Platform Support
- Linux: x86_64 and ARM64
- macOS: Intel and Apple Silicon (M1/M2/M3)
- Windows: x86_64 and ARM64
Changelog
Installation via Package Managers
# Homebrew (macOS/Linux)
brew tap subnetmarco/homebrew-tap
brew install pgmcp
# Linux packages
sudo apt install ./pgmcp_0.3.0_linux_amd64.deb # Debian/Ubuntu
sudo rpm -i pgmcp_0.3.0_linux_amd64.rpm # RedHat/CentOSDocker
# Server
docker run -e DATABASE_URL=your_db_url -e OPENAI_API_KEY=your_key ghcr.io/subnetmarco/pgmcp:v0.3.0Full Changelog: 0.2...v0.3.0