{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.beznazwiska/codetoimage-mcp-server",
  "slug": "io.github.beznazwiska.codetoimage-mcp-server",
  "title": "codetoimage-mcp-server",
  "summary": "Pixel-perfect HTML/CSS to PNG/JPG/WebP for AI agents — inline image or 24h hosted URL.",
  "version": "0.2.0",
  "serverKey": "codetoimage-mcp-server",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.beznazwiska.codetoimage-mcp-server",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.beznazwiska.codetoimage-mcp-server/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T09:05:19.190325799Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@codetoimage/mcp-server@0.2.0",
        "codetoimage-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add codetoimage-mcp-server -e 'CODETOIMAGE_API_KEY=<CODETOIMAGE_API_KEY>' -- npx -y --package=@codetoimage/mcp-server@0.2.0 codetoimage-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"codetoimage-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@codetoimage/mcp-server@0.2.0\",\n        \"codetoimage-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"CODETOIMAGE_API_KEY\": \"<CODETOIMAGE_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"codetoimage-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@codetoimage/mcp-server@0.2.0\",\n        \"codetoimage-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"CODETOIMAGE_API_KEY\": \"<CODETOIMAGE_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"CODETOIMAGE_API_KEY\",\n      \"id\": \"codetoimage-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"codetoimage-mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@codetoimage/mcp-server@0.2.0\",\n        \"codetoimage-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"CODETOIMAGE_API_KEY\": \"${input:codetoimage-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.codetoimage-mcp-server]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@codetoimage/mcp-server@0.2.0\", \"codetoimage-mcp\"]\nenv = { \"CODETOIMAGE_API_KEY\" = \"<CODETOIMAGE_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "CODETOIMAGE_API_KEY",
      "required": true,
      "secret": true,
      "description": "API key from https://codetoimage.app/dashboard/keys (starts with cti_live_…). Sandbox tier is free.",
      "help": "API key from https://codetoimage.app/dashboard/keys (starts with cti_live_…). Sandbox tier is free.",
      "placeholder": "<CODETOIMAGE_API_KEY>"
    },
    {
      "name": "CODETOIMAGE_API_URL",
      "required": false,
      "secret": false,
      "description": "Override the API base URL. Defaults to https://api.codetoimage.app.",
      "help": "Override the API base URL. Defaults to https://api.codetoimage.app.",
      "default": "https://api.codetoimage.app",
      "placeholder": "https://api.codetoimage.app"
    }
  ],
  "expectedTools": [
    "render_html_to_image",
    "render_html_to_url"
  ],
  "agentSteps": [
    "Ask the user for: CODETOIMAGE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: render_html_to_image, render_html_to_url.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T09:05:19.190325799Z"
}
