Grok MCP Server

MCP server for Grok image generation and editing

Local serverstdio

What is the Grok MCP Server?

MCP server for Grok image generation and editing

What it actually does

An MCP (Model Context Protocol) server for xAI's Grok image generation API. Built in Rust, exposes image generation and editing as MCP tools.

Configuration

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
generate_image
edit_image
headshotCorporate headshot from a source portrait (pad to 3:2 + fixed edit prompt)
list_styles
promptstring
modelstring
aspect_ratiostring
resolutionstring
qualitystring
response_formatstring
stylestring
image_urlstring
imagesstring[]
imagestring
clothingstring
notesstring
pronounstring
gravitystring
content_widthinteger
canvas_widthinteger
output_pathstring
StyleDescription
watercolorWatercolor painting style
oil-paintingOil painting with visible brushstrokes
pencil-sketchDetailed pencil sketch
pixel-artRetro pixel art
animeAnime style illustration
pop-artBold pop art style
art-nouveauArt nouveau with flowing organic lines
cinematicCinematic photography with dramatic lighting
portraitProfessional portrait photography
macroExtreme macro photography
aerialAerial drone photography
studioStudio photography on clean background
noirDark film noir style
vintageFaded vintage photograph
ModelNotes

How to install the Grok MCP Server

{
  "mcpServers": {
    "grok-image": {
      "command": "/path/to/mcp-server-grok-image"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

Example prompts to try

  • “Use Grok to generate image.”
  • “Use Grok to edit image.”
  • “Use Grok to list styles.”

Frequently asked questions

MCP server for Grok image generation and editing Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.