Logo von Uiautomator2 MCP Server

Uiautomator2 MCP Server

Community
tanbro

A MCP (Model Context Protocol) server that provides tools for controlling and interacting with Android devices using uiautomator2.

Herausgebertanbro
Repositoryuiautomator2-mcp-server
SprachePython
Forks
10
Sterne
50
Verfügbare Tools
0
Transporttypstdio, streamable-http
Kategorien
LizenzApache-2.0
Links
  • Tools mit KI-Workflows verbinden

    Uiautomator2 MCP Server stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 0 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    50 Sterne und 10 Forks im verlinkten Repository.

uiautomator2-mcp-server

PyPI GitHub Tag GitHub Release CI Codecov

MCP Badge

Language Language



Code of Conduct: Please follow our Code of Conduct when participating in this project.

An MCP server that provides tools for controlling Android devices using uiautomator2.

Use AI to automate your Android device: take screenshots, tap/swipe, manage apps, send text, and more.

📺 Demo

Conversational Android Automation

User says: "Search cat videos on xxx App then play the video and swap to the next video"

AI automatically:

Demo GIF

Bilibili Download Video

  • ✅ Launch app → Tap search → Enter keywords → Execute search → Tap result -> Swap to next video

Control Android devices with natural language, no coding required

Detailed example: .skills/douyin-search


✨ Features

  • 📱 Multi-Device - One server, many phones
  • 🔍 XPath Filtering - Dump only the UI elements you need — save tokens and speed up responses
  • 🎛️ Tool Filtering - Show the AI only the tools it needs — fewer hallucinations, better results
  • ⚡ Zero Setup - Run with uvx immediately, no installation needed
  • 📦 Standalone Executable - Bundle into a standalone app with PyInstaller or Nuitka — no Python runtime required
  • 🧰 70+ Tools - Click, swipe, type, apps, screenshots — everything you need
  • 🧪 Built-in Testing - Includes AI-driven UI test framework out of the box
  • 🔄 Two Modes - STDIO for local, HTTP for remote
  • ⚙️ Config Files - TOML/YAML/JSON config with auto-discovery
  • 🔒 Clean Code - Type hints, linted, formatted — easy to extend

🎯 Use Cases

ScenarioDescription
🧪 Automated TestingRun natural language UI tests with AI-driven test framework
⚡ Rapid PrototypingQuickly test Android app interactions without writing code
♿ Accessibility TestingVerify app accessibility features automatically
📊 Health MonitoringPeriodic device health and status checks
🤖 Task AutomationAutomate repetitive tasks like form filling, navigation
🔬 Remote DebuggingInspect UI hierarchy and capture screenshots remotely

🏗️ Architecture

Migration from v0.1.x

If you're upgrading from v0.1.3 or earlier: The CLI now requires an explicit subcommand. Change your command from:

bash
# Old (v0.1.3 and earlier)
u2mcp

to:

bash
# New (v0.2.0+)
u2mcp stdio

All other commands remain the same (just add the transport subcommand).

Prerequisites


💡 Tool Selection Recommendation:

  • MCP Client Usage (Claude Desktop, Cursor, etc.): uv is recommended for direct package execution with uvx
  • Standalone/Debugging: You can use uv, pip, or pipx

For most use cases, installing uv is sufficient.


Installing Enhanced Python Package Managers

The following are two optional enhanced package managers. You can choose to install one of them, or skip this step if you prefer.

  • Installing uv (Recommended | Optional)

    Most MCP clients (like Claude Desktop) use uvx to run Python MCP servers. uvx is part of the uv toolkit.

    Why choose uvx? uvx can run Python packages directly from PyPI without manual installation - just use uvx package-name and it handles the rest. This makes it perfect for MCP client configurations.

    macOS / Linux:

    bash
    curl -LsSf https://astral.sh/uv/install.sh | sh

    Windows (PowerShell):

    powershell
    powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

    Or use winget:

    powershell
    winget install --id=astral-sh.uv -e

    Verify installation:

    bash
    uv --version
    uvx --version
  • Installing pipx (Optional)

    pipx is another tool for installing and running Python CLI applications in isolated environments.

    pipx vs uvx: Like uvx, pipx can also run packages directly with pipx run package-name. However, uvx is generally faster and is more commonly used in the MCP ecosystem.

    macOS / Linux:

    bash
    python3 -m pip install --user pipx
    python3 -m pipx ensurepath

    Windows:

    powershell
    python -m pip install --user pipx
    python -m pipx ensurepath

