OwnPG MCP server
Commit Sep 24, 2026Provides PostgreSQL DBA tools to AI clients, allowing them to interact with a specific database and schema.
Also known as devops-infinity/ownpg-releases, ownpg-releases
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 0.1.2
- Last commit
- Sep 24, 2026
- License
- Apache-2.0
What is OwnPG MCP?
OwnPG provides PostgreSQL DBA tools to AI clients, allowing them to interact with a specific database and schema.
Summary generated from the project's README
About OwnPG MCP server
OwnPG provides specialized database administration tools designed for AI clients using the Model Context Protocol. It allows an AI to interact with a specific PostgreSQL database and schema through a stdio connection. The server is built for developers who need to expose a reachable PostgreSQL instance, version 14 through 18, to an AI agent in a controlled manner.
Users can deploy the server using several methods including Homebrew, npm, or cargo. It supports multiple operating systems such as macOS, Linux, and Windows across various architectures like Apple Silicon, x86_64, and ARM64. By default, the tool serves a single database in a read-only mode using the public schema.
Before going live, developers can use the doctor command to verify the connection to the database. The project is currently in development and is maintained by a single individual. It provides security features like checksum verification and CycloneDX SBOMs to ensure the integrity of the downloaded binaries.
What you can do with it
- 1Verify database connectivityRun a diagnostic check to ensure the connection to the PostgreSQL server is working before serving it to an AI client.
- 2Expose a database to an AIStart a read-only session for a specific database so an AI agent can interact with the public schema.
- 3Install via package managersSet up the DBA tools quickly using standard distribution methods like Homebrew or npm.
Written from the project's README. Every use case is checked against a quote from it.
Configuration
OWNPG_PASSWORDSecretThe role's password.
OWNPG_HOSTHost name, address, or Unix socket directory.
OWNPG_PORTPostgreSQL port.
OWNPG_USERThe PostgreSQL role to connect as.
| Name | Description | |
|---|---|---|
| OWNPG_PASSWORD | The role's password. | Secret |
| OWNPG_HOST | Host name, address, or Unix socket directory. | |
| OWNPG_PORT | PostgreSQL port. | |
| OWNPG_USER | The PostgreSQL role to connect as. |
Automated checks
Ran Nov 14, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachabledevops-infinity/ownpg-releases is public and reachablegithub.com/devops-infinity/ownpg-releases ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-09-24github.com/devops-infinity/ownpg-releases ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHubOwnPG releases
Release artifacts, installers, and bug reports for OwnPG, the PostgreSQL DBA tool for AI clients over the Model Context Protocol. This repository is where every install path resolves and where problems are reported.
Status
OwnPG is in development. No version has been released yet. The first release appears on the Releases page of this repository when the maintainer declares the tool stable.
Prerequisites
- A reachable PostgreSQL server, version 14 through 18.
- Rust 1.89 or newer, only if you install with
cargo installorcargo binstall.
Installing
Every path below resolves against the releases here.
- From crates.io, building locally:
cargo install ownpg --locked - A prebuilt binary through cargo:
cargo binstall ownpg - The shell installer (macOS and Linux) and the PowerShell installer (Windows) are attached to every release.
- Homebrew:
brew install devops-infinity/tap/ownpg - npm:
npm install -g @devops-infinity/ownpg
Eight prebuilt targets ship with every release: macOS on Apple Silicon and Intel, Linux with glibc and fully static with musl on x86_64 and aarch64, and Windows on x86_64 and ARM64.
Usage
Serve one database over stdio, read-only, with the default schema public:
ownpg serve -d app
Run ownpg doctor to check the connection before serving it live, and ownpg man for the full command reference.
Verifying a download
Every release carries sha256.sum with the checksum of every archive, and sha256.sum.minisig, a minisign signature over that file. The public key is published in this README at the first release. Verify with minisign -Vm sha256.sum -P <public key>, then sha256sum -c sha256.sum (or shasum -a 256 -c on macOS). Every archive also carries a CycloneDX SBOM and THIRD-PARTY.txt with the license of every dependency, and the binary embeds its dependency list for cargo audit bin.
Reporting a problem
Open an issue here with the template that fits: a bug, or a connection problem. Include the ownpg --version line and the ownpg doctor output with any password removed.
Security problems go through private vulnerability reporting on this repository, never through a public issue. See SECURITY.md.
Maintenance
OwnPG has one maintainer and one publisher. Outside code contributions are not accepted; bug reports are welcome. A successor will be named before the project is relied on by others.
License
The artifacts are licensed under either of the MIT license (LICENSE-MIT) or the Apache License, Version 2.0 (LICENSE-APACHE), at your option.
OwnPG MCP questions
Which PostgreSQL versions are supported?
The tool supports PostgreSQL server versions 14 through 18.
How can I check if my connection is working before serving?
You can use the 'ownpg doctor' command to verify the connection.
Is the server read-write or read-only?
By default, the server operates in read-only mode.