Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_KEYNoAlias for MCP_API_KEY.
NODE_ENVNoWhen set to development or test, allows loopback upstream URLs in validateUrl().
LOG_LEVELNoJSON logger level written to stderr: debug, info, warn, error, or silent.info
MCPRC_PATHNoExplicit path to a .mcprc.json file in the Node CLI; checked before ./.mcprc.json and ~/.mcprc.json.
MCP_API_KEYNoAuthentication key via Authorization: Bearer or X-API-Key. Required outside loopback for CLI HTTP; optional/forceable in the Cloudflare Worker.
OAUTH_ISSUERNoOAuth metadata issuer for the Worker OAuth 2.0 RFC 8414/9728 endpoints.
API_KEY_VALUENoExtra authentication header value for custom upstream proxies/APIs in the Node CLI.
MCP_CACHE_TTLNoCache TTL in milliseconds.3600000
MCP_HTTP_HOSTNoBind host for the CLI HTTP server. Non-loopback addresses require MCP_API_KEY.127.0.0.1
MCP_HTTP_PORTNoTCP port for HTTP mode; Worker default is 8787.3000
MCP_TRANSPORTNoTransport for the Node.js CLI: stdio or http (Streamable HTTP + SSE).stdio
API_KEY_HEADERNoExtra authentication header name for custom upstream proxies/APIs in the Node CLI.
MCP_CACHE_SIZENoLRU cache capacity.256
MCP_RATE_LIMITNoMaximum requests per 60-second window per IP in CLI HTTP and Worker.100
MCP_API_TIMEOUTNoAlias/default for standard HTTP request timeout (Transferegov and CKAN).8000
MCP_DPO_CONTACTNoDPO/Encarregado contact exposed in GET /health privacy.dpo_contact in the Cloudflare Worker.
OAUTH_CLIENT_IDNoOAuth client ID for Worker OAuth metadata.
MCP_HTTP_TIMEOUTNoTimeout in milliseconds for standard HTTP requests (Transferegov and CKAN).8000
MCP_ORDS_TIMEOUTNoTimeout in milliseconds for ORDS calls (SICONFI and SADIPEM).15000
MCP_REQUIRE_AUTHNoIn the Worker, set to "true" to operate fail-closed with 401 when no key is provisioned.
MCP_ALLOWED_HOSTSNoComma-separated Host headers accepted by the CLI HTTP server (DNS rebinding protection).
OAUTH_CLIENT_SECRETNoOAuth client secret for Worker OAuth metadata.
OAUTH_REDIRECT_URISNoOAuth redirect URIs for Worker OAuth metadata.
CORS_ALLOWED_ORIGINSNoComma-separated CORS origins allowed; default is loopback for CLI and * for Worker.
TESOURO_CKAN_BASE_URLNoAllowlisted override for Tesouro Transparente CKAN base URL.https://www.tesourotransparente.gov.br/ckan/api/3/action/
TESOURO_ORDS_BASE_URLNoAllowlisted override for SICONFI and SADIPEM ORDS base URL.https://apidatalake.tesouro.gov.br/ords/
TRANSFEREGOV_BASE_URLNoAllowlisted override for Transferegov PostgREST base URL.https://api.transferegov.gestao.gov.br/
MCP_ALLOW_LOCALHOST_APISNoIn the Worker, set to "true" to allow loopback upstream URLs in local tests.
MCP_CORS_ALLOWED_ORIGINSNoComma-separated CORS origins allowed; prioritized by cli-http.ts over CORS_ALLOWED_ORIGINS.
MCP_MAX_TOOL_OUTPUT_CHARSNoMaximum characters of JSON returned per tool; minimum 1024.100000

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