PP

pgmoneta/pgmoneta_mcp

Developer tools
19 stars 32 forks Quality 60 Trend 42GPL-3.0

The official MCP server for pgmoneta

Overview

is the official Model Context Protocol server built for pgmoneta, a backup / restore solution for PostgreSQL. It uses SCRAM-SHA-256 to authenticate with pgmoneta server. User management is done with the administration tool called pgmoneta-mcp-admin. Interactive tool execution is available through pgmoneta-mcp-client, while pgmoneta-mcp-inspector provides a more structured inspection CLI. The native client communicates with language models through the OpenAI API. For a local model, the documented server is orangu-server. Point pgmoneta-mcp-client at its OpenAI endpoint: The following commands will install in the /usr/local hierarchy. The following commands will create a DEBUG version of . Contributions to are managed on GitHub.com

README

pgmoneta MCP

pgmoneta MCP is the official Model Context Protocol server built for pgmoneta, a backup / restore solution for PostgreSQL.

Overview

pgmoneta MCP is built upon rmcp.

It uses SCRAM-SHA-256 to authenticate with pgmoneta server.

User management is done with the administration tool called pgmoneta-mcp-admin. Interactive tool execution is available through pgmoneta-mcp-client, while pgmoneta-mcp-inspector provides a more structured inspection CLI.

OpenAI API support

The native pgmoneta MCP client communicates with language models through the OpenAI API. For a local model, the documented server is orangu-server.

Start an installed model:

orangu-server --all ggml-org/gemma-4-E4B-it-GGUF

Point pgmoneta-mcp-client at its OpenAI endpoint:

[pgmoneta_mcp_client]
url = http://localhost:6432/mcp
timeout = 30
model = gemma

[gemma]
provider = openai
endpoint = http://localhost:8100/v1
model = ggml-org/gemma-4-E4B-it-GGUF
max_tool_rounds = 10

See doc/LOCAL_LLM.md for the setup.

Compiling the source

pgmoneta requires

dnf install rust rust-analyzer rustfmt rust-src rust-std-static cargo

Release build

The following commands will install pgmoneta MCP in the /usr/local hierarchy.

git clone https://github.com/pgmoneta/pgmoneta_mcp.git
cd pgmoneta_mcp
cargo build --release
sudo cargo install --root /usr/local/

Debug build

The following commands will create a DEBUG version of pgmoneta MCP.

git clone https://github.com/pgmoneta/pgmoneta_mcp.git
cd pgmoneta_mcp
cargo build
cd target/debug

Contributing

Contributions to pgmoneta are managed on GitHub.com

Contributions are most welcome !

Please, consult our Code of Conduct policies for interacting in our community.

Consider giving the project a star on GitHub if you find it useful. And, feel free to follow the project on X as well.

License

GNU General Public License v3.0

View the full README on GitHub

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →