Back to MCP Servers

Run the Grok Build CLI as MCP tools: agent runs with live progress, code review, web research.

To add Grok Build to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It declares 9 environment variables, listed below.

SearchDevTools

Install

npx -y grok-build-mcp-server@0.2.5

Environment variables

GROK_BINARYSet in your MCP config
GROK_MCP_PERMISSION_CEILINGSet in your MCP config
GROK_MCP_DEFAULT_PERMISSIONSet in your MCP config
GROK_MCP_DEFAULT_MODELSet in your MCP config
GROK_MCP_DEFAULT_EFFORTSet in your MCP config
GROK_MCP_TIMEOUT_MSSet in your MCP config
GROK_MCP_STATE_DIRSet in your MCP config
GROK_MCP_MAX_CONCURRENT_RUNSSet in your MCP config
STRUCTURED_CONTENT_ENABLEDSet in your MCP config

Set only if the maker requires them; this listing does not flag any of them as required.

Install with your client

Terminal
claude mcp add grok-build --env GROK_BINARY=<YOUR_GROK_BINARY> --env GROK_MCP_PERMISSION_CEILING=<YOUR_GROK_MCP_PERMISSION_CEILING> --env GROK_MCP_DEFAULT_PERMISSION=<YOUR_GROK_MCP_DEFAULT_PERMISSION> --env GROK_MCP_DEFAULT_MODEL=<YOUR_GROK_MCP_DEFAULT_MODEL> --env GROK_MCP_DEFAULT_EFFORT=<YOUR_GROK_MCP_DEFAULT_EFFORT> --env GROK_MCP_TIMEOUT_MS=<YOUR_GROK_MCP_TIMEOUT_MS> --env GROK_MCP_STATE_DIR=<YOUR_GROK_MCP_STATE_DIR> --env GROK_MCP_MAX_CONCURRENT_RUNS=<YOUR_GROK_MCP_MAX_CONCURRENT_RUNS> --env STRUCTURED_CONTENT_ENABLED=<YOUR_STRUCTURED_CONTENT_ENABLED> -- npx -y grok-build-mcp-server@0.2.5

Run this in a terminal to add the server to Claude Code.

What this does

Grok Build exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server declares the following environment variables. Set only the ones the maker requires for your setup; this listing does not flag any of them as required:

GROK_BINARY
GROK_MCP_PERMISSION_CEILING
GROK_MCP_DEFAULT_PERMISSION
GROK_MCP_DEFAULT_MODEL
GROK_MCP_DEFAULT_EFFORT
GROK_MCP_TIMEOUT_MS
GROK_MCP_STATE_DIR
GROK_MCP_MAX_CONCURRENT_RUNS
STRUCTURED_CONTENT_ENABLED

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Grok Build?

Run the Claude Code command in the install section to add Grok Build to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Grok Build?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Grok Build as well.

Does Grok Build need an API key?

This listing does not flag an API key as required. The server can use these environment variables: GROK_BINARY, GROK_MCP_PERMISSION_CEILING, GROK_MCP_DEFAULT_PERMISSION, GROK_MCP_DEFAULT_MODEL, GROK_MCP_DEFAULT_EFFORT, GROK_MCP_TIMEOUT_MS, GROK_MCP_STATE_DIR, GROK_MCP_MAX_CONCURRENT_RUNS, STRUCTURED_CONTENT_ENABLED; the maker's docs say which of them your setup needs. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-nuruvala-grok-build-mcp-server)](https://clauderules.net/mcp/io-github-nuruvala-grok-build-mcp-server)
HTML
<a href="https://clauderules.net/mcp/io-github-nuruvala-grok-build-mcp-server" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-nuruvala-grok-build-mcp-server" alt="Listed on clauderules.net" /></a>