Skip to content
MCP server

macbox

A cloud Mac that lets coding agents build, test and tap through iOS apps in the simulator

Runs locallyStatus and history
Install
Pricing
Free trial
Platforms
CLI, macOS
Runs
Locally
Version
0.6.2
Listing updated
1 day ago

About macbox

macbox is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Coding agents running on Linux or in a cloud sandbox cannot run Xcode, and this service supplies a real Mac for that job. Tracked files go to a Mac mini running the latest Xcode, into a macOS VM used only by you that cannot reach other VMs or the provider's network. Only changed files are sent after the first run and the build cache stays, so later builds are quicker.

The MCP tools cover building for the simulator or macOS, running tests with one PASS or FAIL line each, taking screenshots, launching an app with a live browser link, and driving it with describe, tap, type, swipe, press_button and look. An optional mode adds Sentry's open-source MobileBuildMCP tools for LLDB debugging, Swift packages and simulator settings. Native Xcode projects, Swift packages, CocoaPods and XcodeGen work today; signing, TestFlight, React Native and Flutter do not yet.

Billing is prepaid at $0.05 per Mac minute in whole minutes, with jobs under a minute free and uploading, queueing and boot time free. New accounts start with $10, about 200 minutes. The plugin and npm package are MIT licensed while the service itself runs on the vendor's Macs.

Install

Run in a terminal

claude mcp add macbox --env MACBOX_API_KEY='<MACBOX_API_KEY>' -- npx -y macbox

Add to claude_desktop_config.json

{
  "mcpServers": {
    "macbox": {
      "command": "npx",
      "args": [
        "-y",
        "macbox"
      ],
      "env": {
        "MACBOX_API_KEY": "<MACBOX_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "macbox": {
      "command": "npx",
      "args": [
        "-y",
        "macbox"
      ],
      "env": {
        "MACBOX_API_KEY": "<MACBOX_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "macbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "macbox"
      ],
      "env": {
        "MACBOX_API_KEY": "<MACBOX_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "macbox": {
      "command": "npx",
      "args": [
        "-y",
        "macbox"
      ],
      "env": {
        "MACBOX_API_KEY": "<MACBOX_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "macbox": {
      "command": "npx",
      "args": [
        "-y",
        "macbox"
      ],
      "env": {
        "MACBOX_API_KEY": "<MACBOX_API_KEY>"
      }
    }
  }
}

Configuration

  • MACBOX_API_KEYYour macbox API key (mbx_...). Optional if you ran `macbox login`.

Tools this server provides (12)

Taken from the project documentation; the running server may differ.

build
Build for the iOS simulator or macOS.
test
Run tests on a fresh simulator with one PASS/FAIL line per test.
screenshot
Launch the last build and return a picture.
run
Launch the app, keep it running and return a live link.
describe
Read what is on screen in the running app.
tap
Tap an element in the running app.
type
Type text in the running app.
swipe
Swipe in the running app.
press_button
Press a hardware button in the simulator.
look
Look at the running app.
stop
End the running app.
report_problem
Tell the macbox team when something on their side is wrong.

What it does

Cloud Mac builds
Run xcodebuild and tests on a Mac mini with the latest Xcode.
Simulator control
Launch apps and tap, type, swipe and press buttons to check work.
Live link
Watch and use the running app from a browser link.
Incremental sync
Only changed files are sent and the build cache persists.
Isolated VM
Each user gets their own macOS VM with no access to other VMs.
Debugging option
LLDB tools via an optional Xcode mode.

Good for

  • Have an agent fix a layout bug and rerun iOS tests
  • Build an iOS app from a Linux sandbox
  • Screenshot a screen on a specific simulated iPhone
  • Debug a crash with breakpoints from an agent

Pricing

Free trial

$0.05 per Mac minute, prepaid; $10 starting credit

Prices change. Check macbox.build before you buy.

macbox FAQ

How is it priced?

$0.05 per Mac minute, prepaid, with jobs under a minute free and no subscription.

What is supported today?

Native iOS apps via Xcode projects and workspaces, Swift packages, CocoaPods and XcodeGen.

What is not supported yet?

Signing, TestFlight, React Native and Flutter.

Is my code isolated?

Files go into your own macOS VM that only you use and that cannot reach other VMs.

Is macbox free?

macbox is a paid product with a free trial.

How do I add macbox to Claude Code?

Run this command in your terminal: claude mcp add macbox --env MACBOX_API_KEY='<MACBOX_API_KEY>' -- npx -y macbox

What are the best alternatives to macbox?

The closest alternatives to macbox are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to macbox

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools