Skip to content

codetoimage mcp server for Zed

io.github.beznazwiska/codetoimage-mcp-server

Pixel-perfect HTML/CSS to PNG/JPG/WebP for AI agents — inline image or 24h hosted URL.

client:Zed transport:stdio runtime:npm

Install codetoimage mcp server in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "codetoimage-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codetoimage/mcp-server"
      ],
      "env": {
        "CODETOIMAGE_API_KEY": "<CODETOIMAGE_API_KEY>",
        "CODETOIMAGE_API_URL": "<CODETOIMAGE_API_URL>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

codetoimage mcp server in other clients