Atlas / MCP servers / nim444 / Android Agent

Android AgentSAFE

mcp/nim444/android-agent

MCP Android agent - This project provides an *MCP (Model Context Protocol)* server for automating Android devices using uiautomator2. It's designed to be easily plugged into AI agents like GitHub Copilot Chat, Claude, or Open Interpreter to control Android devices through natural language.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
25 19r · 5w · 1d
Transport
stdio · streamable-http
License
MIT
Stars
58
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://www.python.org/downloads/) [](https://github.com/nim444/mcp-android-server-python/actions/workflows/ci.yml) [](https://codecov.io/gh/nim444/sdet-django-api) [](https://github.com/astral-sh/ruff) [](https://opensource.org/licenses/MIT)

This project provides an MCP (Model Context Protocol) server for automating Android devices using uiautomator2. It's designed to be easily plugged into AI agents like GitHub Copilot Chat, Claude, or Open Interpreter to control Android devices through natural language.

Modular Architecture

The server has been refactored into a clean, modular architecture with tools organized by functionality:

mcp-android-server-python/
├── server.py                    # Main server (61 lines - clean & focused)
├── server_original_backup.py    # Backup of original monolithic version
└── tools/                       # 🆕 Modular tools package
├── __init__.py             # Central registration & imports
├── device_tools.py         # Device connection & status tools
├── app_tools.py            # Application management tools
├── screen_tools.py         # Screen control & unlock tools
├── input_tools.py          # User input simulation (click, swipe, text)
├── inspection_tools.py     # UI inspection & screenshots
└── advanced_tools.py       # Advanced features (toast, activity wait)

Benefits of Modular Architecture

  • Maintainability: Easy to add/modify/remove tools
Read from source at commit 090a1f3c310cOBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-adb -- uvx mcp-adb
claude-desktop
{
  "mcpServers": {
    "mcp-adb": {
      "command": "uvx",
      "args": [
        "mcp-adb"
      ]
    }
  }
}
03

Exposed tools (25)

19 read · 5 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
clear_app_datadestructiveClear all user data and cache for the specified application.
clickreadClick on a UI element on the device screen using various selector types.
connect_devicereadConnect to an Android device and retrieve detailed device information.
dragreadDrag a UI element to a specific location on the screen.
dump_hierarchyreadExport the current screen
get_current_appreadRetrieve information about the application currently in the foreground.
get_device_inforeadRetrieve detailed information about the connected Android device.
get_device_statusreadGet comprehensive device status and connectivity information.
get_element_inforeadRetrieve detailed information about a UI element.
get_installed_appsreadRetrieve a comprehensive list of all installed applications on the device.
get_toastreadGet the text content of the most recent toast message.
mcp_healthreadCheck if the MCP server is running and responsive.
press_keyreadSimulate pressing a key on the Android device.
screen_offreadTurn off the device screen.
screen_onreadTurn on the device screen if it is currently off.
screenshotwriteTake a screenshot of the device screen and save it to a file.
scroll_toreadScroll to make a UI element visible on the screen.
send_textwriteSend text to the currently focused input element on the device.
start_appwriteStart an Android application using its package name.
stop_all_appswriteStop all running applications on the Android device.
stop_appwriteStop a running Android application by its package name.
swipereadPerform a swipe gesture on the device screen.
wait_activityreadWait for a specific Android activity to become the current foreground activity.
wait_for_elementreadWait for a UI element to appear on the device screen.
wait_for_screen_onreadAsynchronously wait for the device screen to turn on.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (3)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
clear_app_data
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
INFOInventory / provenance · inv.oversize · CWE-1104
.docs/amazon.gif
.docs/amazon.gif
Why it matters. 5185348 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
.docs/demo.gif
.docs/demo.gif
Why it matters. 5964182 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 090a1f3c310cfull audit observations/trust-audit/mcp-server/nim444__android-agent.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08090a1f3c310cSAFEB89first audit
06

Questions

What is the Android Agent MCP server?

MCP Android agent - This project provides an *MCP (Model Context Protocol)* server for automating Android devices using uiautomator2. It's designed to be easily plugged into AI agents like GitHub Copilot Chat, Claude, or Open Interpreter to control Android devices through natural language.

What tools does Android Agent expose?

25 in total: 19 read-only, 5 that write, and 1 that can delete or overwrite (clear_app_data). Every one is listed on this page with its risk.

Is Android Agent safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Android Agent need?

No credential environment variables were found in its source, so it appears to need none.

How does Android Agent run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as mcp-adb.

How current is this page?

The grade is for one exact copy of the source (090a1f3c310c), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement