grok-bridge
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@grok-bridgeAsk Grok to review this implementation at xhigh effort."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Grok Bridge
Grok Bridge is a local Model Context Protocol (MCP) server and Codex plugin that lets ChatGPT Desktop and Codex delegate substantial work to the locally installed Grok Build agent.
It supports read-only consultations, background builder/tester jobs, cancellation, session discovery, and transcript export. Delegated jobs use xhigh reasoning effort by default.
Community project. This repository is not affiliated with, endorsed by, or maintained by xAI or OpenAI. Grok and Grok Build are not included.
What it provides
Tool | Purpose |
| Check the Grok executable, authentication, runtime, and defaults. |
| Run a synchronous, read-only consultation or review. |
| Start a background builder, tester, reviewer, or research job. |
| Poll a background job and read bounded log tails. |
| Cancel a known job and its child process tree. |
| List recent bridge jobs and Grok sessions. |
| Export a Grok session transcript as Markdown. |
The bundled skill teaches Codex when to use each tool and requires independent verification of Grok's output.
Related MCP server: Grok Build Bridge
Requirements
Node.js 20 or newer.
Grok Build installed locally.
Grok authenticated through its own CLI, for example with
grok login --oauth, or with an authentication method supported by your Grok installation.ChatGPT Desktop, Codex CLI, or another MCP client with STDIO server support.
By default the bridge looks for Grok at ~/.grok/bin/grok (grok.exe on Windows), then falls back to grok on PATH. Set GROK_BRIDGE_GROK_EXE to override this.
Install
Clone the repository and install the locked dependencies:
git clone https://github.com/conrad85/grok-bridge.git
cd grok-bridge
npm ci
npm run test:doctorOption A: install as a local Codex plugin
From the cloned repository, register its local marketplace:
codex plugin marketplace add .Restart ChatGPT Desktop, open the Plugins Directory, select the Grok Bridge marketplace, and install the plugin. The plugin bundles both the MCP server configuration and the reusable skill. See the official OpenAI plugin packaging documentation for current marketplace behavior.
Option B: configure the MCP server directly
Use the absolute path to your clone:
codex mcp add grok_bridge -- node /absolute/path/to/grok-bridge/server/index.mjsTo make the workflow skill available to new local sessions, copy skills/grok-bridge into your personal skills directory:
macOS/Linux:
mkdir -p ~/.agents/skills
cp -R skills/grok-bridge ~/.agents/skills/grok-bridgeWindows PowerShell:
New-Item -ItemType Directory -Force "$env:USERPROFILE\.agents\skills" | Out-Null
Copy-Item -Recurse -Force "skills\grok-bridge" "$env:USERPROFILE\.agents\skills\grok-bridge"Restart the desktop app after changing MCP or skill configuration.
Example requests
"Ask Grok to review this implementation at xhigh effort."
"Use Grok as a builder, implement the feature, and run the tests."
"Have Grok reproduce this bug as a tester, then independently verify the result."
Configuration
Environment variable | Meaning |
| Absolute path or command name for the Grok executable. |
| Directory for bridge jobs and bounded logs. Defaults to |
| Optional authentication method when supported by the local Grok CLI. |
Safety and privacy
Builder jobs run Grok in its workspace sandbox and add explicit denials for commits, pushes, publishing, deployment, and broad destructive commands. Read-only consultations use stricter permissions. These are defense-in-depth controls, not a substitute for reviewing delegated work.
The bridge itself has no telemetry and does not bundle credentials. Grok Build may send prompts and project context to xAI as part of its normal operation. Job requests, output, and logs are stored locally under GROK_BRIDGE_HOME. Read PRIVACY.md and SECURITY.md before use.
Development
npm ci
npm run check
npm test
npm run audit:publicTests that invoke a real authenticated Grok installation are intentionally separate:
npm run test:doctor
npm run test:live -- /absolute/project/path
npm run test:background -- /absolute/project/path
npm run test:builder -- /absolute/fixture/pathLicense
MIT. See LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceAn MCP server that wraps the local Grok Build CLI, enabling Codex to delegate code reviews, bounded coding tasks, and setup diagnostics to Grok for a second opinion or parallel processing.4Apache 2.0
- Alicense-qualityBmaintenanceConnects OpenAI Codex and Claude Code to the local Grok Build CLI for second-opinion code reviews, bounded coding tasks, web research, media generation, and TTS.2Apache 2.0
- AlicenseAqualityCmaintenanceEnables Codex to delegate coding tasks to Grok Build CLI, with Codex handling planning and review while Grok executes.63MIT
- Alicense-qualityBmaintenanceEnables MCP clients like Claude Code to delegate coding tasks to the local Cursor Agent CLI, with persistent per-workspace sessions that resume across calls.12MIT
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/conrad85/grok-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server