Grok Chat MCP
About
MCP server for xAI Grok API — chat, vision, search, and embeddings (Rust, stdio)
Details
- Author
- codechap
- Categories
- Developer Tools, AI, Other, Search
Jump to
Setup
Install Grok Chat MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/codechap/mcp-server-grok-chat
Follow the installation instructions in the repository README, then restart your MCP client.
An MCP (Model Context Protocol) server for the xAI Grok API. Built in Rust, exposes chat completions, vision, web/X search, embeddings, and model listing as MCP tools.
Communicates via stdio using JSON-RPC 2.0, like all MCP servers.
Send a chat completion request. Supports multi-turn conversations via a JSON message history array, system prompts, structured output via JSON schema, temperature control, model selection, and multi-agent research.
When using a multi-agent model (any model ID containingmulti-agent), the request is automatically routed through the Responses API. The multi-agent model dispatches your query to multiple agents that research in parallel, then synthesizes their findings. Usereasoning_effortto control agent count. Call thelist_modelstool to see which multi-agent models are currently available.
Analyse an image using Grok's vision capabilities.
Chat with Grok using live web search and/or X (Twitter) search. The model automatically searches the internet to ground its response.
List all available Grok models. No parameters. Results are cached for 5 minutes.
- Rust (edition 2024)
- An xAI API key fromconsole.x.ai
Create~/.config/mcp-server-grok-chat/config.toml:
This producestarget/release/grok-chat.
cargo build # debug build cargo run # run in dev mode RUST_LOG=debug cargo run # run with debug logging
Add to your Claude Desktop config (~/.config/Claude/claude_desktop_config.json):
{ "mcpServers": { "grok-chat": { "command": "/path/to/grok-chat" } } }
src/ main.rs - entry point, config loading, stdio transport setup server.rs - MCP tool definitions (chat, chat_with_vision, chat_with_search, embedding, list_models) api.rs - xAI HTTP client, request/response types, response formatters params.rs - tool parameter types with serde and JSON Schema derives config.rs - TOML config loading
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Word search, crossword, and sudoku generator MCP server with printable PDF worksheets, themed word banks, and verifiable LLM evals. Local-first, from the makers of puzzletide.com.
A unified framework for integrating various language models and embedding providers to generate text completions and embeddings.
A context insertion and search server for Claude Desktop and Cursor IDE, using configurable API endpoints.
MCP server for Anthropic Claude Messages API — chat, vision, web search, extended thinking (Rust)
Manage and coordinate multiple Xcode/Swift projects with features like project tracking, smart search, and analytics.
MCP server for OpenAI ChatGPT API — chat, vision, and embeddings
Lets your coding agent (such as Claude, Cursor, Copilot, Gemini or Codex) search package registries across multiple ecosystems (npm, PyPI, RubyGems, Crates.io, Packagist, Hex) and fetch package context (README, downloads, GitHub info, usage snippets)
Search thousands of community-vetted Claude Code skills, MCP servers and marketplaces and load_skill a real SKILL.md mid-task, ranked by installs and GitHub stars.
Offline MCP server that ranks & summarizes code using BM25, TF-IDF, embeddings & git signals; integrates with Cursor, Claude Desktop and Windsurf; privacy preserving.
Eagle MCP Server is a local Model Context Protocol bridge that lets AI assistants (e.g. Cursor, Claude) access your Eagle media library so you can tag, categorize, search, and batch-organize assets with natural language.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





