AI image and video generation, editing, and region repair via Gemini, OpenAI, and Grok.
Connect Runs on your machine
claude mcp add pixel-surgeon -e GOOGLE_API_KEY=<GOOGLE_API_KEY> -e OPENAI_API_KEY=<OPENAI_API_KEY> -e XAI_API_KEY=<XAI_API_KEY> -- npx -y [email protected]
{
"mcpServers": {
"pixel-surgeon": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_API_KEY": "<GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<OPENAI_API_KEY>",
"XAI_API_KEY": "<XAI_API_KEY>"
}
}
}
}
{
"mcpServers": {
"pixel-surgeon": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_API_KEY": "<GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<OPENAI_API_KEY>",
"XAI_API_KEY": "<XAI_API_KEY>"
}
}
}
}
{
"servers": {
"pixel-surgeon": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_API_KEY": "<GOOGLE_API_KEY>",
"OPENAI_API_KEY": "<OPENAI_API_KEY>",
"XAI_API_KEY": "<XAI_API_KEY>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
GOOGLE_API_KEYOptional, secret | Google AI API key (enables Gemini image/video generation) |
OPENAI_API_KEYOptional, secret | OpenAI API key (enables GPT Image 1/2 generation) |
XAI_API_KEYOptional, secret | xAI API key (enables Grok Imagine generation) |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 26 May 2026 |
| Last updated | 26 May 2026 |
| Registry name | io.github.j-east/pixel-surgeon |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
