Skip to main content
Glama
vk-ai

PgGuard Agent

by vk-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PGHOSTNoDatabase host.127.0.0.1
PGPORTNoDatabase port.5432
PGUSERNoDatabase user.
PGSSLMODENoSSL mode.disable
PGDATABASENoDatabase name.
VAULT_ADDRNoVault address (required when PGGUARD_SECRETS_PROVIDER=vault).
VAULT_TOKENNoVault token (required when PGGUARD_SECRETS_PROVIDER=vault).
PGGUARD_ROLENoRole selecting reader, writer, migrator, or admin (config/policy.yaml).
PGGUARD_AUDIT_DIRNoDirectory for audit logs../data/audit
PGGUARD_POLICY_PATHNoPath to policy.yaml../config/policy.yaml
PGGUARD_SECRETS_PROVIDERNoSecrets provider: env or vault.

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
db_healthA

Ping Postgres and return server version

list_schemasA

List non-system schemas

list_tablesA

List tables, optionally filtered by schema

describe_tableC

Describe columns for a table

run_selectA

Run a single SELECT (max rows enforced; read-only role preferred)

run_dmlA

INSERT/UPDATE/DELETE when role allows; requires confirm:true

run_ddlA

CREATE/ALTER/DROP for migrator/admin; requires confirm:true; optional dry_run

explain_queryC

EXPLAIN a query; ANALYZE optional and gated by policy

get_audit_tailA

Return last N append-only audit events

whoamiA

Current agent role and effective policy

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/vk-ai/pg-governance-agent'

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