MCP ExplorerExplorer

Mcp Android Golang

@bismastron 10 months ago
3 MIT
FreeCommunity
AI Systems

Overview

What is Mcp Android Golang

The MCP Server for Android, implemented in Golang, integrates ADB commands to enable device action capabilities within a language model. It facilitates the automation of interactions with Android devices by allowing remote execution of commands that can interact with the device’s UI.

Use cases

This MCP Server can be employed for various purposes, including automated testing of mobile applications, remote device management, and facilitating user interactions with Android devices through scripted commands and actions, making it valuable for developers and QA teams.

How to use

To use the MCP Server, clone the repository from GitHub, install dependencies using Go, configure the Claude desktop application by editing the configuration JSON file to include the path of the MCP server executable. After that, launch the Android simulator and restart the Claude Desktop application to enable integration.

Key features

Key features include the ability to execute commands to send input text, tap on specified screen coordinates, list on-screen elements with their attributes, and take screenshots of the mobile device. These functionalities enable comprehensive control over device interactions.

Where to use

This MCP Server can be used in development environments such as Android Studio, especially during the testing phase of mobile applications. It is suitable for integration into CI/CD pipelines, where automated testing and deployment of Android apps are conducted.

Content

Android MCP Golang

An MCP Server that integrates the ADB command, providing device actions capabilities into LLM

Tools

  • input-text

    • will execute send keys and click submit if necessary
  • tap-with-coordinate

    • Tap on the screen at given x,y coordinates
  • list-element

    • List elements on screen and their coordinates, with display text, id, class and bounds. Do not cache this result.
  • take-sceenshot

    • Take a screenshot of the mobile device.

Demo

Screen Recording 2025-05-04 at 19 50 11

Run Local

Clone the project

  git clone https://github.com/bismastr/mcp-android-golang.git

Go to the project directory

cd mcp-android-golang

Install dependencies

go install

Open up claude and Go to Settings -> Developer -> Edit Config

Screenshot 2025-05-18 at 13 47 31

Open claude_desktop_config.json and Insert your installed mcp server.

{
  "mcpServers": {
    "mobile-mcp": {
      "command": "/Users/bismastr/go/bin/mcp-android-automation"
    }
  }
}

Open Up Android Simulator

Recommended using Android Studio Built in Simulator

Restart Claude Desktop by Quitting the App

Try to restart the client

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers