MCPBox logo

MCPBox

Android MCP server for phone files, commands, browser automation, UI control, memory, and SSH with per-action approval.

Install MCPBox

Run the project’s own setup commands, in order.

Setup steps from the project

MCPBox installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    ./gradlew :app:assembleRelease  # 正式包
    

Overview

MCPBox MCP server turns an Android phone into an HTTP-accessible MCP endpoint for file access, terminal commands, browser automation, and interface control. It runs as an APK with Streamable HTTP or SSE, uses a tokenized URL, and can require approval for sensitive calls through a popup or notification. File tools, the memory store, browser, and static hosting work without Root, while command execution and UI automation can use Root or Shizuku. Reach for MCPBox when an AI client needs controlled access to files and services on an Android device without running a separate computer or Termux setup.

Use cases

  • Connect an AI client to files stored on an Android phone
  • Approve terminal commands individually before execution
  • Automate browser tasks from a phone
  • Control Android interfaces with Root or Shizuku
  • Expose phone files through an SSH/SFTP workspace

Key features

  • Streamable HTTP and SSE MCP transports
  • Per-call approval with persistent allow or deny rules
  • File, terminal, browser, and UI automation tools
  • Tool packages with a restricted default tool set
  • Built-in memory store, static hosting, and SSH/SFTP
  • Root, Shizuku, and app-sandbox execution identities

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.

How MCPBox works

What MCPBox does

MCPBox places an MCP server, terminal, browser, and related services inside one Android application. AI clients can connect to the phone to read and write files, run terminal commands, interact with web pages, inspect or control the Android interface, and use a Markdown-based memory store. The application also provides upload and download endpoints, static web hosting, an SSH/SFTP service, custom tools, location tools, and token management.

The server starts with a limited tool set and exposes additional capabilities through tool packages. The default package presents 22 tools out of a total of 69, allowing the phone owner to expand access when needed. Tool packages can be managed in the app or by the connected AI, and separate MCP sessions can use package-specific paths.

How it works

Open the Android app, start the service, and connect an MCP client to the phone's /mcp endpoint. Streamable HTTP is the recommended transport; SSE is also available. The app generates a complete URL containing an access token, so the client needs the phone's local network address, the endpoint path, and the tokenized address.

Sensitive actions can require an explicit decision on the phone. Approval choices include allowing or rejecting one call, or remembering an allow or deny decision. Rules can be applied by permission, path, command, or individual tool, with approval delivered through a floating window or notification area.

Execution uses one of three identities: the Android app sandbox, Root, or Shizuku. Normal file operations, the memory store, the embedded browser, and static hosting do not require Root. Terminal execution and Android UI automation require Root or Shizuku.

Setup and configuration

MCPBox requires Android 8.0 or later. Install the APK, open the app, enable the service, and use the app's copy-address action to obtain the connection URL. The default service port is 8720, and the port can be changed to another value from 1024 through 65535. Enable local-network access when connecting from another device, and check that the network does not isolate clients through guest networking or access-point isolation.

Use the permissions and tool-package screens to expose only the capabilities required by the client. The terminal screen can request Shizuku when command or interface access is needed. Notification access, overlay behavior, and battery-optimization settings may also affect approvals and background operation.

Clients fetch the tool list when they connect. After changing tool packages, reconnect the client or restart the app so the new list is loaded. A client that only supports stdio, such as Claude Desktop, needs an HTTP-to-stdio bridge such as mcp-remote.

Tools and capabilities

  • Read and write phone files, upload files, download files, and transfer directory archives.
  • Execute terminal commands through the sandbox, Root, or Shizuku identity.
  • Browse websites, read page content, click, enter text, scroll, run JavaScript, take screenshots, search, and manage cookies or user agents by page.
  • Inspect the Android screen and control it with screenshots, control-tree access, taps, swipes, text entry, and application launching.
  • Store long-term AI memories as editable Markdown files and import or export the memory collection.
  • Serve phone web files under /web and expose an SSH/SFTP workspace.
  • Manage tool packages, permissions, approval rules, tokens, custom tools, statistics, and backups.

Limitations and notes

MCPBox is Android-only. Command execution and UI automation depend on Root or Shizuku, while the app sandbox has narrower access. A foreground service and wake lock allow operation while the device is locked, but Android battery management or dismissing the app can stop continued operation.

The service is intended for network access using its token. Resetting the token invalidates the previous one. Application-private settings, memories, and statistics are removed when the app is uninstalled, so export a backup first if they must be retained. The project is released under GPL-3.0.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCPBox

MCPBox is an MCP server that runs on Android and connects AI clients to phone files, terminal commands, browser automation, and UI controls. Its main tools also cover a Markdown memory store, uploads and downloads, static web hosting, SSH/SFTP, location, custom tools, and token management, with approval prompts for sensitive operations.

Install the MCPBox APK on Android 8.0 or newer, start the service, and copy the tokenized address from the app. Add it to an MCP client using Streamable HTTP or SSE at the phone's `/mcp` endpoint; the default port is 8720.

Yes, MCPBox works with Cursor through Streamable HTTP or SSE. Add the phone's `/mcp` address and use the access token included in the copied URL. Reconnect Cursor after changing tool packages so it retrieves the updated tool list.

No, Root or Shizuku is not required for file access, the memory store, the embedded browser, or static hosting. Terminal commands and Android UI automation require Root or Shizuku, and MCPBox supports three execution identities: app sandbox, Root, and Shizuku.

Use an HTTP-to-stdio bridge such as `mcp-remote`, because Claude Desktop supports stdio while MCPBox exposes Streamable HTTP and SSE. Configure the bridge with the tokenized MCPBox URL copied from the Android app.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCPBox AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcpbox?style=directory)](https://allmcps.com/mcp/mcpbox)
HTML Embed
<a href="https://allmcps.com/mcp/mcpbox"><img src="https://allmcps.com/api/badge/mcpbox?style=directory" alt="MCPBox on AllMCPs" /></a>