hao-cyber
MCP Serverhao-cyberpublic

phone mcp by trae

phone-mcp-by-trae

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

phone-mcp-by-trae

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Phone MCP By Trae

通过ADB命令控制Android手机的MCP插件, 完全用Trae复刻phone-mcp

trae使用方式 (推荐)

{
  "mcpServers": {
    "phone-mcp": {
      "command": "uvx",
      "args": [
        "phone-mcp-by-trae"
      ]
    }
  }
}

安装

从PyPI安装

# 从PyPI安装最新版本
pip install phone-mcp-by-trae

从源码安装

# 从当前目录安装
pip install -e .

使用方法

作为MCP服务器运行

# 方法1:使用Python模块方式运行
python -m phone_mcp_by_trae

# 方法2:使用安装的命令行工具运行
phone-mcp-by-trae

使用命令行工具

# 方法1:使用Python模块方式运行
python -m phone_mcp_by_trae.phone_cli

# 方法2:使用安装的命令行工具运行
phone-cli-by-trae

命令行工具示例

# 检查已连接的设备
phone-cli-by-trae check

# 设置要使用的设备
phone-cli-by-trae device <设备ID>

# 拨打电话
phone-cli-by-trae call <电话号码>

# 发送短信
phone-cli-by-trae send-sms <电话号码> <短信内容>

# 打开应用
phone-cli-by-trae app <应用包名>

# 点击屏幕
phone-cli-by-trae tap <X坐标> <Y坐标>

注意事项

  1. 确保已安装ADB工具并添加到系统PATH中
  2. 确保Android设备已启用USB调试模式并已授权连接的计算机
  3. 如果遇到权限问题,请尝试以管理员/root权限运行命令

Quick Start

1

Clone the repository

git clone https://github.com/hao-cyber/phone-mcp-by-trae
2

Install dependencies

cd phone-mcp-by-trae
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerhao-cyber
Repophone-mcp-by-trae
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation