Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MC_HOSTNoDefault Minecraft server host used by mc_connect when no host argument is given (if neither is provided, mc_connect errors out).
MC_PORTNoDefault Minecraft server port.
MC_LOG_KEEPNoHow many rotated log files to keep.
MC_LOG_LEVELNoLog level: quiet | info | debug.
MCP_MC_AGENT_CWDNoSession workspace directory (memory and rendered images are stored under its .mcp-mc-agent/). Equivalent to the --cwd command-line option; defaults to the current working directory when the server process is started by the client.
MC_LOG_MAX_BYTESNoMaximum size in bytes of a log file before rotation.
MCP_MC_AGENT_AUTONoAutonomous-behaviour layer (mc_auto) configuration switch.
MCP_MC_AGENT_HOMENoHome directory override used by the server.
MCP_MC_AGENT_PERFNoSet to 'off' to disable performance monitoring (enabled by default).
MCP_MC_AGENT_MC_DEPSNoDirectory where the optional Minecraft ecosystem plugins (pathfinder / collectblock / tool / pvp / auto-eat) are installed; can be the directory itself or its node_modules.
MCP_MC_AGENT_VERBOSENoSet to 1 to print more verbose stderr logs.
MCP_MC_AGENT_WORKERSNoWorker thread pool: unset = off (default); a number = pool size limit (<= 4); 'on' = choose automatically.
MCP_MC_AGENT_HTTP_PORTNoPort for the optional Streamable HTTP transport. Equivalent to the --http [port] option; default port is 3921 (MCP endpoint POST /mcp, liveness GET /health).
MCP_MC_AGENT_PERF_KEEPNoNumber of performance samples kept per action; default 20.
MCP_MC_AGENT_SCHEDULERNoAction scheduler mode: 'observe-only' (default) or 'enforce' (queue on resource conflicts and preempt lower-priority actions).
MCP_MC_AGENT_STATE_DIRNoState directory holding the global config, account store, credentials and logs. Equivalent to the --state-dir option; default is ~/.mcp-mc-agent (Windows: %USERPROFILE%\.mcp-mc-agent).
MCP_MC_AGENT_VIEW_GATENoView gate for the first-person camera tool (mc_observe). Gate is off by default; enable with view.json {"gate":true}.
MCP_MC_AGENT_MEMORY_DIRNoMemory root directory. Defaults to <session workspace>/.mcp-mc-agent.
MCP_MC_AGENT_PATHFINDERNoPathfinder plugin setting: 'off' to disable pathfinding, or a path to the plugin.
MCP_MC_AGENT_VIEW_GATEDNoView gate flag for the first-person camera tool (mc_observe).
MCP_MC_AGENT_PERF_RESOLUTIONNoEvent-loop latency histogram resolution in milliseconds; default 100, minimum 10.
MCP_MC_AGENT_SKIN_TIMEOUT_MSNoTimeout in milliseconds for skin resolution/rendering.
MCP_MC_AGENT_VIEW_MAX_AGE_MSNoMaximum age in milliseconds for a view before it is considered stale by the view gate (view.json default is 120000).
MCP_MC_AGENT_VIEW_MAX_ACTIONSNoMaximum number of actions allowed by the view gate (view.json default is 8).

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

Maintenance

ActivityMaintained
ResponsivenessNo issues