
macbox
io.github.opslanev0.6.2更新於 Oct 6, 2026
A real Mac for your agent: build, test, run, and tap through iOS apps on the simulator.
概覽
讓助理在雲端 Mac 上建置、測試、執行並操作原生 iOS 應用程式,包括模擬器點擊與截圖。
- 功能
- macbox 為 MCP 用戶端提供工具,可為模擬器建置 iOS 專案、執行 XCTest 與 UI 測試並逐條回傳 PASS/FAIL 結果,以及在模擬器上啟動應用程式。它能截圖、讀取畫面上的內容,並執行點擊、輸入、滑動或按鍵,讓代理自行驗證結果。每個執行中的應用程式都有瀏覽器連結,供人即時觀看與操作。選用模式還會加入 LLDB 偵錯、模擬器設定等 Xcode 工具。
- 適用情境
- 當代理需要編譯、測試或操作原生 iOS 應用程式,但執行在沒有 Xcode 的 Linux 或雲端沙箱時適用。適合 Xcode 專案、工作區、Swift 套件、CocoaPods 與 XcodeGen 設定;目前不支援簽章、TestFlight、React Native 與 Flutter。
- 執行需求
- 透過 npx 以 Node 18+ 啟動的本機程序,或在 macOS、Linux 上使用 macbox CLI。需要 macbox 帳號,並事先執行 macbox login 或設定 MACBOX_API_KEY 環境變數。需要連線至 macbox 服務的網路,且僅支援桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 macbox,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
macbox
A real Mac for your coding agent. macbox lets Claude Code, Codex, Cursor, or any MCP client build, test, run, and tap through native iOS apps on a real Mac in the cloud, from any machine, including Linux boxes and cloud agent sandboxes.
- Build and test:
xcodebuildand your XCTest and UI tests, on a Mac mini running the latest Xcode. Your agent gets the results and the error lines. - Run and drive the app: launch it on the iOS simulator, read what's on screen, tap, type, and swipe, so your agent can check its own work.
- Watch live: every running app gets a browser link where you can watch and use it too.
Pay per Mac minute, whole minutes only: $0.05, and a job under a minute is free. Get access and free credit at macbox.build.
Set up
The quickest way: tell your agent
Set up macbox by following https://api.macbox.build/guide/
Or pick your client:
Claude Code (plugin: skill + MCP tools)
Any MCP client (Codex, Cursor, Claude Desktop, VS Code, ...), with Node 18+:
The CLI (macOS or Linux):
Log in with macbox login, or set MACBOX_API_KEY (in a cloud agent, as an environment
secret).
What your agent gets
For deeper work there is also macbox mcp --xcode: Sentry's open-source
MobileBuildMCP Xcode tools (LLDB debugging, Swift packages,
simulator settings), running on the macbox Mac.
How it works
macbox sends the files git tracks (never .env files unless you ask) to one Mac mini,
into your own macOS VM that only you use and that can't reach other VMs or our network.
Only changed files are sent after the first time, and the build cache stays, so the second
build is fast. Native iOS apps work today: Xcode projects and workspaces, Swift packages,
CocoaPods, XcodeGen. Not yet: signing, TestFlight, React Native, Flutter.
Full guide: https://api.macbox.build/guide/ · Questions: Discord
This repository
The open parts of macbox: the Claude Code plugin (.claude-plugin/, skills/, .mcp.json),
the macbox npm package (npm/, which downloads the CLI from api.macbox.build and checks
it against the published SHA256SUMS), and the MCP Registry entry (server.json). The macbox
service itself runs on our Macs.
MIT licensed.
來源:README.md,提交 828b055
工具
0版本歷史
1- v0.6.2最新Oct 6, 2026


