Skip to content
Cursor

pixel surgeon for Cursor

io.github.j-east/pixel-surgeon

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

client:Cursor transport:stdio runtime:npm

Install pixel surgeon in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "pixel-surgeon": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pixel-surgeon-mcp"
      ],
      "env": {
        "GOOGLE_API_KEY": "<GOOGLE_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "XAI_API_KEY": "<XAI_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

pixel surgeon in other clients