xAI MCP Server
Integrates xAI's Grok APIs into Claude Code to enable image and video generation, real-time web searches, and multi-modal image analysis. It provides a suite of tools for interacting with Grok models directly through natural language prompts during a Claude session.
Install
npx -y @joemccann/xai-mcp-server
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"mcpServers": {
"xai-mcp-server": {
"command": "npx",
"args": [
"-y",
"@joemccann/xai-mcp-server"
],
"env": {
"XAI_API_KEY": "<XAI_API_KEY>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.