Semantouch
English | 简体中文
Native macOS computer use for MCP clients.
Semantouch is a dependency-free Swift helper that combines ScreenCaptureKit window
capture with the macOS Accessibility API. It exposes compact UI state and native actions
through a stdio Model Context Protocol server, with an
included OMP plugin.
DeepWiki ·
Star history ·
Releases
[!IMPORTANT]
Semantouch can observe and control native applications. Review the
security model, configure an app denylist where appropriate, and
require human confirmation before consequential actions.
What it provides
- Per-window capture, including windows covered by other windows
- Compact accessibility trees with stable element IDs
- Full snapshots followed by incremental tree diffs
- Semantic accessibility actions for buttons, values, selections, and text
- Guarded keyboard and pointer fallback when semantic actions are unavailable
- User-interruption detection during synthesized input
- A nonactivating virtual-cursor overlay that never gates action correctness
- MCP tools for discovery, launch, observation, full-text reads, interaction, waiting, and cleanup
- A standalone CLI plus OMP skills, diagnostics, and MCP configuration
Semantouch uses public Apple APIs and does not depend on private frameworks or
proprietary computer-use binaries.
Requirements
- macOS 14.0 or later
- Apple Silicon or Intel Mac (universal2 release target)
- OMP for the plugin install path
- Network access for released-app downloads and GitHub update checks
A Swift toolchain and just are needed only for source builds and development.
[!NOTE]
v0.2.1 is the final legacy arm64-helper release. v0.3.3 and later
publish a signed/notarized universal2 Semantouch.app as ZIP and DMG
artifacts; the npm and Homebrew installers consume that same immutable app ZIP.
Install with OMP
Install a tagged release directly:
omp plugin install github:watzon/semantouch#v0.3.6
Alternatively, add this repository as a marketplace and install its catalog entry:
omp plugin marketplace add watzon/semantouch
omp plugin install semantouch@semantouch
Restart OMP. On first MCP launch the plugin launcher resolves a local
Semantouch.app if present, otherwise downloads the matching signed app ZIP for the
plugin version, verifies its SHA-256 checksum, and installs under:
~/Applications/Semantouch.app
When both system and user installs exist, the launcher prefers:
/Applications/Semantouch.app
MCP clients talk to the nested relay:
…/Semantouch.app/Contents/MacOS/semantouch
Accessibility and Screen Recording are owned by the signed app host
(tech.watzon.semantouch / SemantouchHost), not by the nested relay.
The plugin provides .mcp.json, the semantouch and semantouch-setup skills, and the
/semantouch-doctor command. Verify the integration:
/mcp list
/mcp test semantouch
/semantouch-doctor
Grant the exact identity reported by doctor:
- Accessibility — System Settings → Privacy & Security → Accessibility
- Screen Recording — System Settings → Privacy & Security → Screen Recording
[!NOTE]
macOS privacy grants are tied to code signature and app identity. Whole-app updates that
preserve the same signed Semantouch.app identity are intended to keep grants. A new
raw helper path or a re-signed identity can require granting permission again. Always
re-check doctor after an upgrade.
See Installation for permission troubleshooting, marketplace upgrades,
source installation, and manual MCP configuration.
Build and run manually
Build an optimized executable:
swift build -c release
SEMANTOUCH="$(swift build -c release --show-bin-path)/semantouch"
"$SEMANTOUCH" --version
"$SEMANTOUCH" doctor
Generate an MCP configuration that points to that exact binary:
"$SEMANTOUCH" config
Or run the stdio server directly from an MCP client configuration:
{
"mcpServers": {
"semantouch": {
"type": "stdio",
"command": "/absolute/path/to/semantouch",
"args": ["mcp"],
"timeout": 30000
}
}
}
The checked-in .mcp.json resolves the plugin launcher, a development
install, or SEMANTOUCH_BIN. Generated packaging examples use
/Applications/Semantouch.app/Contents/MacOS/semantouch.
MCP tools
tools/list currently exposes these tools (catalog order):