Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP server bind host0.0.0.0
PORTNoHTTP server bind port3000
OUTPUT_DIRNoOutput directory for generated images./data/out
OIDC_ISSUERNoOIDC issuer URL (required for oidc mode)
ALLOWED_HOSTSNoComma-separated allowed host headers
INLINE_IMAGESNoInclude base64 image data in tool responses0
MCP_AUTH_MODENoAuth mode: token, oidc, nonetoken
OIDC_AUDIENCENoExpected token audience(s)
OIDC_JWKS_URINoOverride JWKS URI (skips discovery)
GOOGLE_API_KEYNoBackward-compatible alias
MCP_AUTH_TOKENNoStatic bearer token(s)
MCP_AUTH_TOKENSNoComma-separated multiple tokens
PUBLIC_BASE_URLNoBase URL for download linkshttp://localhost:$PORT
MCP_MAX_SESSIONSNoMaximum concurrent sessions100
VERTEX_AI_API_KEYNoVertex AI API key (preferred)
GOOGLE_CLOUD_API_KEYNoBackward-compatible alias
MCP_ALLOW_QUERY_TOKENNoAllow ?token=... query param auth1 (token mode)
VERTEX_AI_IMAGE_MODELNoModel for image generationgemini-3-pro-image-preview
MCP_SESSION_TIMEOUT_MINNoSession timeout in minutes30

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/arunsanna/gemini-diagram-mcp'

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