Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoCanvas server bind address.127.0.0.1
PORTNoCanvas server bind port.3000
AI_MODELNoBuilt-in AI model name.
CANVAS_IDNoCanvas the CLI and the MCP server work on.main
LOG_LEVELNoLog verbosity: error, warn, info or debug.info
AI_API_KEYNoBuilt-in AI API key. Optional for local openai-compatible endpoints.
AI_BASE_URLNoRequired for openai-compatible, for example https://api.openai.com/v1; optional for anthropic.
AI_PROVIDERNoBuilt-in AI provider: anthropic or openai-compatible.
AI_MAX_STEPSNoBuilt-in AI limit for steps per run.12
LOG_FILE_PATHNoLog file location. Defaults are platform-specific.
ALLOWED_ORIGINSNoComma-separated extra origins allowed to call the canvas API from a browser.
AI_REQUEST_EXTRANoJSON object added to every built-in AI model request for provider-specific fields.
AI_REQUEST_HOSTSNoComma-separated host names, https only, where a request-supplied built-in AI model may live. Use none to allow no request model.
ENABLE_CANVAS_SYNCNoEnable real-time canvas sync.true
EXCALIDRAW_HEADERSNoJSON object of extra HTTP headers sent on every request to the canvas server, e.g. {"Authorization":"Bearer <secret>"}.
EXPRESS_SERVER_URLNoURL of the canvas server.http://127.0.0.1:3000
EXCALIDRAW_DATA_DIRNoOptional local durable-state directory. When unset, canvas state remains in-memory.
AI_MAX_OUTPUT_TOKENSNoBuilt-in AI limit for output tokens per run.8192
EXCALIDRAW_EXPORT_DIRNoDirectory MCP file tools may read and write. Symlinks are resolved; only .excalidraw, .json, .md, .png and .svg files are allowed.current working directory
EXCALIDRAW_NO_AUTOSTARTNoSet to 1 to disable canvas auto-start.
EXCALIDRAW_RENDER_MAX_DIMNoLargest side of a headless PNG, in pixels.8192
EXCALIDRAW_SHARE_BASE_URLNoExcalidraw app that share links open in.https://excalidraw.com
EXCALIDRAW_SHARE_UPLOAD_URLNoWhere share uploads the encrypted scene (an excalidraw-json POST endpoint).https://json.excalidraw.com/api/v2/post/
EXCALIDRAW_PNG_WORKER_TIMEOUT_MSNoTimeout for the isolated PNG rasterizer, in milliseconds.120000
EXCALIDRAW_ALLOW_INSECURE_HEADERSNoSet to 1 on a trusted network to allow EXCALIDRAW_HEADERS over plain http:// to a non-local host.

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