Skip to content
VS Code

desktop touch mcp for VS Code

io.github.harusame64/desktop-touch-mcp

Computer-use MCP for Windows 10/11: 32 tools — screenshot, UIA, Chrome CDP, type/click/scroll, VBA.

client:VS Code transport:stdio runtime:npm

Install desktop touch mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "desktop-touch-auto-guard",
      "description": "DESKTOP_TOUCH_AUTO_GUARD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "desktop-touch-perception-resources",
      "description": "DESKTOP_TOUCH_PERCEPTION_RESOURCES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "desktop-touch-perception-idle-ms",
      "description": "DESKTOP_TOUCH_PERCEPTION_IDLE_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "desktop-touch-perception-dormancy-disable",
      "description": "DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "desktop-touch-diagnostic-log-disable",
      "description": "DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "desktop-touch-diagnostic-log-path",
      "description": "DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "desktop-touch-diagnostic-log-max-bytes",
      "description": "DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "desktop-touch-resolve-log-raw",
      "description": "DESKTOP_TOUCH_RESOLVE_LOG_RAW",
      "password": true
    }
  ],
  "servers": {
    "desktop-touch-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@harusame64/desktop-touch-mcp"
      ],
      "env": {
        "DESKTOP_TOUCH_AUTO_GUARD": "${input:desktop-touch-auto-guard}",
        "DESKTOP_TOUCH_PERCEPTION_RESOURCES": "${input:desktop-touch-perception-resources}",
        "DESKTOP_TOUCH_PERCEPTION_IDLE_MS": "${input:desktop-touch-perception-idle-ms}",
        "DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE": "${input:desktop-touch-perception-dormancy-disable}",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE": "${input:desktop-touch-diagnostic-log-disable}",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH": "${input:desktop-touch-diagnostic-log-path}",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES": "${input:desktop-touch-diagnostic-log-max-bytes}",
        "DESKTOP_TOUCH_RESOLVE_LOG_RAW": "${input:desktop-touch-resolve-log-raw}"
      }
    }
  }
}

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

desktop touch mcp in other clients