← Back to directory
G

Grok Bot CLI

Community
Manage Grok Bot agents, groups, and messages from your terminal.
Category
Dev Tools #590 of 751
Stars
★ 208 Very popular
Runtime
Node.js 22.19.0+
Credentials
API key / credential required
License
MIT
Last commit
43FMRS · D

The README describes Grok Bot CLI, its gateway operations, and integrations with several developer tools, but the server manifest was not cached. The tool list, MCP transport, client support levels, and install configuration cannot be confirmed from the supplied material.

Strongest · Documentation 13/20 Weakest · Reliability 5/20

Reliability
5/20
Security and permissions
9/20
Maintenance
6/20
Documentation
13/20
Setup experience
10/20
Why each score
Reliability 5/20
The README describes extensive CLI and MCP capabilities, error states, and several failure boundaries, but the server manifest is missing and there is no verifiable source or test evidence for initialization, tool listing, or matching behavior. Under static calibration, key paths cannot be confirmed as reliable.
Security and permissions 9/20
The documentation describes credential sources, gateway host restrictions, redirect rejection, opt-in history, and local socket permissions, while disclosing side effects such as deletion, message sending, and credential access. Points are deducted because source code does not verify the scope of session-file access, external network traffic, or stateful operations. No red-line evidence is confirmed.
Maintenance 6/20
An MIT license and npm installation path are provided, and the repository is not marked archived; the metadata lists 202 stars and 18 open issues. There is no evidence of commit or release cadence, maintainer responses, a security reporting channel, or dependency updates. Stars do not contribute to the score.
Documentation 13/20
The README provides many command examples, authentication sources, platform constraints, status and error explanations, routing boundaries, and known limitations. Points are deducted because the manifest and source are unavailable, so tool parameters cannot be checked against implementation; cost, support channels, and reproducible verification evidence are also limited.
Setup experience 10/20
The README gives a global npm install command, a Node.js version requirement, plugin installation commands for several clients, and platform notes. Points are deducted because the missing manifest prevents checking client handshake and available tools; some features depend on desktop-app sign-in, native sockets, or extra configuration, and there is no source-level CI or key-path test evidence, so static calibration limits the score.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkChanges third-party account dataControls a browser

Best for

  • Grok Bot desktop app users who want to manage agents, groups, and messages from a CLI.
  • Users who want the repository's documented Codex, Claude Code, or Cursor plugin integrations.

Not for

  • Users who require a confirmed MCP manifest, tool definitions, or transport.
  • Users who need to reach local Codex or Claude sessions remotely from a Grok Bot cloud runtime; the README says this tool has no remote transport.
  • Users without the Grok Bot desktop app or access to the required local sessions and gateway.

Required permissions

  • The CLI uses the Grok Bot desktop app's encrypted session and routing credentials; the README says manual token copying is unnecessary.
  • MCP gateway features need outbound HTTPS and access to the relevant Grok Bot app session file.
  • Codex and Claude integrations must run on the user's machine where the relevant local session or socket resides, and remain subject to each application's tool permissions and policies.

Risks and side effects

  • Sending messages, changing agents or groups, managing the skill library, and bridging to Codex or Claude sessions can affect account content or trigger session actions.
  • The README labels the option that relaxes gateway host checks as unsafe and describes it for break-glass use.
  • Local history is off by default; when enabled, successful send and thread observations are saved as plaintext JSONL.
  • The README does not include a server manifest, so MCP tools, transport, and specific client compatibility cannot be confirmed.

Setup

Before you start

Runtime:Node.js 22.19.0+

