Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENT_GODMODE_ROOTYesAbsolute workspace root (required unless --root is passed)
AGENT_GODMODE_MAX_READ_BYTESNoMax bytes per read512000
AGENT_GODMODE_COMMAND_TIMEOUTNoSubprocess timeout in seconds120
AGENT_GODMODE_ALLOWED_COMMANDSNoComma-separated basenames allowed as argv[0]
AGENT_GODMODE_LIST_MAX_ENTRIESNoCap for list_files2000
AGENT_GODMODE_MAX_COMMAND_OUTPUT_BYTESNoTruncate stdout/stderr combined256000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
read_fileA

Read a UTF-8 text file under the workspace. Use before editing when content is unknown. Optional start_line/end_line (1-based inclusive). Optional max_bytes override.

write_fileA

Write or append UTF-8 text under the workspace. Mode: overwrite or append. Creates parent dirs. Do not use without reading first unless you are creating a new file or already hold exact contents.

edit_fileA

Search-and-replace in an existing UTF-8 file: old_string must be non-empty and match exactly once unless replace_all is true. Read the file first and copy the exact span. Output uses newline='\n' like write_file.

run_commandA

Run a subprocess with argv list only (no shell). Optional cwd relative to workspace or absolute path under root. Use only when necessary; prefer read/list for inspection.

list_filesA

List files and directories under a workspace path. Optional recursive, glob_pattern, max_depth, include_dotfiles. Use to discover layout before reading.

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/mdvohra/agent-godmode'

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