desktop-touch-mcp
A community-built MCP server for Windows that enables AI agents to interact with desktop applications using semantic discovery rather than pixel coordinates. It utilizes a native Rust UIA engine for fast element detection, supports Chrome CDP for browser automation, and includes perception guards to prevent actions in incorrect windows. It provides tools for screenshots, typing, clicking, and scrolling, compatible with clients like Claude and Cursor.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Automate interactions with Windows desktop applications like Notepad or Excel
- Drive Chrome browser sessions using Chrome DevTools Protocol
- Perform semantic UI automation with discover-then-act targeting
- Capture screenshots and read UI elements via UI Automation
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@harusame64/desktop-touch-mcp 2.4.0
{
"version": "2.4.0",
"transport": "stdio",
"identifier": "@harusame64/desktop-touch-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "DESKTOP_TOUCH_AUTO_GUARD",
"format": "string",
"description": "Set to '0' to disable automatic action guards (reverts to v0.11.12 behavior)."
},
{
"name": "DESKTOP_TOUCH_PERCEPTION_RESOURCES",
"format": "string",
"description": "Set to '1' to enable MCP perception resources."
},
{
"name": "DESKTOP_TOUCH_PERCEPTION_IDLE_MS",
"format": "string",
"description": "Idle ms before the WinEvent sidecar enters dormancy (default 60000)."
},
{
"name": "DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE",
"format": "string",
"description": "Set to '1' to keep the WinEvent sidecar always running (no auto-dormancy)."
},
{
"name": "DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE",
"format": "string",
"description": "Set to '1' to disable the JSONL diagnostic event log (issue #365 Phase 2)."
},
{
"name": "DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH",
"format": "string",
"description": "Override path for the diagnostic event log."
},
{
"name": "DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES",
"format": "string",
"description": "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 GiB are lowered to 1 GiB; anything that is not a positive whole number falls back to the default, so a typo cannot disable rotation in either direction."
},
{
"name": "DESKTOP_TOUCH_RESOLVE_LOG_RAW",
"format": "string",
"description": "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 name, a mail subject, or a browser page title."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"desktop-touch-mcp": {
"command": "npx",
"args": [
"-y",
"@harusame64/desktop-touch-mcp@2.4.0"
],
"env": {
"DESKTOP_TOUCH_AUTO_GUARD": "<YOUR_DESKTOP_TOUCH_AUTO_GUARD>",
"DESKTOP_TOUCH_PERCEPTION_RESOURCES": "<YOUR_DESKTOP_TOUCH_PERCEPTION_RESOURCES>",
"DESKTOP_TOUCH_PERCEPTION_IDLE_MS": "<YOUR_DESKTOP_TOUCH_PERCEPTION_IDLE_MS>",
"DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE": "<YOUR_DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES>",
"DESKTOP_TOUCH_RESOLVE_LOG_RAW": "<YOUR_DESKTOP_TOUCH_RESOLVE_LOG_RAW>"
}
}
}
}Cline
{
"mcpServers": {
"desktop-touch-mcp": {
"command": "npx",
"args": [
"-y",
"@harusame64/desktop-touch-mcp@2.4.0"
],
"env": {
"DESKTOP_TOUCH_AUTO_GUARD": "<YOUR_DESKTOP_TOUCH_AUTO_GUARD>",
"DESKTOP_TOUCH_PERCEPTION_RESOURCES": "<YOUR_DESKTOP_TOUCH_PERCEPTION_RESOURCES>",
"DESKTOP_TOUCH_PERCEPTION_IDLE_MS": "<YOUR_DESKTOP_TOUCH_PERCEPTION_IDLE_MS>",
"DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE": "<YOUR_DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES>",
"DESKTOP_TOUCH_RESOLVE_LOG_RAW": "<YOUR_DESKTOP_TOUCH_RESOLVE_LOG_RAW>"
}
}
}
}VS Code
{
"servers": {
"desktop-touch-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@harusame64/desktop-touch-mcp@2.4.0"
],
"env": {
"DESKTOP_TOUCH_AUTO_GUARD": "<YOUR_DESKTOP_TOUCH_AUTO_GUARD>",
"DESKTOP_TOUCH_PERCEPTION_RESOURCES": "<YOUR_DESKTOP_TOUCH_PERCEPTION_RESOURCES>",
"DESKTOP_TOUCH_PERCEPTION_IDLE_MS": "<YOUR_DESKTOP_TOUCH_PERCEPTION_IDLE_MS>",
"DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE": "<YOUR_DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES>",
"DESKTOP_TOUCH_RESOLVE_LOG_RAW": "<YOUR_DESKTOP_TOUCH_RESOLVE_LOG_RAW>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"desktop-touch-mcp": {
"command": "npx",
"args": [
"-y",
"@harusame64/desktop-touch-mcp@2.4.0"
],
"env": {
"DESKTOP_TOUCH_AUTO_GUARD": "<YOUR_DESKTOP_TOUCH_AUTO_GUARD>",
"DESKTOP_TOUCH_PERCEPTION_RESOURCES": "<YOUR_DESKTOP_TOUCH_PERCEPTION_RESOURCES>",
"DESKTOP_TOUCH_PERCEPTION_IDLE_MS": "<YOUR_DESKTOP_TOUCH_PERCEPTION_IDLE_MS>",
"DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE": "<YOUR_DESKTOP_TOUCH_PERCEPTION_DORMANCY_DISABLE>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_DISABLE>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_PATH>",
"DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES": "<YOUR_DESKTOP_TOUCH_DIAGNOSTIC_LOG_MAX_BYTES>",
"DESKTOP_TOUCH_RESOLVE_LOG_RAW": "<YOUR_DESKTOP_TOUCH_RESOLVE_LOG_RAW>"
}
}
}
}Let your agent find its tools
Find servers like desktop-touch-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.