Installation

Preferred: Run directly without installation using uvx (recommended) or pipx run from PyPI:

bash
# Run directly with uvx (recommended)
uvx uiautomator2-mcp-server stdio

# Or run directly with pipx
pipx run uiautomator2-mcp-server stdio

If you need global installation for long-term use, you can also choose to install:

bash
# Install using uv (tool method)
uv tool install uiautomator2-mcp-server

# Or install with pipx
pipx install uiautomator2-mcp-server

# Or install with pip
python -m pip install uiautomator2-mcp-server

After installation, the short alias u2mcp is available:

bash
u2mcp stdio

If you don't want to use uv, pipx or other third-party package managers, you can directly use Python's default package manager pip to install this software:

bash
python -m pip install uiautomator2-mcp-server

Note on Package Name:
While the CLI command is u2mcp, the PyPI package name is uiautomator2-mcp-server. We plan to simplify this to u2mcp in v1.0.0. For now, please install using the full package name above.

ℹ️ Note:
pip does not support running without installation

Building a Standalone Executable

You can bundle the server into a standalone application — no Python installation required on the target machine.

PyInstaller (Recommended)

Fast build, no C compiler required.

bash
# 1. Install PyInstaller
uv sync --group pyinstaller

# 2. Build
pyinstaller u2mcp.spec

This produces a dist/u2mcp/ directory containing the executable and all runtime files. Distribute the entire folder as a portable application.

Nuitka

Compiles Python to C, producing native .so/.pyd/.dll binaries — provides a basic level of source code protection. Requires a C/C++ compiler (MSVC on Windows, GCC/Clang on Linux/macOS).

Build options are pre-configured in main.py via Nuitka project directives:

bash
# 1. Install Nuitka
uv sync --group nuitka

# 2. Build
nuitka main.py

Running the Bundled Server

Regardless of which tool you used:

bash
# STDIO mode (for local MCP clients)
u2mcp stdio

# HTTP mode (for remote access)
u2mcp http -H 0.0.0.0 -p 8000

Note: The output bundles the Python runtime and all Python dependencies, so the target machine does not need Python, pip, or uv installed. However, adb must still be available on the system PATH (or set via the ADBUTILS_ADB_PATH environment variable).

Running Modes

Note: The commands below use u2mcp, which requires the package to be installed. If you haven't installed it yet, you can run directly using uvx uiautomator2-mcp-server ... instead.

The MCP server can run in two modes:

STDIO Mode (for local MCP clients)

bash
# If installed
u2mcp stdio

# Or run directly without installation
uvx uiautomator2-mcp-server stdio

This mode communicates via standard input/output and is typically used by MCP clients that spawn the server process directly.

HTTP Mode (for remote/network access)

bash
# If installed
u2mcp http -H 0.0.0.0 -p 8000 --no-auth

# Or run directly without installation
uvx uiautomator2-mcp-server http -H 0.0.0.0 -p 8000 --no-auth

# With authentication token (if installed)
u2mcp http -H 0.0.0.0 -p 8000 -t YOUR_SECRET_TOKEN

# Or run directly without installation
uvx uiautomator2-mcp-server http -H 0.0.0.0 -p 8000 -t YOUR_SECRET_TOKEN

The server will listen on http://localhost:8000/mcp (or your specified host/port).

Configuration Files

You can configure u2mcp using config files instead of (or in addition to) CLI flags. Supported formats: TOML, YAML, and JSON.

Config File Locations

The server automatically discovers config files in platform-specific directories:

PriorityLocationPlatform Example
1 (lowest)System config dir/etc/u2mcp/ (Linux), C:\ProgramData\u2mcp\ (Windows)
2User config dir~/.config/u2mcp/ (Linux), %APPDATA%\u2mcp\ (Windows)
3 (highest)Current working directory./

