Skip to content
VS Code

Webcomic Background for VS Code

io.github.tobiasfong/webcomic-background

Comic-panel backgrounds with a consistent world bible, rendered by FLUX 3 Klein on local ComfyUI.

client:VS Code transport:stdio runtime:pypi

Install Webcomic Background in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "webcomic-bg-klein-url",
      "description": "WEBCOMIC_BG_KLEIN_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "webcomic-bg-klein-dir",
      "description": "WEBCOMIC_BG_KLEIN_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "webcomic-bg-autolaunch",
      "description": "WEBCOMIC_BG_AUTOLAUNCH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "webcomic-bg-world",
      "description": "WEBCOMIC_BG_WORLD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "webcomic-bg-output",
      "description": "WEBCOMIC_BG_OUTPUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "webcomic-bg-project",
      "description": "WEBCOMIC_BG_PROJECT",
      "password": true
    }
  ],
  "servers": {
    "webcomic-background": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "webcomic-background-mcp"
      ],
      "env": {
        "WEBCOMIC_BG_KLEIN_URL": "${input:webcomic-bg-klein-url}",
        "WEBCOMIC_BG_KLEIN_DIR": "${input:webcomic-bg-klein-dir}",
        "WEBCOMIC_BG_AUTOLAUNCH": "${input:webcomic-bg-autolaunch}",
        "WEBCOMIC_BG_WORLD": "${input:webcomic-bg-world}",
        "WEBCOMIC_BG_OUTPUT": "${input:webcomic-bg-output}",
        "WEBCOMIC_BG_PROJECT": "${input:webcomic-bg-project}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Webcomic Background in other clients