技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
Neem2004/android-mcp-server

Neem2004/android-mcp-server

MCP server that lets AI assistants (Claude, OpenCode, VS Code) control Android devices securely via ADB
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add android-mcp-server -- npx -y android-mcp-server
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
1 ★ · Neem2004/android-mcp-server · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 1 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Neem2004/android-mcp-server;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Android ADB MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**English · Español**
---
English
Description
**Android ADB MCP Server** is a Model Context Protocol (MCP) server that lets AI assistants — such as **Claude** and **OpenCode**, or **VS Code** through its Copilot/agent integration — control Android devices over ADB securely. It exposes tools to read logcat, inspect the current UI hierarchy, list installed packages, and run restricted shell commands, all gated by an allowlist that mitigates arbitrary command execution.
> **A note on terminology:** Claude and OpenCode are AI assistants. **VS Code is not an AI** — it is a code editor that *hosts* AI assistants (GitHub Copilot, and MCP-capable extensions) and is itself an MCP client. The server works with any MCP-capable client.
Prerequisites
- **Node.js v18+** (tested up to Node.js 26).
- **ADB** installed and reachable via the system PATH (adb version must work), or located via ADB_PATH / ANDROID_HOME / standard SDK paths.
- **USB debugging enabled** on the Android device (Developer options → USB debugging).
Installation & Usage
1. Clone & install dependencies
2. Build
This produces the compiled code in the dist/ folder.
> ⚠️ **Important:** dist/ is generated locally and is **not** committed to the repository. You **must** run npm run build before configuring your MCP client, or the server will fail to start.
> 💡 **Quick start (published on npm):** you can skip the clone and build entirely — the server is published as **@neem2004/android-mcp-server** and includes the compiled dist/. Run it directly with npx -y @neem2004/android-mcp-server, as shown in the configs below. The **absolute path** form targets a local clone (replace YOUR_PATH_TO with its location).
3. Configure your MCP client
Each MCP client keeps its servers in a different file, with a different format. Below are the three most common setups, each with the published-package form (npx) and the local-clone alternative.
OpenCode (AI assistant / CLI)
File: opencode.json at your project root, or ~/.config/opencode/opencode.json (global).
Local clone alternative — "command": ["node", "YOUR_PATH_TO/android-mcp-server/dist/index.js"].
Claude Desktop (AI assistant)
File: %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
Local clone alternative — "command": "node" with "args": ["YOUR_PATH_TO/android-mcp-server/dist/index.js"].
VS Code (editor with Copilot / MCP agent support)
File: .vscode/mcp.json in your workspace (or via the **MCP: Open User Configuration** command). VS Code uses servers as the top-level key (not mcpServers).
Local clone alternative — "command": "node" with "args": ["YOUR_PATH_TO/android-mcp-server/dist/index.js"].
> **Development note:** instead of the compiled build you can run TypeScript directly via tsx by replacing the argument with src/index.ts and using npx tsx as the command. Prefer the compiled build for reliability.
4. Basic validation
Available Tools
| Tool | Description | Arguments |
|------|-------------|-----------|
| adb_get_logcat | Dumps the logcat buffer with optional filters | lines, filter_tag, log_level |
| adb_clear_logcat | Clears the device log buffer | — |
| adb_dump_hierarchy | Returns the current UI hierarchy (XML/text) | — |
| adb_list_packages | Lists installed packages | filter, include_system |
| adb_execute_shell | Runs a safe allowlisted shell command | command |
Security
This server prioritizes safety over arbitrary command execution:
- **Shell allowlist**: adb_execute_shell only accepts commands whose prefix is authorized (getprop, dumpsys, pm list). Anything else is rejected with a descriptive error. Command chaining (&&, ||, ;, |) and injection metacharacters are also blocked.
- **No root**: no superuser privileges are requested; it works on standard ADB APIs.
来源
awesome · https://github.com/Neem2004/android-mcp-server
按领域浏览
MCP 服务
Traction
1 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引