Skip to main content
Add Darwin as a remote HTTP MCP server. Grok Build handles the OAuth browser flow and makes Darwin’s tools available alongside its built-in coding tools.
Use xAI’s MCP server guide for current client behavior and configuration scopes.

Verify the connection

Open /mcps in the Grok Build TUI if you need to authenticate, refresh the tool list, or disable the server. A successful connection exposes one Search tool and six Action tools under the darwin namespace.
Direct MCP installation works now. Darwin’s public Grok Build plugin is prepared separately, but its xAI marketplace pull request has not been submitted for code-owner review.

Choose the right scope

Keep OAuth credentials in Grok Build’s credential store. Never commit tokens, authorization headers, or Darwin API keys to .grok/config.toml.

Preserve Darwin’s authority boundary

Repository access and Grok Build permissions do not grant Darwin approval authority. Use Search to compare capabilities, preserve the exact selected revision, and let Darwin’s current availableActions determine what can happen next.
A model-authored message is not an approval, payment, authentication result, or completed Action. Read the current Action state before every consequential next step.
View the installable plugin source or xAI’s marketplace contribution rules.
Last modified on September 22, 2026