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

Precision Desktop

作者:ikoskela版本 0.1.1i★ –i在你的电脑上运行
注册名称io.github.ikoskela/precision-desktop

安装

概览

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

Fixes DPI coordinate scaling for Windows desktop automation MCP servers.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

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

安装之前

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "precision-desktop": {
      "command": "uvx",
      "args": [
        "precision-desktop"
      ],
      "env": {
        "WINDOWS_MCP_PATH": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add precision-desktop --env WINDOWS_MCP_PATH=your-value -- uvx precision-desktop

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "precision-desktop": {
      "command": "uvx",
      "args": [
        "precision-desktop"
      ],
      "env": {
        "WINDOWS_MCP_PATH": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "precision-desktop": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "precision-desktop"
      ],
      "env": {
        "WINDOWS_MCP_PATH": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • WINDOWS_MCP_PATH env
    Path to windows-mcp installation directory. Auto-detected if not set.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“其他”中的其他服务器比较i

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

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

常见问题

Precision Desktop 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.1)于9个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, MemberVault MCP by usefulapi

替代选择

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

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

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

作者的 README

打开 README

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

precision-desktop

mcp-name: io.github.ikoskela/precision-desktop

A companion MCP server that fixes DPI coordinate scaling for Windows desktop automation.

Windows DPI scaling silently breaks every MCP tool that clicks, types, or hovers on the desktop. precision-desktop detects and corrects the coordinate mismatch so your AI agent's clicks actually land where they should.

The Problem

Windows has two coordinate systems and doesn't tell you which one you're using.

When Windows DPI scaling is set above 100% (which it is on most modern laptops and monitors), different Windows APIs return coordinates in different systems:

Coordinate SystemUsed ByExample: Point at 50% across a 4K display
Physical (pixels)Mouse events, SetCursorPos, UI Automation*1920, 1080
Logical (DPI-scaled)GetWindowRect, Cursor.Position, .NET, screenshots1097, 617 (at 175% scaling)

\* *UI Automation returns physical on DPI-aware processes, logical on others — yet another inconsistency.*

The ratio between them is your DPI scale factor (e.g., 1.25x, 1.5x, 1.75x, 2.0x).

The problem isn't just "some APIs return logical." It's that different APIs return different coordinate systems with no indication of which one you're getting. There's no flag, no header, no type annotation — just numbers that look identical but mean completely different things.

Three ways this breaks AI agents

1. API mismatch — Click tools accept physical coordinates, but common Windows APIs return logical:

What the AI wants to click: [Button at physical (1920, 1080)]

What GetWindowRect says: [Button at logical (1097, 617)] Where the click lands: (1097, 617) in physical space ^^^^^^^^^ WRONG - completely different spot

2. Screenshot mismatch — Screen captures are taken at logical resolution, but click tools expect physical coordinates. On a 3840x2400 display at 175% scaling, screenshots are 2194x1371 pixels. When a vision model (GPT-4o, Claude, CogAgent) looks at a screenshot and estimates "the button is at pixel (500, 300)," that's a logical coordinate. Clicking there in physical space misses by hundreds of pixels:

Vision model sees:    [Button at (500, 300) in screenshot]

Screenshot space: Logical (2194x1371) Click-Tool expects: Physical (3840x2400) Correct click: (875, 525) ← needs 1.75x conversion

3. Mixed sources within the same tool — Even a single tool can return both systems. For example, windows-mcp's State-Tool reports element coordinates in physical space (correct for clicking), but its screenshots are captured at logical resolution. An agent combining both — reading element positions from the accessibility tree *and* estimating positions from screenshots — will silently mix coordinate systems.

This isn't an edge case
  • ~1 billion active Windows devices worldwide
  • ~30-50% have DPI scaling above 100% — that's 300-500 million machines
  • Windows auto-enables scaling >100% on most modern laptops (13-16" screens at 1080p+ get 125-150% by default)
  • 47% of PC users now run resolutions above 1080p (Steam Hardware Survey) — 21% at 1440p, 5% at 2560x1600, 4.2% at 4K — and climbing
  • The MCP ecosystem has 5,800+ servers and 97M+ monthly SDK downloads — every Windows desktop automation server will hit this

If you've ever watched an AI agent click confidently at exactly the wrong spot, DPI scaling is probably why.

The Solution

precision-desktop is a companion MCP server that sits alongside your desktop automation MCP (like windows-mcp) and provides:

  1. Calibration — Measure the actual DPI scale factor on this specific machine using known screen landmarks
  2. Coordinate conversion — Convert between physical and logical systems on demand
  3. UI element finding — Locate elements by name via Windows UI Automation, returning physical coordinates ready for clicking
  4. Health checks — Detect stale calibration, verify UI Automation availability, check companion MCP status
  5. Patch awareness — Track which DPI-aware patches have been applied to the companion MCP

Tools

ToolDescription
calibrateCompute DPI scale factors from 2+ reference points with known physical and logical coordinates
calibrate_verifyMark calibration as verified after confirming a test click landed correctly
get_calibrationRead current calibration state (scale factors, verification status, age)
convert_coordinatesConvert a coordinate pair between physical and logical systems
find_ui_elementFind a single UI element by name using Windows UI Automation. Returns physical coordinates
find_all_ui_elementsFind all UI elements matching a name. Returns list with physical coordinates
list_ui_elementsList all named interactive elements (buttons, text fields, etc.) in a window
find_windowFind a window handle (hwnd) by title substring
health_checkRun environment checks: calibration freshness, UI Automation, companion MCP status
patch_statusCheck which DPI-aware patches are applied to the companion MCP

Quick Start

1. Install

Clone this repo and install dependencies:

git clone https://github.com/ikoskela/precision-desktop.git

cd precision-desktop pip install -e .

2. Configure MCP

Add to your Claude Code MCP configuration (.mcp.json or settings):

{

"mcpServers": { "precision-desktop": { "command": "python", "args": ["C:/path/to/precision-desktop/server.py"] } } }

Or if using Claude Desktop, add to claude_desktop_config.json:

{

"mcpServers": { "precision-desktop": { "command": "python", "args": ["C:\\path\\to\\precision-desktop\\server.py"] } } }

3. Calibrate

The AI agent calibrates itself on first use. The flow:

  1. Agent calls `health_check` — discovers calibration is missing
  2. Agent gathers reference points — uses a coordinate reading tool (like MPos) or Move-Tool + Cursor.Position to get both physical and logical coordinates at 2+ known screen landmarks
  3. Agent calls `calibrate` with the reference points — computes scale factors
  4. Agent verifies — moves cursor to a known element, confirms it landed correctly, calls calibrate_verify

Calibration persists in state/calibration.json and only needs to be redone if DPI settings change or the display configuration changes.

Calibration Guide

What you need

Two coordinate readings for the same point:

  • Physical coordinates — from Move-Tool, Click-Tool, or State-Tool (these operate in physical space)
  • Logical coordinates — from [System.Windows.Forms.Cursor]::Position in PowerShell, or GetWindowRect API calls
Good calibration landmarks
  • Start button (bottom-left of taskbar) — easy to locate precisely
  • Date/time (bottom-right of taskbar) — anchors the opposite corner
  • Minimize button of any maximized window — well-defined clickable target
Example calibration call
{

"points": [ { "physical_x": 38, "physical_y": 2365, "logical_x": 21, "logical_y": 1351, "label": "start_button" }, { "physical_x": 3691, "physical_y": 2332, "logical_x": 2109, "logical_y": 1332, "label": "datetime" } ] }

This computes a scale factor (here, ~1.75x) and persists it for future coordinate conversions.

Verification

After calibration, the agent should:

  1. Use convert_coordinates to convert a known logical position to physical
  2. Use Move-Tool to move the cursor there
  3. Confirm the cursor is on the expected target
  4. Call calibrate_verify with success: true

UI Element Finding

Beyond coordinate conversion, precision-desktop can locate elements directly by name using Windows UI Automation — no coordinates needed.

Agent: find_ui_element(element_name="Save", window_title="Notepad")

→ { "name": "Save", "center_x": 450, "center_y": 32, "control_type": "button", ... } (coordinates are physical, ready for Click-Tool)

This works for:

  • Native Windows application controls (buttons, text fields, menus)
  • Chrome extension popups and dialogs
  • Overlay windows that State-Tool may not see
  • Any UI element exposed via Windows UI Automation
Scoped search

You can scope searches to a specific window to avoid finding elements in the wrong application:

find_ui_element(element_name="Submit", window_title="My App")

find_ui_element(element_name="Close", window_handle=12345)

Discovery

Don't know the element name? Use list_ui_elements to see what's available:

list_ui_elements(window_title="Settings")

→ [{ "name": "General", "control_type": "tab item", ... }, { "name": "Apply", "control_type": "button", ... }, ...]

Integration with windows-mcp

precision-desktop is designed to work alongside windows-mcp (or any MCP that provides desktop click/type/scroll tools).

The patching concept

Rather than forking windows-mcp, precision-desktop describes patch intents — what should change in the companion MCP and why. The AI agent reads these intents and applies version-appropriate patches itself.

Current patch intents:

  • `dpi_awareness` — Add an optional coordinate_system parameter to Click-Tool and Move-Tool that auto-converts logical coordinates to physical
  • `find_and_click` — Add an optional element_name parameter to Click-Tool that finds and clicks an element by name (no coordinates needed)

Use patch_status to check which patches are applied.

Environment variable

If windows-mcp is installed in a non-standard location, set the WINDOWS_MCP_PATH environment variable:

WINDOWS_MCP_PATH=C:\path\to\windows-mcp

By default, it looks in the standard Claude Extensions directory (%APPDATA%\Claude\Claude Extensions\ant.dir.cursortouch.windows-mcp).

Architecture

precision-desktop/

├── server.py # MCP server entry point — tool definitions and routing ├── calibration.py # DPI calibration: compute, persist, convert coordinates ├── find_element.py # Windows UI Automation: find elements, list elements, find windows ├── health_check.py # Environment checks: calibration, UI Automation, companion MCP ├── patches/ │ └── windows_mcp.py # LLM-adaptive patch intents for windows-mcp ├── state/ │ └── calibration.json # Persisted calibration data (user-specific, gitignored) └── pyproject.toml

How calibration works
  1. User (or AI agent) provides 2+ points with both physical and logical coordinates
  2. calibration.py computes the median scale factor for X and Y axes independently
  3. Checks consistency — if points disagree by more than 2%, flags as inconsistent
  4. Computes offset (typically 0 for standard DPI scaling, non-zero for multi-monitor setups)
  5. Persists to state/calibration.json
  6. Subsequent convert_coordinates calls use the persisted factors
How UI Automation finding works
  1. find_element.py runs PowerShell scripts that load UIAutomationClient and UIAutomationTypes assemblies
  2. Searches the UI Automation tree for elements matching the requested name
  3. Returns bounding rectangles in the coordinate system that UI Automation reports (which is physical on DPI-aware processes)
  4. Results include center coordinates ready for direct use with Click-Tool/Move-Tool

Requirements

  • Windows 10/11 (uses Windows UI Automation)
  • Python 3.10+
  • PowerShell (ships with Windows)
  • [mcp](https://pypi.org/project/mcp/) >= 1.0.0 (MCP SDK)
  • [MPos](https://sourceforge.net/projects/mpos/) or similar coordinate reader (for calibration) — any

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

问 PopNx