GROK_BOT_GATEWAY_TOKEN optionalsecret Optional gateway credential, available from the gateway configuration.
CURSOR_ACCESS_TOKEN optionalsecret Optional Cursor access credential from Cursor account authentication.
Other optional settings (28)
SAND_CLIENT_VERSION optional Optional override for the Grok Bot client version; otherwise it is read from the installed app.
GROK_BOT_CLAUDE_CHANNEL optional Set to a session name to enable the Claude Code channel before launching Claude.
GROK_BOT_ALLOW_LOCAL_GATEWAY optional Set to 1 to allow local gateway URLs for local development.
GROK_BOT_ALLOW_ANY_GATEWAY optional Set to 1 to disable gateway host checks for break-glass use.
GROK_BOT_RELAY_DIR optional Optional override for the relay state directory.
CODEX_HOME optional Optional Codex home directory used to locate the app-server control socket.
CODEX_APP_SERVER_SOCK optional Optional Codex app-server socket path; takes precedence over the CODEX_HOME-derived path.
CODEX_BRIDGE_CONNECT_TIMEOUT optional Optional bridge connection timeout; defaults to 10 seconds.
CODEX_BRIDGE_FIRST_MESSAGE_TIMEOUT optional Optional first-message timeout; defaults to 30 seconds.
CODEX_BRIDGE_IO_TIMEOUT optional Optional bridge I/O timeout; defaults to 30 seconds.
GROK_BOT_MACHINE_NAME optional Optional machine name override used in message attribution.
GROK_BOT_CODEX_THREADS optional Optional comma-separated list of allowed Codex thread IDs.
GROK_BOT_MAX_HOPS optional Optional message hop limit; defaults to 4.
GROK_BOT_CODEX_EXPERIMENTAL optional Set to 1 to enable the experimental Codex queue API.
CODEX_APP_SERVER_USE_LOCAL_DAEMON optional Codex local-daemon setting referenced in the macOS Desktop shim instructions.
CODEX_CLI_PATH optional Optional Codex CLI path used to select the wrapper after Desktop shim installation.
XDG_CONFIG_HOME optional Optional Linux configuration directory where the Grok Bot app session may be stored.
CURSOR_API_BASE_URL optional Optional EnsureSandBox backend URL; credentials should only go to documented trusted hosts.
GROK_BOT_GATEWAY_URL optional Optional gateway URL used with GROK_BOT_GATEWAY_TOKEN.
GROK_BOT_HISTORY optional Set to on, true, or 1 to enable local message history.
GROK_BOT_HISTORY_DIR optional Optional directory for local history files.
GROK_BOT_AGENTS_DIR optional Optional agents directory for --files mode.
GROK_BOT_HOME optional Optional override for the Grok Bot home directory.
GROK_BOT_SIDELOAD_REPO optional Optional sideload marketplace repository in owner/repo form.
GROK_BOT_SIDELOAD_SLUG optional Optional sideload marketplace slug.
GROK_BOT_SIDELOAD optional Set to 0 to disable Grok Bot sideloading.
GROK_BOT_AGENT_DATA_DIR optional Optional Grok Bot agent-data directory containing a plugins folder.
GROK_BOT_SIDELOAD_MARKETPLACE optional Legacy sideload marketplace variable; it must name one repository.

The README's CLI installation command is npm install --global grok-bot-cli. It requires Node.js 22.19.0 or later and the Grok Bot desktop app installed and signed in. The README also gives plugin installation instructions for Codex, Claude Code, and Cursor; it does not provide an MCP client configuration example.

Check that it works

After installing and configuring the plugin, confirm that grok-bot tools appear in the client's tool list. Ask it to list your agents to verify the connection.

Troubleshooting

  1. Check that Node.js is version 22.19.0 or later, and that the Grok Bot desktop app is installed, open, and signed in.
  2. If gateway calls fail, check outbound network access and visibility of the app session file; run `gbot doctor` inside the same sandbox to see which credential source is available.
  3. To reach local Codex or Claude sessions, run the CLI on the machine that owns those sessions; the README explicitly says there is no remote transport.
  4. If the Codex integration cannot connect, check the local Codex app-server daemon and control socket.

Things to try

Once connected, you can ask your AI assistant things like:

  • List my Grok Bot agents and groups.
  • Ask Researcher for an update on the launch.
  • Show me Researcher's latest conversation.
  • Find Codex threads that were active in the last seven days.

Use cases

Create, update, and delete Grok Bot agents and groups from a terminal.
Message agents or groups and inspect threads.
Manage an account's Grok Bot skill library through the gateway.
Use the documented plugin integrations to communicate with Codex threads or Claude Code sessions.

Overview

Grok Bot CLI is a terminal tool for creating and updating agents and groups, sending messages, inspecting threads, and managing a skill library. The repository also provides a plugin bundle and MCP tools for Codex, Claude Code, and Cursor. The README does not include a server manifest, so the MCP server's tool list, transport, and client configuration cannot be confirmed.

Similar servers

Source revision 96079dbcb3cc Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/grok-bot-cli.svg)](https://followmcp.com/en/servers/grok-bot-cli)