Phonebox MCP now has 34 tools

2026-12-03来源 dev.toEnglish

Phonebox MCP now has 34 tools

The hosted Phonebox MCP server now has 34 tools, so an agent can do over MCP what it could already do over the API.

Connect at https://phonebox.dev/mcp by signing in, or with a project API key. Each tool is one Phonebox API call, so scopes, activity and billing match the REST API. A write the phone service didn't confirm is never sent twice.

What the new tools cover

  • Files. Read and write files on the phone. Over MCP the caps are 1 MiB to pull and 256 KiB to push; larger files use the Files API.
  • Clipboard. Read and set the clipboard text.
  • Device info. Brand, model, Android version, screen and carrier — nothing else about the hardware or identity.
  • Location, language and time zone. Read and set each of them. Setting the language restarts the phone's apps.
  • Screen recordings. Start, stop, list, delete, and create a download link. The link needs no API key to download, expires (15 minutes by default, up to an hour), and ends if the recording or the phone is deleted. Creating a link needs a key that can control the phone, not a read-only key.
  • Uninstall. Removes an app, and requires confirm.
  • Reset. Needs an Admin API key, an explicit mode, and confirm. Mode full wipes apps, files, accounts and the clipboard. Mode identity gives the phone a new device identity and keeps those; preserve can put back location, language and/or time zone afterwards.

The full list is in the MCP reference.

A recording download link

The TypeScript and Python SDKs gain recordings.link. The same link is get_recording_link on MCP.

curl

curl https://phonebox.dev/v1/phones/ph_7kx2m6q4v3ta/recordings/rec_q3m7x2k6v4tb/link \ -H "Authorization: Bearer $PHONEBOX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "expires_in": 900 }' 

Anyone with the link can download the MP4 until expires_at, so share it only with the people meant to watch it.

TypeScript SDK

import { Phonebox } from "phonebox"; const pb = new Phonebox(); // a key that can control the phone const phone = await pb.phones.get("ph_7kx2m6q4v3ta"); const { url, expires_at } = await phone.recordings.link("rec_q3m7x2k6v4tb", { expiresIn: 900, }); 

expiresIn is in seconds: 900 by default, from 60 up to 3600. The package is phonebox: npm install https://phonebox.dev/downloads/phonebox-0.1.0.tgz.

Python SDK

from phonebox_sdk import Phonebox pb = Phonebox() # a key that can control the phone link = pb.phones.recordings.link( "ph_7kx2m6q4v3ta", "rec_q3m7x2k6v4tb", expires_in=900, ) 

Reset and uninstall over MCP

uninstall_app requires confirm: true. reset_phone requires an Admin API key, confirm: true, and an explicit mode of full or identity (there is no default). If a reset is not confirmed by the phone, wait with get_phone — do not send it again.

A parked phone still costs nothing and keeps its apps, files and signed-in accounts. The MCP server can now look after that phone the same way the API already could.

I work on Phonebox. Feedback is welcome: team@phonebox.dev, or the MCP docs.

原文:https://www.a8q9.cn/en/article/phonebox-mcp-now-has-34-tools-a8856d.html

相关文章