grokbot-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
grokbot-mcp
An MCP server (stdio) that lets Claude Desktop manage Grok Bots. It reuses the signed-in Grok Bot Windows app session, so you don't copy any tokens. When the bot's cloud computer is asleep, the server wakes it and retries the call.
Unofficial. Not affiliated with xAI, Cursor or Anthropic. It talks to private, undocumented APIs that can change without notice.
Requirements
Windows with the Grok Bot desktop app installed and signed in
Node.js 22+ on Windows (Claude Desktop runs the server with it)
Building and the smoke test also work from WSL
Related MCP server: call-grokbot
Install
npm install && npm run build && sh scripts/deploy.sh # -> %USERPROFILE%\grokbot-mcp\grokbot-mcp.mjsAdd this to claude_desktop_config.json:
{
"mcpServers": {
"grokbot": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": ["C:\\Users\\<you>\\grokbot-mcp\\grokbot-mcp.mjs"]
}
}
}Agent install
Paste this into your coding agent (Claude Code, Codex, Cursor, etc.) on the Windows machine and let it do the setup:
Install the grokbot-mcp MCP server from https://github.com/0xJonty/grokbot-mcp for Claude Desktop on this Windows PC.
1. Check prerequisites and stop with a clear message if any are missing:
- Windows, with Node.js 22+ on Windows (`node -v`; get its absolute path with `where node`).
- The Grok Bot desktop app is installed and signed in (the folder %APPDATA%\Grok Bot exists and contains sand-secrets.json).
- Claude Desktop is installed.
2. Clone the repo to a working folder, then run `npm ci` and `npm run build`. This produces dist/grokbot-mcp.mjs.
3. Copy dist/grokbot-mcp.mjs to %USERPROFILE%\grokbot-mcp\grokbot-mcp.mjs.
4. Find claude_desktop_config.json. It is usually %APPDATA%\Claude\claude_desktop_config.json; if not, search under %LOCALAPPDATA% and %APPDATA%. Back it up, then MERGE (never overwrite other servers) this entry into "mcpServers":
"grokbot": { "command": "<absolute path to node.exe>", "args": ["<%USERPROFILE%>\\grokbot-mcp\\grokbot-mcp.mjs"] }
Use real absolute paths and keep the JSON valid.
5. Run the read-only smoke test: set GROKBOT_MCP_BIN to the deployed file and run `node scripts/smoke.mjs`. It must list 8 tools and grokbot_status must report signedIn=true.
6. Tell me to fully quit Claude Desktop (including the tray icon) and reopen it, then ask Claude to run grokbot_status.
Rules: never print or log tokens or keys; do not call grokbot_create_bot, grokbot_update_bot or grokbot_send during install; do not modify the Grok Bot app or its files.Tools
Tool | Purpose |
| Shows whether the app is running, sign-in state, and whether the box is awake or asleep. It never wakes the box. |
| Lists bots by id, name, and a preview of their instructions. Takes an optional |
| Returns the full config, including instructions and an |
| Creates a bot. With |
| Edits name, instructions, title, avatar, notify, or hidden. Needs the |
| Shows chat history, newest last, with Sydney times. Text is cut to 500 chars unless |
| Sends one message and returns a delivery receipt. It is never resent automatically. |
| Shows how much of the weekly Grok usage is used, when it resets, and a breakdown by source and by bot. |
bot takes an id or an exact name (case-insensitive). There is no delete tool.
Troubleshooting
"Grok Bot app is signed out": open Grok Bot and sign in.
"sign-in has expired": open the Grok Bot app; it renews sign-in itself. This server never uses the refresh token (see DECISIONS.md).
"cloud computer unreachable after 90s": the box failed to wake. Retry, or open the app.
"Delivery … unknown": check
grokbot_historybefore you resend.Logs are written to stderr and to
%LOCALAPPDATA%\grokbot-mcp\log.txt, which rotates at 256 KB. SetGROKBOT_MCP_LOG=0to turn the file off, orGROKBOT_MCP_DEBUG=1for more detail. Tokens are never logged.Smoke test (read-only), run from WSL:
"/mnt/c/Program Files/nodejs/node.exe" "$(wslpath -w scripts/smoke.mjs)".
Development
npm test runs the mocked unit tests. npm run typecheck type-checks the code. npm run build writes dist/grokbot-mcp.mjs.
PROTOCOL.md describes the reverse-engineered protocol. DECISIONS.md records the design choices.
Credits and licence
The protocol research drew on grok-bot-cli (MIT). This project is MIT licensed; see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Share context and questions between Claude instances — VS Code, claude.ai web, and mobile.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables IDEs and MCP hosts to drive a user's Grok Bot cloud agents, including sending messages, waiting for replies, reading history, and managing agents, secrets, widgets, handoffs, and desktop access. It acts as an outbound bridge from Cursor, Claude, and VS Code to those cloud agents.21MIT
- AlicenseAqualityBmaintenanceEnables Codex and Claude Code to send a self-contained task to an existing Grok Bot, read incremental replies, and interrupt the bot’s current turn while preserving its existing conversation, memory, and connected tools.4166 npm4MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients and AI agents to send prompts to Grok through the user's own logged-in x.com browser session, start fresh chats, and check channel status without an API key.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Desktop to work with a local Windows 10/11 machine through scoped project file editing, read-only PowerShell/CMD diagnostic tasks, desktop observation, and locally approved mouse/keyboard interaction with allowlisted applications.MIT