drio
Open app

Android MCP Server

Source

An MCP server that provides control over Android devices via adb

Catalog onlyCatalog onlySTDIO

Overview

Android MCP Server is a Model Context Protocol (MCP) server that allows programmatic control over Android devices using ADB (Android Debug Bridge). It provides various device management capabilities accessible by MCP clients like Claude Desktop and code editors.

To use the Android MCP Server, clone the repository, install dependencies, and configure the server with your Android device details. Then, connect it with an MCP client like Claude Desktop to manage your Android device.

  • ADB Command Execution - Device Screenshot Capture - UI Layout Analysis - Device Package Management
  1. Executing ADB commands programmatically.
  2. Capturing screenshots of Android devices.
  3. Analyzing UI layouts for development purposes.
  4. Managing installed packages on Android devices.

Add to your AI client

Use these steps to connect Android MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "android-mcp-server-minhalvp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-android-mcp-server-minhalvp"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "android-mcp-server-minhalvp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-android-mcp-server-minhalvp"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "android-mcp-server-minhalvp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-android-mcp-server-minhalvp"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "android-mcp-server-minhalvp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-android-mcp-server-minhalvp"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "android-mcp-server-minhalvp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-android-mcp-server-minhalvp"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "android-mcp-server-minhalvp": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-android-mcp-server-minhalvp"
      ]
    }
  }
}

FAQ

What is required to run the Android MCP Server?

You need Python 3.x, ADB installed and configured, and an Android device or emulator.

Can I use this server with any Android device?

Yes, as long as the device is connected and recognized by ADB.

Is there any support for contributions?

Yes, contributions are welcome!