Grok CLI

•
8
•

Integrates Grok AI models with Model Context Protocol clients like Claude Code, Cline, and Cursor by wrapping the official Grok CLI.

Grok CLI MCP serves as an indispensable bridge, seamlessly connecting Model Context Protocol (MCP) clients like Claude Code, Cline, and Cursor to the robust Grok AI models. By wrapping the official Grok CLI, this server enables effortless access to specialized tools for general queries, multi-turn conversations, and code generation. It eliminates the need for direct API integrations, promising enhanced compatibility, automatic benefits from future CLI advancements like OAuth and pricing models, and a significantly streamlined development experience for integrating Grok's powerful capabilities into various workflows.

主要功能

01Automatically benefits from Grok CLI improvements, including future OAuth and pricing plans
02Offers minimal maintenance by abstracting away direct Grok API changes
035 GitHub stars
04Simple configuration by leveraging the existing Grok CLI installation and API key
05Features a lightweight codebase with fewer dependencies compared to direct API implementations
06Provides three specialized tools: `grok_query`, `grok_chat`, and `grok_code`

使用案例

01Accelerating development and prototyping workflows with Grok AI
02Integrating Grok AI into internal tools and automation scripts
03Organizations preferring CLI-based integrations for security and compliance
04Enhancing productivity in code editors like VS Code, Cursor, and Claude Code