
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

An MCP server plugin that exposes Grok AI chat, vision, and function calling capabilities as MCP tools usable from Cline.
MCP server plugin for Grok AI is cataloged as an MCP server attributed to bob-lance. An MCP server plugin that exposes Grok AI chat, vision, and function calling capabilities as MCP tools usable from Cline. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server plugin for Grok AI are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses a Grok AI API key, supplied through the XAI_API_KEY environment variable in the MCP server configuration.
Yes, either image_url or base64_image must be provided; base64 data is given without the data:image prefix.
README.md · c03cacb62b83 · 采集于 2026-11-13 09:53:27 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) plugin that provides seamless access to Grok AI's powerful capabilities directly from Cline.
This plugin exposes three powerful tools through the MCP interface:
Clone this repository:
git clone https://github.com/Bob-lance/grok-mcp.git
cd grok-mcp
Install dependencies:
npm install
Build the project:
npm run build
Add the MCP server to your Cline MCP settings:
For VSCode Cline extension, edit the file at:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Add the following configuration:
{
"mcpServers": {
"grok-mcp": {
"command": "node",
"args": ["/path/to/grok-mcp/build/index.js"],
"env": {
"XAI_API_KEY": "your-grok-api-key"
},
"disabled": false,
"autoApprove": []
}
}
}
Replace /path/to/grok-mcp with the actual path to your installation and your-grok-api-key with your Grok AI API key.
Once installed and configured, the Grok MCP plugin provides three tools that can be used in Cline:
Generate text responses using Grok's language models:
<use_mcp_tool>
<server_name>grok-mcp</server_name>
<tool_name>chat_completion</tool_name>
<arguments>
{
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello, what can you tell me about Grok AI?"
}
],
"temperature": 0.7
}
</arguments>
</use_mcp_tool>
Analyze images with Grok's vision capabilities:
<use_mcp_tool>
<server_name>grok-mcp</server_name>
<tool_name>image_understanding</tool_name>
<arguments>
{
"image_url": "https://example.com/image.jpg",
"prompt": "What is shown in this image?"
}
</arguments>
</use_mcp_tool>
You can also use base64-encoded images:
<use_mcp_tool>
<server_name>grok-mcp</server_name>
<tool_name>image_understanding</tool_name>
<arguments>
{
"base64_image": "base64-encoded-image-data",
"prompt": "What is shown in this image?"
}
</arguments>
</use_mcp_tool>
Use Grok to call functions based on user input:
<use_mcp_tool>
<server_name>grok-mcp</server_name>
<tool_name>function_calling</tool_name>
<arguments>
{
"messages": [
{
"role": "user",
"content": "What's the weather like in San Francisco?"
}
],
"tools": [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the current weather in a given location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The city and state, e.g. San Francisco, CA"
},
"unit": {
"type": "string",
"enum": ["celsius", "fahrenheit"],
"description": "The unit of temperature to use"
}
},
"required": ["location"]
}
}
}
]
}
</arguments>
</use_mcp_tool>
Generate a response using Grok AI chat completion.
Parameters:
messages (required): Array of message objects with role and contentmodel (optional): Grok model to use (defaults to grok-3-mini-beta)temperature (optional): Sampling temperature (0-2, defaults to 1)max_tokens (optional): Maximum number of tokens to generate (defaults to 16384)Analyze images using Grok AI vision capabilities.
Parameters:
prompt (required): Text prompt to accompany the imageimage_url (optional): URL of the image to analyzebase64_image (optional): Base64-encoded image data (without the data:image prefix)model (optional): Grok vision model to use (defaults to grok-2-vision-latest)Note: Either image_url or base64_image must be provided.
Use Grok AI to call functions based on user input.
Parameters:
messages (required): Array of message objects with role and contenttools (required): Array of tool objects with type, function name, description, and parameterstool_choice (optional): Tool choice mode (auto, required, none, defaults to auto)model (optional): Grok model to use (defaults to grok-3-mini-beta)src/index.ts - Main server implementationsrc/grok-api-client.ts - Grok API client implementationnpm run build
XAI_API_KEY="your-grok-api-key" node build/index.js
This project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server plugin for Grok AI from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/grok-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.