原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Desktop Touch MCP

作者:Harusame64版本 2.4.0i★ –i在你的电脑上运行
注册名称io.github.Harusame64/desktop-touch-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 网页与浏览器

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: DESKTOP_TOUCH_AUTO_GUARD, DESKTOP_TOUCH_PERCEPTION_RESOURCES, DESKTOP_TOUCH_PERCEPTION_IDLE_MS, DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE, DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE, DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH, DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES, DESKTOP_TOUCH_RESOLVE_LOG_RAW

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "desktop-touch": {
      "command": "npx",
      "args": [
        "-y",
        "@harusame64/desktop-touch-mcp"
      ],
      "env": {
        "DESKTOP_TOUCH_AUTO_GUARD": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_RESOURCES": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_IDLE_MS": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES": "your-value",
        "DESKTOP_TOUCH_RESOLVE_LOG_RAW": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add desktop-touch --env DESKTOP_TOUCH_AUTO_GUARD=your-value --env DESKTOP_TOUCH_PERCEPTION_RESOURCES=your-value --env DESKTOP_TOUCH_PERCEPTION_IDLE_MS=your-value --env DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE=your-value --env DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE=your-value --env DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH=your-value --env DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES=your-value --env DESKTOP_TOUCH_RESOLVE_LOG_RAW=your-value -- npx -y @harusame64/desktop-touch-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "desktop-touch": {
      "command": "npx",
      "args": [
        "-y",
        "@harusame64/desktop-touch-mcp"
      ],
      "env": {
        "DESKTOP_TOUCH_AUTO_GUARD": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_RESOURCES": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_IDLE_MS": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES": "your-value",
        "DESKTOP_TOUCH_RESOLVE_LOG_RAW": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "desktop-touch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@harusame64/desktop-touch-mcp"
      ],
      "env": {
        "DESKTOP_TOUCH_AUTO_GUARD": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_RESOURCES": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_IDLE_MS": "your-value",
        "DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH": "your-value",
        "DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES": "your-value",
        "DESKTOP_TOUCH_RESOLVE_LOG_RAW": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • DESKTOP_TOUCH_AUTO_GUARD env
    Set to '0' to disable automatic action guards (reverts to v0.11.12 behavior).
  • DESKTOP_TOUCH_PERCEPTION_RESOURCES env
    Set to '1' to enable MCP perception resources.
  • DESKTOP_TOUCH_PERCEPTION_IDLE_MS env
    Idle ms before the WinEvent sidecar enters dormancy (default 60000).
  • DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE env
    Set to '1' to keep the WinEvent sidecar always running (no auto-dormancy).
  • DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE env
    Set to '1' to disable the JSONL diagnostic event log (issue #365 Phase 2).
  • DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH env
    Override path for the diagnostic event log.
  • DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES env
    Size in bytes at which the diagnostic event log rolls over to diagnostic.log.1 (default 67108864 = 64 MiB). Two rolled generations are kept. Values below 1 MiB are raised to 1 MiB and values above 1…
  • DESKTOP_TOUCH_RESOLVE_LOG_RAW env
    Set to '1' to record window titles and title queries in clear in the diagnostic event log. Off by default: titles are recorded as a short hash plus their length, because a title can contain a file na…

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Harusame64 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“网页与浏览器”中的其他服务器比较i

  • 星标数多于此分类中其他 1403 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1403 个服务器的 77% 更新
  • 基础检查结果等于或优于此分类中其他 1403 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Desktop Touch MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.4.0)于10天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Browser Use, Chrome DevTools MCP, MCP Server Browser

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Browser Use

Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.

作者:browser-use广泛使用↓ 155.2万/周★ 12万20天前更新

电脑或云端✓ browser-use.com

Chrome DevTools MCP

MCP server for Chrome DevTools

作者:ChromeDevTools广泛使用↓ 188.4万/周★ 5.5万18天前更新

在你的电脑上运行

MCP Server Browser

MCP server for browser use access

作者:bytedance广泛使用↓ 792/周★ 4万14个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

desktop-touch-mcp

日本語

Computer-use MCP server for Windows. Lets Claude, Cursor, or any MCP client see and operate your Windows 10/11 desktop — screenshots, UI Automation, Chrome CDP, keyboard / mouse, terminal — with semantic discover-then-act targeting that avoids pixel-coordinate guessing, and per-action perception guards that catch wrong-window typing before it happens.

npx -y @harusame64/desktop-touch-mcp

32 tools, native Rust engine (UIA in 2 ms), zero-config PowerShell fallback, full CJK support, MIT licensed. Add the snippet above to your Claude / Cursor / VS Code Copilot config and Claude can drive Notepad, Excel, Chrome, Windows Terminal, and any other app on your machine.

Why this over pixel-clicking? Two ideas run through every tool: discover-then-act — desktop_discover returns interactive entities with short-lived leases instead of raw coordinates, so desktop_act operates on *what* you mean, not *where* it was — and per-action perception guards that verify the target window's identity and bounds before input lands, catching wrong-window typing and stale-coordinate clicks before they happen.

2.1 reads UI Automation by element count instead of depth: Chrome, Edge and VS Code pages, Explorer and Settings values, and Word's body are read and can be acted on, and what UIA still cannot see falls back to OCR and Set-of-Marks as before. desktop_act also types into Word's body, and into Windows Terminal after asking the user. 2.0 refuses an action that cannot be done, with a reason, instead of reporting it done, and an action aimed by hwnd reaches that window only. See the CHANGELOG.


Features

  • 🔁 Every act reports what it did — desktop_act answers with what changed: elements that appeared or disappeared, a modal, a focus move, the screen's repaint (observation), and with narrate:"rich" the values and names that changed. The agent reads the result of its click from the reply instead of taking another screenshot. On UIA-blind targets it can also attach a PNG of just the region that changed (roiCapture; on by default for a visible change, returnCapture:"never" to suppress, "always" to force).
  • 🛑 An act that cannot be done is refused, not reported as done — input that would not reach the field, a window blocked by a dialog, a closed window, a window on another virtual desktop: nothing is sent, and the reply names the reason and what to do next. An act aimed by hwnd never lands in another window with the same title.
  • 🌐 Reads deep windows (2.1) — The UI Automation read goes to depth 64 and 500 elements. Chrome, Edge and VS Code pages, which 2.0 called blind, Explorer and Settings values it left out, and Word's body are read and can be acted on (a Chrome page: 6 elements in 387 ms → 45 in 186 ms).
  • 🎯 Set-of-Marks (SoM) visual fallback — Games, RDP sessions and apps with no accessibility tree still return clickable elements: when UIA is blind, desktop_discover and screenshot(detail="text") switch to a Hybrid Non-CDP pipeline — Rust-powered grayscale + bilinear upscale → Windows OCR → clustering → red bounding boxes with numbered badges ([1], [2]…). Two representations come back: a PNG for spatial orientation and an elements[] list with clickAt coords — no CDP required.
  • ⌨️ Types where background input does not reach — Windows Terminal, after asking the user each time (needs an MCP client with elicitation, over stdio), and Word's body, at Word's caret whether it is in front or behind.
  • 🔐 Key Locker — the terminal autofills your SSH / sudo passwords — Save a credential once into the locker's own secure dialog (stored encrypted on your machine with Windows DPAPI; never shown to the assistant), then run ssh / sudo in a console opened by key_locker(action='launch_console') — the password is filled in automatically when the hidden prompt appears, with a per-fill confirmation prompt by default. See Key Locker.
  • ⚡ Rust native core — The UIA bridge and image diffing are a Rust native addon (napi-rs + windows-rs): UIA is called over COM from a dedicated thread instead of spawning PowerShell, and image diffs use SSE2 SIMD. Without the addon, every function falls back to PowerShell transparently. The npm launcher fetches only the GitHub Release matching its version and verifies the Windows runtime zip before extracting it.
  • LLM-native design — Built around how LLMs think, not how humans click. run_macro batches multiple operations into a single API call; diffMode sends only the windows that changed since the last frame. Minimal tokens, minimal round-trips.
  • Reactive Perception Graph — Register a lensId for a window or browser tab, pass it to action tools, and get guard-checked post.perception feedback after each action. It reduces repeated screenshot / desktop_state calls and prevents wrong-window typing or stale-coordinate clicks.
  • Full CJK support — Uses Win32 GetWindowTextW for window titles, avoiding nut-js garbling. IME bypass input supported for Japanese/Chinese/Korean environments.
  • 3-tier token reduction — detail="image" (~443 tok) / detail="text" (~100–300 tok) / diffMode=true (~160 tok). Send pixels only when you actually need to see them.
  • 1:1 coordinate mode — dotByDot=true captures at native resolution (WebP). Image pixel = screen coordinate — no scale math needed. With origin+scale passed to mouse_click, the server converts coords for you — eliminating off-by-one / scale bugs.
  • Browser capture data reduction — grayscale=true (~50% size), dotByDotMaxDimension=1280 (auto-scaled with coord preservation), and windowTitle + region sub-crops help exclude browser chrome and other irrelevant pixels. Typical reduction for heavy captures: 50–70%.
  • Chromium smart fallback — detail="text" on Chrome/Edge/Brave auto-skips UIA (prohibitively slow there) and runs Windows OCR. hints.chromiumGuard + hints.ocrFallbackFired flag the path taken.
  • UIA element extraction — detail="text" returns button names and clickAt coords as JSON. Claude can click the right element without ever looking at a screenshot.
  • Auto-dock CLI — window_dock(action='dock') snaps any window to a screen corner with always-on-top. Set DESKTOP_TOUCH_DOCK_TITLE='@parent' to auto-dock the terminal hosting Claude on MCP startup — the process-tree walker finds the right window regardless of title.
  • Emergency stop (Failsafe) — Park the mouse in the top-left corner of the primary monitor (within 10px of 0,0) for 500ms to trigger the emergency stop.

Requirements

OSWindows 10 / 11 (64-bit). macOS 14+ on Apple Silicon: limited preview, 4 tools only — see macOS (preview)
Node.jsv20+ recommended (tested on v22+) — **to develop or run the test suite, `^22.12^24>=26`** — the test runner's own range since #658, which excludes odd majors such as 23 and 25
PowerShell5.1+ (bundled with Windows) — used only as fallback when the Rust native engine is unavailable
.NET.NET 10 Desktop Runtime (x64), for the bundled helpers: OCR, the Key Locker, and typing into a console window in the background. Without it OCR and the Key Locker do not run, and background typing into a console falls back to posted characters, which can lose a run of the same character
Claude CLIclaude command must be available

Note: nut-js native bindings require the Visual C++ Redistributable.

Download from Microsoft if not already installed.

Note (Key Locker): The credential helper Key Locker uses is an unsigned executable, so on

some machines Windows SmartScreen or antivirus may show an "unknown publisher" warning the

first time it runs. This is expected — the helper ships with desktop-touch-mcp and runs locally

on your machine; you can allow it to proceed. Code signing is planned for a future release.


Installation

npx -y @harusame64/desktop-touch-mcp

The npm launcher resolves runtime strictly by npm package version. For package X.Y.Z, it fetches only GitHub Release tag vX.Y.Z, downloads the zip for your platform (desktop-touch-mcp-windows.zip, or desktop-touch-mcp-macos-arm64.zip on an Apple Silicon Mac), verifies its SHA256 digest, and only then expands it under %USERPROFILE%\.desktop-touch-mcp (~/.desktop-touch-mcp on macOS). Verified cached releases are reused on later runs.

Set DESKTOP_TOUCH_MCP_HOME to override the cache root directory.

Old releases are removed once the server has started, keeping the one being run and one other (about 180 MB each on Windows). Set DESKTOP_TOUCH_MCP_KEEP_RELEASES to keep more (0 keeps all). A release another client is running is kept. Removing an old releases/vX.Y.Z folder by hand is also safe while no client runs it.

On a shared or CI network? The first run reads the GitHub Releases API to

locate the runtime zip. The anonymous limit is 60 requests/hour per IP, which a

shared public address (CI runners, office NAT) can exhaust before your download

even starts. Set GITHUB_TOKEN (or GH_TOKEN) in the environment and the

launcher authenticates the request, raising the limit to 5,000 requests/hour.

No token is needed on an ordinary home connection.

Running the launcher from a source checkout? A source build's

bin/launcher.js carries a placeholder integrity hash (sha256: "PENDING")

instead of a finalized one. Rather than download and run an unverified runtime,

the launcher fails closed — this guard stops an accidentally published or

unfinalized launcher from silently starting unverified code. Published npm

releases always ship a real SHA256, so end users never see this. If you are

intentionally running the launcher from source, set

DESKTOP_TOUCH_MCP_ALLOW_UNVERIFIED=1 to skip integrity verification

(development only).

Does your host give up before the launcher finishes? Some desktop hosts

allow a plugin a fixed budget — 60 seconds is common — to become ready, and a

launcher waiting on an unreachable GitHub can spend all of it. Two environment

variables cover that case.

DESKTOP_TOUCH_MCP_FETCH_TIMEOUT_MS (default 15000) bounds how long the

launcher waits without hearing from GitHub. It applies to the release lookup

and to the download; for the download it counts silence rather than total

time, so a large runtime still installs over a slow connection. A value that

is not a positive number of milliseconds is ignored with a warning.

DESKTOP_TOUCH_MCP_OFFLINE_FALLBACK=1 lets the launcher start a release that

is already installed when GitHub cannot be reached at all. It is off by

default. GitHub is always contacted first, so a reachable network still

re-downloads and repairs a damaged install; only a network failure reaches the

fallback, which starts the copy of your version on disk — without

re-verification — or, when that version was never installed, the newest older

release that completed a verified install. Answers that are not network

failures (a 404, the API rate limit, a mismatched integrity hash) still stop

startup loudly. Leave it off unless a host timeout forces your hand: while it

is set, a corrupted install of your current version is reused instead of being

repaired.

The two work together: with the fallback on, startup still waits out the

timeout before falling back, so lower DESKTOP_TOUCH_MCP_FETCH_TIMEOUT_MS if

your host's budget is tight. Note also that a download which is still

arrivi

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx