mcp-android-adb-server logo

mcp-android-adb-server

Community
github-hewei

通过AI大模型操作安卓设备

Publishergithub-hewei
Repositorymcp-android-adb-server
LanguageGo
Forks
5
Stars
26
Available tools
0
Transport typestdio
Categories
LicenseGPL-3.0
Links
  • Connect tools to AI workflows

    mcp-android-adb-server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    26 stars and 5 forks from the linked repository.

English 简体中文

🚀 mcp-android-adb-server

smithery badge

An MCP service for operating Android devices via ADB.

2025-04-01: Added support for obtaining screen description content using visual models like qwen2.5-vl.

Manual Installation

sh
# clone the repo and build
git clone https://github.com/github-hewei/mcp-android-adb-server.git
cd mcp-android-adb-server
go build

Configuration

json
{
  "mcpServers": {
    "mcp-android-adb-server": {
      "command": "D:\\www\\golang\\mcp-android-adb-server\\mcp-android-adb-server.exe",
      "env": {
        "DEVICE_ID": "xxxxx",
        "SCREEN_LOCK_PASSWORD": "123456",
        "VISUAL_MODEL_ON": "true",
        "VISUAL_MODEL_API_KEY": "sk-or-xxxxxxxxxxxxxxxxxxx",
        "VISUAL_MODEL_BASE_URL": "https://openrouter.ai/api/v1/",
        "VISUAL_MODEL_NAME": "qwen/qwen2.5-vl-72b-instruct:free"
      }
    }
  }
}

Environment Variables

  • DEVICE_ID : Required. The ID of the Android device, obtainable via the adb devices command.
  • SCREEN_LOCK_PASSWORD : Optional. The screen lock password of the device, used to unlock the screen.
  • VISUAL_MODEL_ON : Optional. Whether to enable the visual model, defaults to false.
  • VISUAL_MODEL_API_KEY : API Key.
  • VISUAL_MODEL_BASE_URL : API Base URL.
  • VISUAL_MODEL_NAME : Model name.

Features and Tools

Application Management

  • install_app : Install an application on the Android device
  • uninstall_app : Uninstall an application from the Android device
  • terminate_app : Terminate a running application on the Android device
  • launch_app : Launch an application on the Android device
  • list_app : List all installed applications on the Android device
  • is_app_installed : Check if a specific application is installed

Screen Control

  • unlock_screen : Unlock the Android device screen
  • lock_screen : Lock the Android device screen
  • is_screen_locked : Check if the Android device screen is locked
  • is_screen_active : Check if the Android device screen is active

Input Control

  • input_text : Input text on the Android device
  • input_key : Input key press on the Android device
  • tap : Perform a tap operation on the screen at a specified position
  • long_tap : Perform a long press operation on the screen at a specified position
  • back : Perform a back operation

Gesture Control

  • swipe_up : Perform a swipe up gesture on the Android device screen
  • swipe_down : Perform a swipe down gesture on the Android device screen
  • swipe_left : Perform a swipe left gesture on the Android device screen
  • swipe_right : Perform a swipe right gesture on the Android device screen

Device Information

  • screen_size : Get the screen size of the Android device
  • screen_dpi : Get the screen DPI of the Android device
  • screenshot_description : Get the Android device screenshot description
  • system_info : Get system information of the Android device

Other Functions

  • shell_command : Execute a shell command on the Android device

Installation

TypingMind
{
  "mcpServers": {
    "mcp-android-adb-server": {
      "command": "mcp-android-adb-server",
      "args": []
    }
  }
}

Use mcp-android-adb-server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once mcp-android-adb-server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add mcp-android-adb-server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the mcp-android-adb-server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mcp-android-adb-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the mcp-android-adb-server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the mcp-android-adb-server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use mcp-android-adb-server to help me with this task?
mcp-android-adb-server
Sure. I read it.
Here is what I found using mcp-android-adb-server.

Frequently asked questions

What is the mcp-android-adb-server MCP server used for?

mcp-android-adb-server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use mcp-android-adb-server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use mcp-android-adb-server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use mcp-android-adb-server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With mcp-android-adb-server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect mcp-android-adb-server MCP to TypingMind?

mcp-android-adb-server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does mcp-android-adb-server MCP provide in TypingMind?

mcp-android-adb-server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use mcp-android-adb-server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If mcp-android-adb-server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