Skip to content
VS Code

Web Task for VS Code

io.github.rich-jojo/web-task-api

Browser tasks, sessions, and recipes for MCP and HTTP automation.

client:VS Code transport:stdio runtime:npm

Install Web Task in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "web-task-api-data-dir",
      "description": "WEB_TASK_API_DATA_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "web-task-api-recipes-dir",
      "description": "WEB_TASK_API_RECIPES_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "web-task-api-temp-dir",
      "description": "WEB_TASK_API_TEMP_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cliproxy-base-url",
      "description": "CLIPROXY_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cliproxy-auth-token",
      "description": "CLIPROXY_AUTH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cliproxy-model",
      "description": "CLIPROXY_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "opencode-base-url",
      "description": "OPENCODE_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "opencode-model",
      "description": "OPENCODE_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "browser-user-data-dir",
      "description": "BROWSER_USER_DATA_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "browser-channel",
      "description": "BROWSER_CHANNEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "headless",
      "description": "HEADLESS",
      "password": true
    }
  ],
  "servers": {
    "web-task-api": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "web-task-api"
      ],
      "env": {
        "WEB_TASK_API_DATA_DIR": "${input:web-task-api-data-dir}",
        "WEB_TASK_API_RECIPES_DIR": "${input:web-task-api-recipes-dir}",
        "WEB_TASK_API_TEMP_DIR": "${input:web-task-api-temp-dir}",
        "CLIPROXY_BASE_URL": "${input:cliproxy-base-url}",
        "CLIPROXY_AUTH_TOKEN": "${input:cliproxy-auth-token}",
        "CLIPROXY_MODEL": "${input:cliproxy-model}",
        "OPENCODE_BASE_URL": "${input:opencode-base-url}",
        "OPENCODE_MODEL": "${input:opencode-model}",
        "BROWSER_USER_DATA_DIR": "${input:browser-user-data-dir}",
        "BROWSER_CHANNEL": "${input:browser-channel}",
        "HEADLESS": "${input:headless}"
      }
    }
  }
}

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

Web Task in other clients