In each directory, the server looks for the first matching file: u2mcp.toml, u2mcp.yaml, u2mcp.yml, u2mcp.json (at most one file per directory).

Priority order: CLI args > Environment variables > Config file (cwd > user > system) > Defaults.

Using a Custom Config File

bash
# Via CLI option
u2mcp stdio --config-file my-config.toml

# Via environment variable
U2MCP_CONFIG_FILE=my-config.toml u2mcp stdio

Config File Structure

Config files use command names as top-level keys:

toml
# u2mcp.toml
[stdio]
log-level = "debug"
check-adb = false
include-tags = "device:*,action:touch"

[http]
host = "0.0.0.0"
port = 8000
auth = true
json-response = true
yaml
# u2mcp.yaml
stdio:
  log-level: debug
  check-adb: false

http:
  host: "0.0.0.0"
  port: 8000
  auth: false
json
{
  "stdio": {
    "log-level": "warning",
    "print-tags": false
  }
}

Environment Variables

CLI parameters can be set via environment variables with the U2MCP_{COMMAND}_{PARAM} format:

bash
U2MCP_STDIO_LOG_LEVEL=debug u2mcp stdio
U2MCP_HTTP_HOST=0.0.0.0 U2MCP_HTTP_PORT=9000 u2mcp http
U2MCP_HTTP_AUTH=false u2mcp http

Example Config Files

See the examples/ directory for ready-to-use config files:

FileDescription
config-minimal-stdio.tomlMinimal stdio config with quiet mode
config-full.tomlFull config with stdio, http, and doctor sections
config-filtered-tools.tomlTool filtering by tags
config-http-server.yamlHTTP server config in YAML format
config-quiet-mode.jsonQuiet mode config in JSON format

CLI Utility Commands

Note: The commands below use u2mcp, which requires the package to be installed. If you haven't installed it yet, you can run directly using uvx uiautomator2-mcp-server ... instead.

The u2mcp CLI provides several utility commands for exploring available tools and tags:

bash
# List all available tools
u2mcp tools

# Or run directly
uvx uiautomator2-mcp-server tools

# Show detailed information about a specific tool
u2mcp info screenshot

# Show tools matching a pattern (supports wildcards)
u2mcp info "device:*"     # All device tools
u2mcp info "*screenshot*" # Tools with 'screenshot' in name

# List all available tool tags
u2mcp tags

# Show version information
u2mcp --version

Tool Filtering

Note: The commands below use u2mcp, which requires the package to be installed. Replace with uvx uiautomator2-mcp-server ... if running directly.

You can selectively expose tools using tag-based filtering. This reduces the number of tools available to the LLM, which can improve performance and reduce confusion.

bash
# Only expose device management tools
u2mcp stdio -i device:manage

# Or run directly
uvx uiautomator2-mcp-server stdio -i device:manage

# Only expose touch and gesture operations
u2mcp stdio -i action:touch,action:gesture

# Exclude screen mirroring tools
u2mcp stdio -e screen:mirror

# Only expose app lifecycle and element interaction tools
u2mcp stdio -i app:lifecycle,element:interact

# Exclude shell command tools (for security)
u2mcp stdio -e device:shell

# Only expose input-related tools
u2mcp stdio -i input:text,input:keyboard

# Combine include and exclude
u2mcp stdio -i device:info,action:touch -e screen:capture

# Wildcard patterns - include all device tools
u2mcp stdio -i "device:*"

# Wildcard patterns - include all touch and gesture tools
u2mcp stdio -i "action:to*"

# Wildcard patterns - exclude all screen tools
u2mcp stdio -e "screen:*"

# Wildcard patterns - exclude all mirror tools (screen:mirror, etc.)
u2mcp stdio -e "*:mirror"

# List all available tags
u2mcp tags

Quick Start

