Termux-API Tools MCP Server

Termux-API Tools MCP Server

termux-api-tools-mcp-server•byhyhasma

A Python MCP server that connects over SSH to a Termux environment to control Android device phone, SMS, call log and device information features.

License: Not specified•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Retrieves phone-related information from the Android device.
  • •Retrieves call logs and SMS records from the device.
  • •Places phone calls and sends SMS messages.
  • •Connects to Termux over SSH, requiring the device and MCP client to be on the same LAN.

BEST FOR

  • •Users wanting to control an Android phone's call and SMS functions through an MCP client.
  • •Reading device information, call logs and SMS records remotely from a Termux host.

ABOUT TERMUX-API-TOOLS-MCP-SERVER

Termux-API Tools MCP Server is cataloged as an MCP server attributed to hyhasma. A Python MCP server that connects over SSH to a Termux environment to control Android device phone, SMS, call log and device information features. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Termux-API Tools MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the MCP server run on the Android device itself?

No. The Python MCP server runs on the client side and connects to Termux on the Android device over SSH, requiring both to be on the same LAN.

Are there known issues with the server?

Yes. Getting all radio modules via termux-telephony-cellinfo has issues, calling the phone cell function in Cherry Studio is abnormal, and there are occasional failures likely caused by phone compatibility.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 895841a3edad · 采集于 2026-11-13 10:08:50 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Termux-API-Tools-MCP-Server 项目说明

目录

项目概述

本项目是一个基于 Termux-API 的新人练手项目,主要用于通过 MCP 客户端操控 Android 设备。它提供了部分敏感操作功能,包括获取手机信息和执行电话/短信相关操作。

注意:本项目涉及敏感功能,使用时请谨慎,建议敏感信息处理尽量使用本地 LLM。

功能特性

  • 获取手机相关信息(部分功能可能涉及敏感数据)
  • 获取通话记录、获取短信记录等功能(敏感操作)
  • 拨打电话、发送短信等功能(敏感操作)
  • 通过 MCP 客户端进行远程控制

工作逻辑

项目采用以下工作逻辑:

  1. Android 设备(Termux 环境)与 MCP 客户端处于同一局域网;
  2. Termux开启SSHD,并配置远程登陆;
  3. termux-api-tools-mcp-server.py可以链接的到Termux;
  4. 通过MCP客户端 JSON 配置建立连接:
{
    "termux-api-mcp-tools": {
      "name": "termux-api-mcp-tools",
      "type": "stdio",
      "isActive": true,
      "tags": [
        "termux",
        "android",
        "mobile"
      ],
      "command": "python.exe",
      "args": [
        "D:\\test\\termux-api-mcp\\termux-api-tools-mcp-server.py"
      ],
      "env": {
        "TERMUX_SSH_HOST": "192.168.x.xx",
        "TERMUX_SSH_PORT": "xxxx",
        "TERMUX_SSH_USER": "username",
        "TERMUX_SSH_PASSWORD": "password"
      }
    }
}

如何使用

  1. 将上述JSON导入cherry studio或claude等MCP客户端;
  2. 修改其termux-api-tools-mcp-server.py位置为自己本地文件位置
  3. pip install 相关包
  4. 填写env相关信息(前提是termux开启sshd,termux-api-tools-mcp-server.py可以通过网络请求的到termux)

测试截图

已知问题

  • 获取设备上所有无线电模块 (termux-telephony-cellinfo) 有点问题
  • cherry stduio调用电话cell功能存在异常
  • 其他偶发的调用失败情况(可能是手机兼容性问题)
  • 还有几个不常用的API未通过本地测试故没有添加进项目

免责声明

本项目为学习练习用途,开发者对使用本项目可能造成的任何后果不承担责任。涉及敏感操作的功能请谨慎使用,并遵守当地法律法规。

未来计划

  • 完善代码异常处理
  • 增加更多设备控制功能如需更多Android信息可以参考ADB-MCP-Server
  • 提高代码质量和安全性

新人练手项目,请多包涵!联系作者:B站@忘月沁

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Termux-API Tools MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/termux-api-tools-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication