pixel-surgeon

v1.1.1
io.github.j-east/pixel-surgeon Checked 5 days ago Published 6 months ago

AI image and video generation, editing, and region repair via Gemini, OpenAI, and Grok.

Values you need

VariableWhat it is
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)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add pixel-surgeon -- npx -y pixel-surgeon-mcp@1.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "pixel-surgeon": {
      "args": [
        "-y",
        "pixel-surgeon-mcp@1.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "pixel-surgeon": {
      "args": [
        "-y",
        "pixel-surgeon-mcp@1.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "pixel-surgeon": {
      "args": [
        "-y",
        "pixel-surgeon-mcp@1.1.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.pixel-surgeon]
command = "npx"
args = ["-y", "pixel-surgeon-mcp@1.1.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_images, save_image, generate_images, generate_image, generate_video, edit_image, fix_image, fix_region, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json