Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoAddress of the HTTP transport. A loopback address listens on 127.0.0.1 and ::1.127.0.0.1
PORTNoPort of the HTTP transport (the API has 8000, the browser 8090).8100
API_KEYYesA key of the API. The role reader is enough for reading; writing needs editor.
API_URLNoRoot URL of the ArchiMate API, without /api/v2.http://127.0.0.1:8000
IMAGE_DIRNoWhere diagram_image saves files, relative to the server's folder; the tool's file names stay inside it.images
MCP_TOKENNoThe token HTTP clients send as Authorization: Bearer <token>; they all work with API_KEY. This or CLIENT_KEYS is required unless HOST is a loopback address.
CHANGE_LOGNoThe file every write is recorded in, one JSON line each, relative to the server's folder. Empty (the default since 1.7.0): the server's log only; the API's record of changes counts.
ALLOW_WRITENoWith true and a key with the role editor, the write tools are offered; see Writing.false
API_TIMEOUTNoSeconds one request to the API may take.60
BROWSER_DIRNoThe ArchiMate Browser's folder (2.29.0 or later), which draws the images of diagram_image (1.12.0). Empty: ArchiMateBrowser next to this server's folder.
BROWSER_URLNoThe ArchiMate Browser as its users open it, e.g. http://127.0.0.1:8090/. When set, answers carry a browserLink that opens what they describe as a diagram there. Empty: no links.
CLIENT_KEYSNotrue (1.7.0): every HTTP client sends its own key of the ArchiMate API as Authorization: Bearer <key>, and the server works with that key for that client. API_KEY may then stay empty.false
MAX_RESULTSNoMost items in one list of an answer (1 to 1000). The larger, the more of the assistant's context one answer takes; tools take a smaller limit.100
RENDER_IDLENoSeconds without an image after which the browser and the Browser server it uses stop; 0: they run until the MCP server stops.300
DEFAULT_MODELNoThe model the tools read when the assistant does not say which: an id or a name. Empty: the only model there is; with several, the tools ask.
RENDER_BROWSERNoThe browser that draws: auto (Chrome, else Edge), chrome, msedge, or the path of a Chromium-based browser's .exe.auto
RENDER_TIMEOUTNoSeconds one diagram may take to draw.120

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