Skip to main content
Glama
dockndevai

mcp-percona-pg

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PERCONA_MODENoAccess mode: read-only, read-write, or admin. Over-privileged tools are never registered. Defaults to read-only.read-only
PERCONA_DRY_RUNNoSet to 'true' to run in validate-only/dry-run mode.false
PERCONA_AUDIT_LOGNoSet to 'true' to write a JSON audit line per guarded operation.false
PERCONA_NAMESPACENoNamespace allowlist (used in quickstart examples; may be an alias for PERCONA_NAMESPACE_ALLOWLIST).
PERCONA_ALLOW_DELETENoSet to 'true' to allow delete operations (requires admin mode).false
PERCONA_ALLOW_RESTORENoSet to 'true' to allow restore operations (requires admin mode).false
PERCONA_ALLOW_UPGRADENoSet to 'true' to allow upgrade operations (requires admin mode).false
PERCONA_CLUSTER_ALLOWLISTNoComma-separated list of clusters the agent is allowed to access.
PERCONA_PROTECTED_CLUSTERSNoComma-separated list of clusters that are readable but never mutated, restored, or deleted.
PERCONA_NAMESPACE_ALLOWLISTNoComma-separated list of namespaces the agent is allowed to access.
PERCONA_REQUIRE_CONFIRMATIONNoSet to 'true' to require echoing the cluster name for high-impact operations.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_contextsA

List the contexts (clusters) available in the loaded kube-config.

list_clustersA

List PerconaPGCluster resources (PostgreSQL + PgBouncer). Omit namespace to list across all namespaces. Results are filtered by the namespace/cluster allowlists; protected clusters are flagged.

get_clusterB

Summary of a PerconaPGCluster: state, PostgreSQL size, PgBouncer, version, standby, host.

get_cluster_statusB

The full .status of a PerconaPGCluster — Patroni members, PostgreSQL/PgBouncer readiness, host, and conditions.

get_connection_infoA

Connection endpoints for a cluster: the primary/replica Service hosts, port, and the declared users (names only — passwords live in Secrets and are never returned).

get_pgbouncer_configB

The PgBouncer settings for a cluster: replicas, pool_mode, and the global pool tunables.

get_pg_parametersA

The tuned PostgreSQL parameters from spec.patroni.dynamicConfiguration.postgresql.parameters (the only correct place to set them — direct postgresql.conf edits are reverted by Patroni).

list_backupsA

List PerconaPGBackup resources in a namespace, with their state, repo, and completion time.

list_restoresA

List PerconaPGRestore resources in a namespace, with their target cluster and state.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dockndevai/mcp-percona-pg'

If you have feedback or need assistance with the MCP directory API, please join our Discord server