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.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

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.

Upstream README

View this exact version on GitHub

README.md · 895841a3edad · Fetched 2026-11-13 10:08:50 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

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.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

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