Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CAM_GUINoEnable GUI dashboardtrue
CAM_DEBUGNoInclude debug info in MCP responsesfalse
CAM_TOOLSNoComma-separated list of allowed tools (empty = all)
CAM_GUI_KEEPNoKeep GUI on exitfalse
CAM_LOG_DEBUGNoWrite debug logs to temp filefalse
CAM_GUI_DETAILNoGUI detail modefalse
CAM_SIGINT_MODENoSIGINT handling (cancel/exit/cancel_then_exit)cancel
CAM_SIGINT_DOUBLE_TAP_WINDOWNoDouble-tap exit window (seconds)1.0

Tools

Functions exposed to the LLM to take actions

NameDescription
codex

Invoke OpenAI Codex CLI agent for deep code analysis and critical review.

CAPABILITIES:

  • Strongest deep analysis and reflection abilities

  • Excellent at finding issues, edge cases, and potential bugs

  • Good at critical code review and architectural assessment

LIMITATIONS:

  • Tends to over-engineer solutions or over-simplify features

  • May suggest unnecessary abstractions

BEST PRACTICES:

  • Be explicit about scope: "Only fix X, don't refactor Y"

  • Specify constraints: "Keep it simple, no new abstractions"

  • Use for: Code review, bug hunting, security analysis

SUPPORTS: Image attachments for UI/screenshot analysis

gemini

Invoke Google Gemini CLI agent for UI design and comprehensive analysis.

CAPABILITIES:

  • Strongest UI design and image understanding abilities

  • Excellent at rapid UI prototyping and visual tasks

  • Great at inferring original requirements from code clues

  • Best for full-text analysis and detective work

LIMITATIONS:

  • Not good at summarization (outputs can be verbose)

  • May need full_output=true for research tasks

BEST PRACTICES:

  • Use for: UI mockups, image analysis, requirement discovery

  • Enable full_output when doing research or analysis

  • Good first choice for "understand this codebase" tasks

claude

Invoke Anthropic Claude CLI agent for code implementation.

CAPABILITIES:

  • Strongest code writing and implementation abilities

  • Excellent at translating requirements into working code

  • Good at following patterns and conventions

LIMITATIONS:

  • May leave compatibility shims or legacy code paths

  • Sometimes adds unnecessary backwards-compatibility

BEST PRACTICES:

  • Be explicit about target: "Replace old implementation completely"

  • Specify cleanup: "Remove deprecated code paths"

  • Use for: Feature implementation, refactoring, code generation

SUPPORTS: Custom system prompts via system_prompt or append_system_prompt, agent selection via agent parameter

opencode

Invoke OpenCode CLI agent for full-stack development.

CAPABILITIES:

  • Excellent at rapid prototyping and development tasks

  • Good at working with multiple frameworks and tools

  • Supports multiple AI providers (Anthropic, OpenAI, Google, etc.)

LIMITATIONS:

  • May need explicit model selection for best results

  • Permission system differs from other CLI agents

BEST PRACTICES:

  • Use for: Rapid prototyping, multi-framework projects

  • Specify agent type for specialized tasks (e.g., --agent build)

  • Use file attachments for context-heavy tasks

SUPPORTS: File attachments, multiple agents (build, plan, etc.)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shiharuharu/cli-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server