Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APP_NAMENoLegacy Postgres/Vault migration source only; not a current naming knob.
VAULT_ADDRYesVault server address.
POSTGRES_DBYesPostgres database name.
VAULT_TOKENYesVault token used by the application.
MCP_A2A_PATHNoA2A JSON-RPC endpoint path.
MCP_HTTP_HOSTNoHTTP transport listen host.
MCP_HTTP_PATHNoMCP HTTP endpoint path.
MCP_HTTP_PORTNoHTTP transport listen port.
POSTGRES_HOSTYesPostgres host.
POSTGRES_PORTYesPostgres port.
POSTGRES_USERYesPostgres user.
MCP_AUTHZ_MODENoAuthorization mode: auto (default), admin-key, or oauth-scopes.
PGBOSS_ENABLEDNoEnable pg-boss queue tools. Defaults to true; when false, pgboss_* tools return 503.
PGBOSS_MIGRATENoApply pg-boss schema migrations on start. Defaults to true.
VAULT_KV_MOUNTNoVault KV v2 mount used by the application.
MCP_SERVER_NAMENoSingle namespace source for Postgres and Vault names. Defaults to inegi-denue-mcp.
PGBOSS_SUPERVISENoEnable pg-boss background maintenance/cron supervision. Defaults to false for MCP processes; the dedicated agent worker always enables it.
VAULT_UNSEAL_KEYNoOptional Vault unseal key injected at runtime.
MCP_A2A_CARD_PATHNoA2A Agent Card path.
POSTGRES_PASSWORDYesPostgres password.
DENUE_API_BASE_URLNoDENUE API base URL. Defaults to https://www.inegi.org.mx/app/api/denue/v1/consulta.
MCP_A2A_PUBLIC_URLNoExternally reachable A2A endpoint URL advertised in the Agent Card.
MCP_ADMIN_AUTH_KEYNoAdmin authorization key used for key-based admin operations.
MCP_HTTP_AUTH_MODENoHTTP authentication mode: token, oauth2, or both.
MCP_SERVER_VERSIONNoServer version.
MCP_TRANSPORT_MODENoTransport mode: stdio, http, or both.
VAULT_AGENT_ENABLEDNoEnable Vault Agent token auth/renewal support.
DENUE_API_TIMEOUT_MSNoDENUE API timeout in milliseconds. Defaults to 15000.
MCP_HTTP_ALLOWED_IPSNoComma-separated allowed client IPs.
MCP_HTTP_AUTH_TOKENSNoComma-separated bearer tokens for static HTTP token authentication.
MCP_HTTP_HEALTH_PATHNoHTTP health endpoint path.
MCP_HTTP_TLS_ENABLEDNoEnable native TLS termination via node:https. Defaults to false.
MCP_HTTP_TRUST_PROXYNoTrust forwarded client IP information from a proxy.
PGBOSS_CREATE_SCHEMANoCreate the pg-boss schema if missing. Defaults to true.
PGBOSS_MAX_POOL_SIZENoOptional maximum connection pool size for pg-boss.
MCP_HTTP_TLS_KEY_PATHNoPEM private key path; required when native TLS is enabled.
MCP_HTTP_TOKEN_SOURCENoHTTP token source: vault for indexed verification or static for MCP_HTTP_AUTH_TOKENS.
VAULT_AGENT_AUTH_MODENoVault Agent auth mode: none, file, listener, or both.
MCP_HTTP_OAUTH2_ISSUERNoOptional issuer check for the legacy single OAuth2 provider.
MCP_HTTP_TLS_CERT_PATHNoPEM certificate path; required when native TLS is enabled.
MCP_HTTP_MAX_BODY_BYTESNoMaximum HTTP request body size in bytes.
MCP_AGENT_MAX_GOAL_BYTESNoMaximum persisted goal size in bytes. Defaults to 16000.
MCP_AGENT_WORKER_ENABLEDNoEnable the dedicated agent worker.
MCP_HTTP_ALLOWED_ORIGINSNoComma-separated allowed HTTP origins.
MCP_HTTP_TLS_MIN_VERSIONNoOptional minimum TLS version. Defaults to TLSv1.2.
PGBOSS_CONNECTION_STRINGNoOptional dedicated pg-boss connection string; when empty, shared POSTGRES_* settings are used. Agent tasks and scheduling require the same database.
MCP_HTTP_OAUTH2_CLIENT_IDNoOAuth2 introspection client ID for the legacy single provider.
MCP_HTTP_OAUTH2_PROVIDERSNoComma-separated named OAuth2 introspection providers.
MCP_HTTP_OAUTH2_SCOPE_MAPNoOptional provider-scope to MCP-scope allowlist for the legacy single OAuth2 provider.
VAULT_AGENT_LISTENER_ADDRNoVault Agent listener address.
MCP_ALLOW_SENSITIVE_OUTPUTNoAllow sensitive fields in output when enabled.
MCP_CONFIG_DEFAULT_USER_IDNoDefault user ID for configuration scope.
MCP_HTTP_APIFY_PROXY_TOKENNoOptional trusted Apify proxy identity secret.
MCP_HTTP_OAUTH2_TIMEOUT_MSNoOAuth2 introspection timeout in milliseconds. Defaults to 5000.
POSTGRES_CONNECTION_STRINGNoOptional Postgres connection string; overrides individual Postgres fields.
VAULT_WRITE_RETRY_ATTEMPTSNoNumber of retry attempts for Vault writes.
MCP_HTTP_MCPIZE_PROXY_TOKENNoOptional trusted MCPize proxy identity secret.
MCP_HTTP_TLS_KEY_PASSPHRASENoOptional passphrase for an encrypted TLS private key.
VAULT_AGENT_TOKEN_FILE_PATHNoVault Agent token sink file path.
DENUE_API_MAX_RESPONSE_BYTESNoMaximum DENUE API response size in bytes. Defaults to 5242880 (5 MiB).
MCP_CONFIG_DEFAULT_TENANT_IDNoDefault tenant ID for configuration scope.
MCP_HTTP_OAUTH2_CACHE_TTL_MSNoOAuth2 introspection cache TTL in milliseconds. Defaults to 30000.
VAULT_AGENT_LISTENER_ENABLEDNoEnable Vault Agent listener operations.
MCP_CONFIG_DEFAULT_ACCOUNT_IDNoDefault account ID for configuration scope.
MCP_HTTP_OAUTH2_CLIENT_SECRETNoOAuth2 introspection client secret for the legacy single provider.
MCP_HTTP_RATE_LIMIT_WINDOW_MSNoHTTP rate-limit window in milliseconds.
MCP_AGENT_MAX_TASK_RUN_TIME_MSNoMaximum agent task run time in milliseconds. Defaults to 120000.
VAULT_WRITE_RETRY_MAX_DELAY_MSNoMaximum delay in milliseconds for Vault write retries.
MCP_AGENT_SCHEDULE_RECONCILE_MSNoAgent schedule reconciliation interval in milliseconds. Defaults to 30000.
MCP_HTTP_OAUTH2_REQUIRED_SCOPESNoComma-separated required OAuth2 scopes for the legacy single provider.
MCP_HTTP_VAULT_TOKEN_INDEX_PATHNoVault path for the HTTP bearer token index.
VAULT_WRITE_RETRY_BASE_DELAY_MSNoBase delay in milliseconds for Vault write retries.
MCP_HTTP_RATE_LIMIT_MAX_REQUESTSNoMaximum HTTP requests per rate-limit window.
MCP_AGENT_SCHEDULE_RETENTION_DAYSNoAgent schedule run retention in days. Defaults to 90.
MCP_CONFIG_DEFAULT_PRINCIPAL_TYPENoDefault principal type for configuration scope.
MCP_HTTP_OAUTH2_<PROVIDER>_ISSUERNoIssuer check for a named OAuth2 provider.
MCP_HTTP_OAUTH2_INTROSPECTION_URLNoOAuth2 introspection URL for the legacy single provider.
MCP_HTTP_OAUTH2_REQUIRED_AUDIENCENoRequired OAuth2 audience for the legacy single provider.
MCP_HTTP_VAULT_TOKEN_CACHE_TTL_MSNoCache TTL in milliseconds for Vault token verification.
MCP_HTTP_OAUTH2_<PROVIDER>_CLIENT_IDNoIntrospection client ID for a named OAuth2 provider.
MCP_HTTP_OAUTH2_<PROVIDER>_SCOPE_MAPNoProvider-scope to MCP-scope allowlist for a named OAuth2 provider.
MCP_HTTP_VAULT_TOKEN_DEFAULT_USER_IDNoDefault user ID for Vault token index fallback. Defaults to default.
MCP_HTTP_VAULT_TOKEN_REQUIRED_SCOPESNoRequired scopes for Vault-indexed HTTP tokens.
MCP_VAULT_AGENT_AUTH_MODE_CONFIG_KEYNoConfig key name for Vault Agent auth mode.
MCP_HTTP_OAUTH2_<PROVIDER>_TIMEOUT_MSNoIntrospection timeout in milliseconds for a named OAuth2 provider. Defaults to 5000.
MCP_HTTP_VAULT_TOKEN_REQUIRED_AUDIENCENoRequired audience for Vault-indexed HTTP tokens.
MCP_TOKEN_ROTATION_DEFAULT_INTERVAL_MSNoGlobal default token rotation interval in milliseconds.
MCP_HTTP_OAUTH2_<PROVIDER>_CACHE_TTL_MSNoIntrospection cache TTL in milliseconds for a named OAuth2 provider. Defaults to 30000.
MCP_HTTP_OAUTH2_<PROVIDER>_CLIENT_SECRETNoIntrospection client secret for a named OAuth2 provider.
MCP_VAULT_AGENT_LISTENER_ADDR_CONFIG_KEYNoConfig key name for Vault Agent listener address.
MCP_HTTP_OAUTH2_<PROVIDER>_REQUIRED_SCOPESNoComma-separated required scopes for a named OAuth2 provider.
MCP_VAULT_AGENT_TOKEN_FILE_PATH_CONFIG_KEYNoConfig key name for Vault Agent token file path.
MCP_TOKEN_ROTATION_USER_INTERVAL_CONFIG_KEYNoConfig key name for user-scoped token rotation interval override. Defaults to token.rotation.intervalMs.
MCP_HTTP_OAUTH2_<PROVIDER>_INTROSPECTION_URLNoRequired introspection URL for a named OAuth2 provider.
MCP_HTTP_OAUTH2_<PROVIDER>_REQUIRED_AUDIENCENoRequired audience for a named OAuth2 provider.

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

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