Skip to content

Native Devtools MCP

MCP server for computer use & browser automation - screenshot, OCR, click, type, find_text, Chrome/Electron CDP, template matching. macOS, Windows & Android. Works with Claude,…

Install

$npx -y native-devtools-mcp
Claude Code
claude mcp add native-devtools-mcp -- npx -y native-devtools-mcp
Cursor / Claude Desktop (mcp.json)
{
  "mcpServers": {
    "native-devtools-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "native-devtools-mcp"
      ]
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

native-devtools-mcp

An MCP server for computer use on native desktop and mobile apps — macOS, Windows, Android, and Chrome/Electron via CDP.

Add to your client in one click:

Claude Code: claude mcp add native-devtools -- npx -y native-devtools-mcp

native-devtools-mcp gives AI agents and MCP clients direct control over native desktop apps, Chrome/Electron browsers, and Android devices — screenshots, OCR, accessibility-first element lookup, input simulation, window management, Chrome DevTools Protocol (CDP), and ADB — all in one local server. Works with Claude Desktop, Claude Code, Cursor, and other MCP-compatible clients.

Quickstart

npx -y native-devtools-mcp

🚀 Features

  • 👀 Computer Vision: Screenshots of screens, windows, or regions with built-in OCR (Vision on macOS, Windows Media OCR on Windows).
  • 🖱️ Input Simulation: Click, drag, scroll, type — global coordinates, window-relative, and screenshot-relative targeting.
  • 🎯 Element-Precise AX Dispatch (macOS): take_ax_snapshot → ax_click / ax_set_value / ax_select — dispatch against Accessibility-tree elements without moving the mouse or stealing focus. The preferred path for native macOS apps.
  • 🌐 Browser Automation (CDP): Chrome DevTools Protocol for Chrome and Electron apps (Signal, Discord, VS Code, Slack) — DOM-level click, fill, navigate, and JS evaluation without a separate Node.js server.
  • 📱 Android (ADB): Screenshots, uiautomator-based text lookup, input, and app management over USB or Wi-Fi.
  • 🧩 Template Matching: load_image + find_image for icons, toggles, and custom controls OCR can't identify.
  • 🪟 Window Management: List, focus, launch, and quit apps; record windows as timestamped JPEG frames.
  • 🔍 Hover Tracking: Observe user navigation patterns with dwell-filtered hover events — designed for LLMs watching a user work.
  • 🔒 Local & Private: 100% local execution. Screenshots and input never leave your machine.

🧭 Three Approaches to Interaction

Pick the approach that matches your target app.

Approach Best for Key tools
Visual (universal) Any app — games, Qt, custom renderers, anything without an AX tree take_screenshot, find_text, click, type_text, find_image
AX Dispatch (macOS — preferred for native macOS apps) AppKit / SwiftUI apps — System Settings, Finder, Mail, Xcode, Notes take_ax_snapshot, ax_click, ax_set_value, ax_select
CDP (Chrome / Electron) Web content, Electron apps with --remote-debugging-port cdp_connect, cdp_find_elements, cdp_take_dom_snapshot, cdp_click, cdp_fill

For macOS native apps, AX Dispatch is the preferred path — it's element-precise, doesn't move the mouse, and doesn't steal focus. See the Native App AX Dispatch recipe.

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io