Before you start: Make sure you have configured an MCP client (like Claude Desktop) to use this server. See MCP Client Configuration below for details.

  1. Connect your Android device via USB with USB debugging enabled

  2. Configure your MCP client to use this server (see MCP Client Configuration)

  3. Initialize the device (required first time):

    "Initialize my Android device"

  4. Start automating:

    "Take a screenshot" "Tap at coordinates 500, 1000" "Swipe up" "Open YouTube app"

Short Options:

All common options support short flags for convenience:

  • -l / --log-level - Set log level
  • -i / --include-tags - Include tools by tags
  • -e / --exclude-tags - Exclude tools by tags
  • -H / --host - Set host address (HTTP mode)
  • -p / --port - Set port number (HTTP mode)
  • -t / --token - Set authentication token (HTTP mode)
  • -n / --no-auth - Disable authentication (HTTP mode)

Wildcard Support:

The --include-tags and --exclude-tags options support wildcard patterns:

  • * matches any characters
  • ? matches exactly one character
  • device:* matches all device:* tags
  • *:mirror matches all mirror tags (screen:mirror, etc.)
  • action:to* matches action:touch, action:tool (if exists)

Available Tags:

TagDescription
device:manageDevice connection, initialization, and management
device:infoDevice information and status
device:captureScreenshots and UI hierarchy
device:shellShell command execution
action:touchClick and tap actions
action:gestureSwipe and drag gestures
action:keyPhysical key presses
action:screenScreen control (on/off)
app:manageInstall and uninstall apps
app:lifecycleStart and stop apps
app:infoApp information and listing
app:configApp configuration (clear data, permissions)
element:waitWait for elements/activities
element:interactClick and interact with elements
element:queryGet element info (text, bounds)
element:modifyModify element (set text)
element:gestureElement-specific gestures (swipe, scroll)
element:captureElement screenshots
input:textText input and clearing
input:keyboardKeyboard control
clipboard:readRead clipboard
clipboard:writeWrite clipboard
screen:mirrorScreen mirroring (scrcpy)
screen:captureScreen screenshots
util:delayDelay/sleep utility

Testing and Debugging

Using MCP Inspector

MCP Inspector is a command-line tool for testing and debugging MCP servers without requiring an AI client.

bash
# Install MCP Inspector
npm install -g @modelcontextprotocol/inspector

# Inspect the server in STDIO mode
npx @modelcontextprotocol/inspector u2mcp stdio

# Or inspect the server in HTTP mode
# First start the server: u2mcp http --host 0.0.0.0 --port 8000
# Then run inspector with the URL
npx @modelcontextprotocol/inspector http://localhost:8000/mcp

The inspector will display:

  • Available tools and their parameters
  • Server resources and prompts
  • Real-time tool execution results
  • Request/response logs

Using Postman

Postman has native MCP support for testing and debugging MCP servers.

  1. Open Postman and create a new MCP Request
  2. Enter the server connection details:

STDIO Mode:

Command: u2mcp
Arguments: stdio

HTTP Mode:

URL: http://localhost:8000/mcp

(First start the server: u2mcp http --host 0.0.0.0 --port 8000)

  1. Click Load Capabilities to connect and discover available tools
  2. Use the Tools, Resources, and Prompts tabs to interact with the server
  3. Click Run to execute tool calls and view responses

For more information, see the Postman MCP documentation.

Using cURL

You can also test the HTTP endpoint using cURL with JSON-RPC 2.0 requests:

bash
# 1. Start the server first
u2mcp http --host 0.0.0.0 --port 8000

# 2. In another terminal, send MCP requests
curl -X POST http://localhost:8000/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/list"
  }'

# Call a tool (e.g., list devices)
curl -X POST http://localhost:8000/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "device_list",
      "arguments": {}
    }
  }'

MCP Client Configuration

This MCP server can be used with any MCP-compatible client. Below are configuration instructions for popular clients.

Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{
  "mcpServers": {
    "android": {
      "command": "uvx",
      "args": ["uiautomator2-mcp-server", "stdio"]
    }
  }
}

If you installed the package globally, you can also use:

json
{
  "mcpServers": {
    "android": {
      "command": "u2mcp",
      "args": ["stdio"]
    }
  }
}

Cursor

