Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENTS_DIRYesAbsolute path to the folder containing agent definitions. The folder should contain at least one .md or .txt file; the filename becomes the agent name.
AGENT_TYPEYesThe coding CLI backend to use. Supported values include codex, claude, cursor, command-code, glm, kimi, grok, antigravity, gemini, and opencode. The selected CLI must be installed and configured before the MCP server starts.
AGENT_MODELNoModel to use for every agent. Omit to use the backend's default.
CLI_API_KEYNoAPI key required by the GLM and Kimi backends. Other backends use the CLI's existing authentication.
SESSION_ENABLEDNoSet to "true" to allow an agent to remember earlier calls and continue a longer task. The assistant must reuse the returned session_id on the next call.
AGENT_PERMISSIONNoControls what agents may do: read-only (review and investigation), safe-edit (edits allowed without approval, default), or yolo (unrestricted execution).

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