Grokbot gateway
MCP server by robzilla1738 Verified · gh:robzilla1738
Lets outside coding agents such as Claude Code, Codex and Cursor message your Grok Bots, read replies and reach the bot's VM over Tailscale. Built for developers on a Mac with Desktop Grok Bot signed in.
Install Grokbot gateway
Built from the published package, never by AI.
claude mcp add grokbot-gateway -- npx -y grokbot-gatewayRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"grokbot-gateway": {
"args": [
"-y",
"grokbot-gateway"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"grokbot-gateway": {
"args": [
"-y",
"grokbot-gateway"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"grokbot-gateway": {
"args": [
"-y",
"grokbot-gateway"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add grokbot-gateway -- npx -y grokbot-gateway{
"mcpServers": {
"grokbot-gateway": {
"args": [
"-y",
"grokbot-gateway"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add grokbot-gateway npx -y grokbot-gatewayGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the grokbot-gateway block.
About
grokbot-gateway is an unofficial CLI and MCP server that lets an outside coding agent, such as Claude Code, Codex or Cursor, message your Grok Bots and read their replies. It can also reach the Linux VM behind a bot, called the box, over Tailscale. The gateway uses the Desktop Grok Bot session already signed in on a Mac, and it does not need an xAI API key.
Gateway tokens are read-only by default and expire in 30 days. Sending messages needs the bots:send scope, and reading box files needs box:read. The project describes itself as a standalone headless bridge, with an optional client mode when grokbot-notch is running. It is aimed at developers who want their coding agents to work with Grok Bots and their boxes.
Written from the project's README and checked against it.
Tools it gives your assistant
list_botsLists the Grok Bots the signed-in account can use.send_to_botSends a message to a Grok Bot.ask_botAsks a Grok Bot a question and returns the reply.read_chatReads the transcript of a chat with a bot, oldest first.wait_for_replyWaits for a bot's reply after a given message.statusReports the gateway status.box_listLists files on the bot's box over SSH, read-only.box_read_fileReads a file from the bot's box over SSH, read-only.
What you need
- Node.js 22.5 or later
- Desktop Grok Bot installed and signed in on a Mac
- Tailscale, for reaching the box
Try asking
- List my Grok Bots and tell me which ones I can message.
- Ask the Chief bot what it can help with this week.
- Read the last 20 messages in my Ops bot chat.
Good to know
- Default tokens are read-only and expire in 30 days.
- Sending messages requires an explicit bots:send scope.
- Not an official xAI product and not a public Grok API client.
- Box access requires the bot to run the setup script on its VM and an approved login link.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Grokbot gateway
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Grokbot gateway: common questions
Does grokbot-gateway need an xAI API key?
No. The source says there is no XAI_API_KEY. It uses the Desktop Grok Bot session that is already signed in on a Mac.
Is grokbot-gateway an official xAI product?
No. The source describes it as unofficial and not affiliated with xAI.
How are gateway tokens stored?
The source says tokens are stored as SHA-256 hashes at rest. Tokens are not accepted on the command line, and the config folder is set to 0700.
How do I install Grokbot gateway?
In Claude Code run claude mcp add grokbot-gateway -- npx -y grokbot-gateway. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Grokbot gateway the official server?
Grokbot gateway is published by gh:robzilla1738 from its verified domain in the official MCP Registry.
Is Grokbot gateway free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Grokbot gateway safe to use?
It scores 56 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Grokbot gateway?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Grokbot gateway work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
