image generation for Cursor
io.github.magurelabs/image-generation
Generate an image from a text description with Google Gemini.
client:Cursor
transport:stdio
runtime:oci
Install image generation in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"image-generation": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/magureai/mcp-image-generation:2.0.0"
],
"env": {
"MCP_MODE": "<MCP_MODE>",
"MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs