Skip to main content
Glama
TH07008

agentic-governance-gateway

by TH07008

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level: trace, debug, info, warn, errorinfo
BACKEND_CWDNoWorking directory for the backend process (optional)
BACKEND_ENVNoJSON object of environment variables for the backend process
CORS_ORIGINNoAllowed CORS origin for REST API*
BACKEND_ARGSNoJSON array of arguments for the backend command (e.g. ["mcp-server-filesystem","/workspace"])
DATABASE_URLNoPostgreSQL connection string. When unset or 'memory', uses in-memory storagememory
METRICS_PORTNoPort for the /metrics endpoint9090
OPA_WASM_PATHNoPath to pre-built OPA WASM bundle. When set, OPA is the primary evaluator
OPA_POLICY_DIRNoDirectory with Rego policy files./policies
WORKSPACE_ROOTNoRoot directory for path confinement (Ring 1 agents cannot write outside this).
AGENT_ALLOWLISTNoComma-separated list of allowed agent IDs (e.g. claude-code,cursor)
BACKEND_COMMANDNoBackend MCP server command (e.g. npx). When set, the gateway runs as a transparent proxy
GATEWAY_API_KEYNoREST API key. Required for REST API to function. Without it, all non-healthz routes return 401
MCP_SERVER_NAMENoMCP server name reported to clientsagentic-governance-gateway
METRICS_ENABLEDNoCollect Prometheus metricstrue
DASHBOARD_ENABLEDNoEnable the HTML dashboard at /dashboardtrue
AGENT_AUTH_ENABLEDNoEnable agent identity verification on MCP initializefalse
MCP_SERVER_VERSIONNoMCP server version0.1.0
POLICY_FALLBACK_JSNoFall back to TypeScript evaluator when OPA unavailabletrue
SHADOW_AGENT_POLICYNoPolicy for unknown agents: warn (log only) or deny (block)warn
AGENT_TOOL_ALLOWLISTNoPer-agent tool allowlist (format: agentId:tool1,tool2;agentId2:tool3)
HITL_TIMEOUT_SECONDSNoReview request timeout before auto-deny300
RATE_LIMIT_PER_MINUTENoMax actions per agent per minute60
DEFAULT_PRIVILEGE_RINGNoDefault privilege ring for unauthenticated agents (0=full, 1=sandboxed, 2=read-only)1
DEFAULT_DAILY_BUDGET_USDNoDefault per-agent daily budget cap50
DEFAULT_MONTHLY_BUDGET_USDNoDefault per-agent monthly budget cap1000

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/TH07008/agentic-governance-gateway'

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