Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

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

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