Cursor is an AI-powered code editor with native MCP support.

  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Navigate to MCP Servers
  3. Add a new server:
json
{
  "mcpServers": {
    "android": {
      "command": "u2mcp",
      "args": ["stdio"]
    }
  }
}

Cherry Studio

Cherry Studio is a cross-platform AI desktop client with full MCP support. Ideal for Android device automation tasks.

  1. Download and install Cherry Studio
  2. Open Settings and navigate to MCP Servers
  3. Click Add Server and configure:

Option A: Using uvx (recommended)

Command: uvx
Arguments: uiautomator2-mcp-server stdio

Option B: Using installed u2mcp command

Command: u2mcp
Arguments: stdio

Option C: HTTP Mode First start the server:

bash
u2mcp http --host 0.0.0.0 --port 8000 --no-auth

Then in Cherry Studio, select HTTP mode and enter:

URL: http://localhost:8000/mcp

For detailed MCP configuration in Cherry Studio, see the official documentation.

ChatMCP

ChatMCP is an open-source AI chat client implementing the MCP protocol. Supports multiple LLM providers (OpenAI, Claude, Ollama).

  1. Download and install ChatMCP
  2. Open Settings and navigate to MCP Servers
  3. Add a new server:

Using uvx (recommended)

Command: uvx
Arguments: uiautomator2-mcp-server stdio

Using installed u2mcp command

Command: u2mcp
Arguments: stdio

HTTP Mode First start the server:

bash
u2mcp http --host 0.0.0.0 --port 8000 --no-auth

Then in ChatMCP, select HTTP mode and enter:

URL: http://localhost:8000/mcp

Cline

Cline is an AI coding assistant extension that supports MCP.

  1. Open Cline settings in your IDE
  2. Navigate to MCP Servers section
  3. Add the server configuration:
json
{
  "android": {
    "command": "u2mcp",
      "args": ["stdio"]
  }
}

Continue

Continue is an AI pair programmer extension for VS Code and JetBrains.

  1. Install the Continue extension
  2. Open Continue settings
  3. Add to your MCP servers configuration:
json
{
  "mcpServers": {
    "android": {
      "command": "u2mcp",
      "args": ["stdio"]
    }
  }
}

HTTP Mode Configuration

For clients that support HTTP connections (or for remote access), start the server first:

bash
u2mcp http --host 0.0.0.0 --port 8000 --no-auth

Then configure your client to connect to http://localhost:8000/mcp.

Note: Check your client's documentation for HTTP MCP server configuration, as the setup varies by client.

Other MCP Clients

The server follows the Model Context Protocol specification and can be used with any MCP-compatible client, including:

  • Windsurf - Development environment with MCP support
  • Zed - Code editor with MCP capabilities
  • LibreChat - Chat interface supporting MCP
  • Chainlit - Platform for building AI applications

Refer to your client's documentation for specific configuration details.

AI-Driven UI Testing

Prerequisite: To use AI-driven UI testing, you must first configure an MCP client (such as Claude Desktop, Cursor, or Cherry Studio) to connect to this server. See the MCP Client Configuration section above for setup instructions.

This project includes an AI-driven UI testing framework using the .skills/ system. The android-ui-test skill serves a dual purpose:

  1. Educational Example: Demonstrates best practices for MCP skill development
  2. Production Testing: Acts as the project's automated UI test suite for CI/CD

Skill Structure

.skills/android-ui-test/
├── SKILL.md                     # Core skill definition (YAML metadata + lightweight description)
├── README.md                    # Architecture overview and quick start
├── examples/                    # Learning materials
│   └── usage-examples.md        # Detailed usage patterns and examples
└── references/                  # Technical specifications
    └── test-specification.md    # Complete test specification (TC001-TC010)

Running UI Tests

Simply ask the AI to execute the UI test:

Run the Android UI test suite on my connected device

The AI will:

  • Auto-detect and connect to the first available device
  • Run comprehensive tests covering all device operations
  • Provide a detailed test report with pass/fail/skip status

Test Coverage

