grok image mcp server
Grok2 Image MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. grok image mcp server.
An MCP (Model Context Protocol) server for image generation and editing using the Grok image model from xAI.
Once Grok2 Image is connected, these are the calls the assistant has available:
generate_image — The generate_image tool exposed by this serveredit_image — The edit_image tool exposed by this serverSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
You will need 2 environment variables: XAIAPI_KEY, XAIAPI_BASE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of AI and media services servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Grok2 Image's toolset — generate_image, edit_image — is a fair guide to whether it matches your workflow. It is maintained by fl0w1nd; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| generate_image | The generate_image tool exposed by this server. |
| edit_image | The edit_image tool exposed by this server. |
{
"mcpServers": {
"grok_image": {
"command": "npx",
"args": ["grok-image-mcp"],
"env": {
"XAIAPI_KEY": "your-xai-api-key"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| XAIAPI_KEY | Credential the server authenticates with. | Yes |
| XAIAPI_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Search built for AI, not humans — semantic web search that returns model-ready content, plus code context.
Answers, not links — delegate questions to Perplexity's search-grounded models and get cited responses back.
Give your assistant a voice — text-to-speech, voice cloning and audio tools from the ElevenLabs API.
Give your assistant a real code sandbox — isolated cloud VMs for actually running the code it writes.
The ML hub in your context window — search models, datasets, papers and run Spaces from the official server.