AI Skill Hub 推荐使用:Grok Build 插件 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
Grok Build plugin 为 Claude Code、Grok、Codex、Cursor 等提供 /grok API。
Grok Build 插件 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Grok Build plugin 为 Claude Code、Grok、Codex、Cursor 等提供 /grok API。
Grok Build 插件 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/VasiHemanth/grok-build-plugin
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"grok-build---": {
"command": "npx",
"args": ["-y", "grok-build-plugin"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Grok Build 插件 执行以下任务... Claude: [自动调用 Grok Build 插件 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"grok_build___": {
"command": "npx",
"args": ["-y", "grok-build-plugin"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
PATH as grok (or point GROK_BIN at it). Verify with grok --version.grok login). Usage counts toward your Grok limits.Want Claude Code, Codex, or Cursor to drive Grok Build? If you already pay for a Grok subscription, this gives any of those agents live X search and data right in their context. A couple of ways to wire it up.
Bring Grok Build's live X (Twitter) + web search (and its coding agent) into the tools you already use. Two ways to consume it:
grok_search): works in any MCP-capable agent: Claude Code, OpenAI Codex, Cursor, and others. This is the cross-agent, real-time-search core./grok:search, /grok:review, /grok:rescue, and more) plus a delegation subagent, with the MCP tool auto-wired in.Grok Build has native, real-time access to X and the web, strong for breaking news, social sentiment, current package/version facts, and anything where "what's true right now" matters, which a model's training cutoff can't provide. This project is a thin, auditable wrapper around your local grok CLI.
Add the marketplace in Claude Code:
/plugin marketplace add VasiHemanth/grok-build-plugin
Install the plugin:
/plugin install grok@grok-build-plugin
Reload plugins:
/reload-plugins
Then run:
/grok:setup
/grok:setup reports whether Grok is installed and authenticated. If it is installed but not signed in, run !grok login and rerun setup.
| Agent | How to add | Config location |
|---|---|---|
| **OpenAI Codex** | codex mcp add grok -- npx -y grok-build-x-search-mcp | ~/.codex/config.toml |
| **Gemini CLI** | add the JSON block above under mcpServers | ~/.gemini/settings.json |
**Antigravity (agy)** | add the JSON block above under mcpServers | ~/.gemini/config/mcp_config.json (or workspace .agents/mcp_config.json) |
| **Cursor** | add the JSON block above | ~/.cursor/mcp.json |
| **Claude Code / Grok** | install the plugin (auto-wired) | bundled .mcp.json |
Tested live with the npx launch (both github: during development and the published grok-build-x-search-mcp): OpenAI Codex, Antigravity (agy), Gemini CLI, plus the standalone server handshake. Any other MCP client (Cursor, opencode, Copilot) uses the same JSON config.
MCP clients resolve plugin paths differently. Claude Code and Grok substitute ${CLAUDE_PLUGIN_ROOT}, but Codex does not, so a ${CLAUDE_PLUGIN_ROOT}-based manifest fails there. Using the published package (npx -y grok-build-x-search-mcp) or npx -y github:VasiHemanth/grok-build-plugin sidesteps all of it: npm hands every harness a correct absolute path, and the server resolves its own imports relative to itself (not the working directory). One manifest, every agent.
The published package on npm gives the fastest cold start (no git clone). The github: form still works as a fallback / for development and always points at the latest from the repo.
Publishing the MCP server part to npm asgrok-build-x-search-mcp(distinct from the plugin marketplace name) is now complete for v0.1.0+. The repo isgrok-build-pluginon GitHub (was previouslygrok-mcp). The Claude/Grok plugin is installed via the marketplace using the repo name.
This plugin follows the shared plugin spec, so it installs into Grok Build as a native plugin as well as into Claude Code. Grok reads Claude-format marketplaces, scans ~/.claude/skills/, honors ~/.claude/settings.json, and maps a plugin's commands/ into its own skill/slash-command system. Verified with grok plugin validate and a full install cycle.
```bash
grok plugin install ./plugins/grok --trust
Works today in any MCP-capable agent, no install or publish step. You just need the Grok Build CLI signed in (grok login).
// drop into your agent's MCP config (see the per-agent table below for the path)
{
"mcpServers": {
"grok": { "command": "npx", "args": ["-y", "grok-build-x-search-mcp"] }
}
}
Or one line for OpenAI Codex:
codex mcp add grok -- npx -y grok-build-x-search-mcp
Then just ask your agent to "search X for ..." and it will call grok_search. Verified live in Codex, Antigravity (agy), and Gemini CLI. Full per-agent paths are in Per-agent setup.
| Variable | Purpose |
|---|---|
GROK_BIN | Path to the grok binary if it isn't named grok on PATH. |
GROK_CC_STATE_DIR | Override the background-job state directory (used by tests). |
grok plugin validate ./plugins/grok
Do I need a separate Grok account? No. The plugin uses your local grok CLI authentication. If you're already signed in (grok login), it works immediately.
Does it use a separate Grok runtime? No. It delegates to your local grok CLI on the same machine, with the same auth, config, and repository checkout.
Is the review really read-only? Yes. Review and search runs are restricted to read-only tools, so Grok cannot edit files or run shell commands during them. /grok:rescue is write-capable by default (use --read-only to restrict it).
该项目提供了一个开源的MCP工具,支持多种编程语言和工具的自动化脚本开发,但需要进一步优化和完善
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,Grok Build 插件 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | grok-build-plugin |
| 原始描述 | 开源MCP工具:Grok Build plugin for Claude Code, Grok, Codex, Cursor and others. Provides /gro。⭐10 · JavaScript |
| Topics | mcpclaude-codejavascript |
| GitHub | https://github.com/VasiHemanth/grok-build-plugin |
| License | Apache-2.0 |
| 语言 | JavaScript |
收录时间:2026-06-13 · 更新时间:2026-06-13 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端