CategoryTests
DeviceConnection, Info, Screenshot, Hierarchy, Doctor
TouchClick, Long Click, Double Click
GestureSwipe, Drag, Key Press
AppList, Start, Wait, Info, Permissions
ElementWait, Exists, Bounds, Get Text, Click, Screenshot
InputText Input, Focused Text, Keyboard
ClipboardRead/Write (with known limitations)

Sample Test Report

Android UI Test Summary
=======================

Device: UGAILFCIU88TT469 (PDKM00, Android 11, SDK 31)

Test Cases:
  [PASS] TC001: Device Connection & Initialization
  [PASS] TC002: Device Info & Capture
  [PASS] TC003: Touch Actions
  [PASS] TC004: Gesture Actions
  [PASS] TC005: Application Management
  [PASS] TC006: Element Operations
  [PASS] TC007: Input & Keyboard
  [SKIP] TC008: Clipboard Operations (Android security restriction)

Total: 7 passed, 1 skipped, 0 failed

Creating Custom Skills

See .skills/android-ui-test/ for a complete reference implementation.

Each skill directory contains:

  • SKILL.md - YAML frontmatter with metadata and lightweight description
  • examples/ - Detailed usage patterns for learning
  • references/ - Technical specifications and test cases

Available Tools

The server provides 70+ tools organized into the following categories:

CategoryDescription
DeviceConnection, info, screenshot, hierarchy, shell
ActionsTouch, gestures, key presses, screen control
AppsInstall, launch, manage, list app info
ElementXPath-based element location and interaction (v0.3.0+)
InputText input, keyboard control, focused text
ClipboardRead/write clipboard content
ToastAndroid Toast message detection and display
ScrcpyScreen mirroring with scrcpy

Listing Tools

Run these commands to explore available tools:

bash
# List all tools
u2mcp tools

# Show detailed info for a specific tool
u2mcp info screenshot

# Show tools matching a pattern (supports wildcards)
u2mcp info "device:*"     # All device tools
u2mcp info "*screenshot*" # Tools with 'screenshot' in name
u2mcp info "xpath:*"      # All XPath tools (v0.3.0+)

# List all tool tags
u2mcp tags

Key Features

  • XPath-based element interaction - Primary method for UI automation, LLM-optimized (v0.3.0+)
  • Tag-based filtering - Expose only relevant tools to reduce AI confusion
  • Comprehensive coverage - Everything from basic clicks to advanced element queries

Example Usage

txt
You: Take a screenshot
Claude: [Uses screenshot tool, displays image]

You: What apps are installed?
Claude: [Lists installed apps using app_list]

You: Open the YouTube app
Claude: [Uses app_start with package name]

You: Search for "cats"
Claude: [Uses click to tap search bar, then send_text to type "cats"]

You: Scroll down
Claude: [Uses swipe to scroll down]

License

Apache-2.0


Installation

TypingMind
{
  "mcpServers": {
    "uiautomator2-mcp-server": {
      "command": "uvx",
      "args": [
        "uiautomator2-mcp-server",
        "stdio"
      ]
    }
  }
}

Uiautomator2 MCP Server MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald Uiautomator2 MCP Server verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Sie können MCP lokal auf Ihrem Gerät ausführen oder über eine URL eine Verbindung zu einem Remote-MCP-Server herstellen.

Option 1: Lokalen Konnektor verwenden

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor-Setup“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Optionen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor-Setup“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie unter macOS Terminal bzw. unter Windows Windows Terminal.
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

