NestDaddy

Codetoimage Mcp Server

io.github.beznazwiska/codetoimage-mcp-server · v0.2.0

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

Connect Runs on your machine

Terminal
claude mcp add codetoimage-mcp-server -e CODETOIMAGE_API_KEY=<CODETOIMAGE_API_KEY> -e CODETOIMAGE_API_URL=<CODETOIMAGE_API_URL> -- npx -y @codetoimage/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "codetoimage-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codetoimage/[email protected]"
      ],
      "env": {
        "CODETOIMAGE_API_KEY": "<CODETOIMAGE_API_KEY>",
        "CODETOIMAGE_API_URL": "<CODETOIMAGE_API_URL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "codetoimage-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codetoimage/[email protected]"
      ],
      "env": {
        "CODETOIMAGE_API_KEY": "<CODETOIMAGE_API_KEY>",
        "CODETOIMAGE_API_URL": "<CODETOIMAGE_API_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "codetoimage-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codetoimage/[email protected]"
      ],
      "env": {
        "CODETOIMAGE_API_KEY": "<CODETOIMAGE_API_KEY>",
        "CODETOIMAGE_API_URL": "<CODETOIMAGE_API_URL>"
      }
    }
  }
}

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

NameDescription
CODETOIMAGE_API_KEY
Required, secret
API key from https://codetoimage.app/dashboard/keys (starts with cti_live_…). Sandbox tier is free.
CODETOIMAGE_API_URL
Optional
Override the API base URL. Defaults to https://api.codetoimage.app.

Details

Package@codetoimage/[email protected] (NPM, stdio)
First published11 Jul 2026
Last updated11 Jul 2026
Registry nameio.github.beznazwiska/codetoimage-mcp-server

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.