Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAXIMA_BINNoMaxima executable.maxima
MAXIMA_MCP_DOCSNoEnable documentation tools.true
MAXIMA_MCP_HOSTNoHTTP bind address.127.0.0.1
MAXIMA_MCP_INITNoExtra Maxima initialization statements.
MAXIMA_MCP_PORTNoHTTP port.7331
MAXIMA_MCP_DOC_DIRNoHTML manual directory./usr/share/doc/maxima-doc/html
MAXIMA_MCP_SRC_DIRNoMaxima Lisp source directory.
MAXIMA_MCP_USERDIRNoPersistent userdir for compiled packages.<cache>/maxima-user
MAXIMA_MCP_CACHE_DIRNoCache directory.~/.cache/maxima-mcp
MAXIMA_MCP_LOG_LEVELNoLog level: `fatal`…`trace`, `silent`.info
MAXIMA_MCP_SHARE_DIRNoMaxima share directory.
MAXIMA_MCP_TRANSPORTNoTransport: `stdio` or `http`.stdio
MAXIMA_MCP_AUTH_TOKENNoBearer token for `/mcp` and `/metrics`.
MAXIMA_MCP_BODY_LIMITNoHTTP request body limit.2mb
MAXIMA_MCP_EXTRA_ARGSNoExtra Maxima CLI arguments (`;;` or newline separated).
MAXIMA_MCP_LOG_FORMATNoLog format: `json`, `pretty`, `auto`.auto
MAXIMA_MCP_RATE_LIMITNoRequests per window per IP (`0` disables).120
MAXIMA_MCP_TRUST_PROXYNoTrust `X-Forwarded-*` from a reverse proxy.false
MAXIMA_MCP_CORS_ORIGINSNoComma-separated allowed origins.*
MAXIMA_MCP_DOCS_PREWARMNoBuild doc/source indexes in background at startup.true
MAXIMA_MCP_MAX_COMMANDSNoMaximum statements per batch.50
MAXIMA_MCP_MAX_SESSIONSNoConcurrent sessions (processes).8
MAXIMA_MCP_ALLOWED_HOSTSNoComma-separated allowed `Host` values.loopback
MAXIMA_MCP_JSON_RESPONSENoReturn JSON instead of SSE streams.false
MAXIMA_MCP_MAX_MEMORY_MBNoPer-process RSS ceiling; `0` disables the watchdog.0
MAXIMA_MCP_MAX_PLOT_BYTESNoMaximum rendered image size.10000000
MAXIMA_MCP_MAX_TIMEOUT_MSNoHard timeout cap.300000
MAXIMA_MCP_RATE_WINDOW_MSNoRate-limit window.60000
MAXIMA_MCP_ALLOW_DANGEROUSNoAllow `system`, `load`, file primitives.false
MAXIMA_MCP_DEFAULT_SESSIONNoDefault session id.default
MAXIMA_MCP_SESSION_IDLE_MSNoIdle session expiry.900000
MAXIMA_MCP_MAX_OUTPUT_BYTESNoBuffer limit before the process is killed.1000000
MAXIMA_MCP_MAX_OUTPUT_CHARSNoPer-statement retained output.200000
MAXIMA_MCP_DEFAULT_TIMEOUT_MSNoDefault evaluation timeout.30000
MAXIMA_MCP_MAX_SEARCH_RESULTSNoSearch result cap.20
MAXIMA_MCP_SOURCE_CACHE_BYTESNoSource file content cache budget (`0` disables).67108864
MAXIMA_MCP_HTTP_SESSION_IDLE_MSNoIdle MCP HTTP session expiry.1800000
MAXIMA_MCP_MAX_EXPRESSION_CHARSNoMaximum expression length.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