Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GROK_BINNoPath to the grok binary (default ~/.grok/bin/grok)~/.grok/bin/grok
GROK_TASK_TIMEOUT_MSNoPer-task timeout (default 900000)900000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
grok_taskA

Delegate a coding task to Grok Build (headless) as a subagent. Runs in the given repository using the user's existing Grok OAuth login. Returns grok's response plus a git-verified list of files changed and commands run. For tasks likely to exceed ~1 minute, pass background: true and poll grok_task_result — long synchronous calls can hit the MCP client's request timeout. Jobs in the same cwd run serially (queued) to keep results accurate. To continue a previous task with context intact, pass its session_id.

grok_task_resultA

Fetch the result of a grok_task job (background, or one whose request timed out). Waits up to max_wait_ms for completion, then returns either the final result or a still-running status. Safe to call repeatedly. Results persist across server restarts.

grok_task_statusA

Check status of grok_task jobs without blocking. Pass job_id for one job, omit it to list all known jobs (including persisted ones from previous server sessions).

grok_task_cancelA

Cancel a queued or running grok_task job. Kills the grok process and returns the verified partial changes on disk. Finished jobs are not affected.

grok_modelsA

List available Grok model IDs (from grok's local model cache).

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/maikunari/grok-mcp'

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