Uiautomator2 MCP Server als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server ändern“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server ändern“.
  3. Fügen Sie die MCP-Server-Konfiguration für Uiautomator2 MCP Server ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server ändern“
{
  "mcpServers": {
    "uiautomator2-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von Uiautomator2 MCP Server. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von Uiautomator2 MCP Server.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit Uiautomator2 MCP Server bei dieser Aufgabe helfen?
Uiautomator2 MCP Server
Gerne. Ich habe es gelesen.
Das habe ich mit Uiautomator2 MCP Server gefunden.

Option 2: Eine MCP-Server-URL hinzufügen

Nutzen Sie diese Option, wenn Uiautomator2 MCP Server bereits auf einem Remote-Server gehostet wird oder Ihr Team einen gemeinsamen Konnektor für mehrere Benutzer benötigt.

1

MCP-Konnektoren öffnen

Gehen Sie in TypingMind zu „Plugins“, öffnen Sie „MCP-Konnektoren“ und wählen Sie dann „URL hinzufügen“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Gehen Sie zu „Plugins“.
  3. Öffnen Sie „MCP-Konnektoren“.
  4. Klicken Sie auf „Neue URL“.
TypingMind-Formular zum Hinzufügen einer benutzerdefinierten MCP-Server-URL
2

Server-URL einfügen

Geben Sie die MCP-Server-URL des Anbieters in das Feld „Server-URL“ ein. Fügen Sie einen Verbindungsnamen, eine Beschreibung, ein Symbol, benutzerdefinierte HTTP-Header oder OAuth-Client-Einstellungen hinzu, falls der Server diese erfordert.

  1. Fügen Sie die MCP-Server-URL des Anbieters in das Feld „Server-URL“ ein.
  2. Geben Sie einen Verbindungsnamen für Uiautomator2 MCP Server ein.
  3. Fügen Sie bei Bedarf eine Beschreibung und ein Symbol hinzu, um die Verbindung leichter zu erkennen.
  4. Fügen Sie benutzerdefinierte HTTP-Header oder OAuth-Client-Daten hinzu, falls der Server eine Authentifizierung erfordert.
3

Verbindung erstellen

Klicken Sie auf „Verbindung erstellen“, kehren Sie dann zur Plugin-Liste zurück und prüfen Sie, ob die neue MCP-Verbindung aktiv ist.

  1. Klicken Sie auf „Verbindung erstellen“.
  2. Kehren Sie zur Liste der MCP-Konnektoren zurück.
  3. Prüfen Sie, ob die Verbindung zu Uiautomator2 MCP Server als aktiv angezeigt wird.
  4. Aktualisieren Sie die Plugin-Liste, falls die Verbindung nicht sofort angezeigt wird.
4

Modelle ohne erneuten Verbindungsaufbau wechseln

Starten Sie einen Chat mit Ihrem bevorzugten Modell, aktivieren Sie unter „Plugins“ die Tools von Uiautomator2 MCP Server und wechseln Sie bei Bedarf zu einem anderen Modell. Die MCP-Verbindung bleibt im TypingMind-Arbeitsbereich verfügbar.

  1. Starten Sie einen neuen Chat in TypingMind.
  2. Wählen Sie das KI-Modell, das Sie verwenden möchten.
  3. Aktivieren Sie die Tools von Uiautomator2 MCP Server unter „Plugins“.
  4. Bitten Sie das Modell, das Tool bei Bedarf zu verwenden.
  5. Wechseln Sie zu einem anderen KI-Modell und verwenden Sie dieselbe MCP-Verbindung weiter.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit Uiautomator2 MCP Server bei dieser Aufgabe helfen?
Uiautomator2 MCP Server
Gerne. Ich habe es gelesen.
Das habe ich mit Uiautomator2 MCP Server gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server Uiautomator2 MCP Server verwendet?

Uiautomator2 MCP Server ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich Uiautomator2 MCP Server MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie Uiautomator2 MCP Server mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum Uiautomator2 MCP Server MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald Uiautomator2 MCP Server verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich Uiautomator2 MCP Server MCP mit TypingMind?

Sie können Uiautomator2 MCP Server in TypingMind über den lokalen MCP-Konnektor oder durch Hinzufügen der URL eines entfernten MCP-Servers verbinden. Verwenden Sie den lokalen Konnektor, wenn der Server auf Dateien, Apps oder private Ressourcen auf Ihrem Gerät zugreifen muss. Nutzen Sie eine Server-URL, wenn der MCP-Server extern gehostet wird.

Welche Tools stellt Uiautomator2 MCP Server MCP in TypingMind bereit?

Uiautomator2 MCP Server stellt MCP-Funktionen bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um Uiautomator2 MCP Server MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls Uiautomator2 MCP Server eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