HalfpennyMac
For AI agents

The Halfpenny Mac MCP server.

Let an AI agent look after your rented Macs. Connect Claude Code, Claude Desktop, Cursor or any other MCP client, and it can check a Mac is online, connect to it, restart it, order another and ask our team for help. Included on every tier.

Connect

Make a token at Account → API & CLI and choose what it may do. Then, in Claude Code:

claude mcp add halfpenny -e HALFPENNY_TOKEN=hpm_… -- npx -y halfpennymac mcp

In Claude Desktop, Cursor or any other client that takes an MCP config:

{
  "mcpServers": {
    "halfpenny": {
      "command": "npx",
      "args": ["-y", "halfpennymac", "mcp"],
      "env": { "HALFPENNY_TOKEN": "hpm_…" }
    }
  }
}

The server runs on your own computer over stdio and needs Node.js 18 or later. It is published as halfpennymac on npm and listed in the MCP registry as io.github.pauldodd123/halfpennymac.

Things to ask

  • “Is my build Mac online?”
  • “Restart mini-01-123 and tell me when it is back.”
  • “What would a Max cost me?”
  • “Order me another Pro and tell me when it is online.”
  • “Open a support ticket about the backups.”

Tools

19 tools. Each needs its scope on the token, and a token never has a scope you did not give it. What each scope allows.

ToolScopeWhat it does
list_machinesreadList your Macs: whether each is online, its spec, macOS version and billing.
get_machinereadOne machine, by id or name.
machine_statusreadLive checks on a machine: online now, invite accepted, where a restart has got to.
list_actionsreadRecent restarts, password changes and updates on a machine.
get_actionreadThe current status of one action.
catalogreadThe Macs you can rent, with prices, lead times and live availability. An order token can call it too.
get_credentialsconnectThe login, Tailscale invite and SSH relay key for a machine. Every call is logged on your account.
restart_machinemanageRestart a Mac, and wait for it to come back if asked.
rotate_passwordmanageIssue a new macOS password.
update_macosmanageInstall pending macOS updates.
list_ticketssupportYour support tickets and whether there is a new reply.
open_ticketsupportOpen a support ticket, answered by a person.
get_ticketsupportRead a ticket and its replies.
reply_ticketsupportReply on a ticket.
list_ordersorderOrders placed over the API, and how many this token may still place.
place_orderorderOrder a Mac on your saved card, up to the limit you set on the token.
get_orderorderWhere an order stands.
cancel_orderorderCancel an order before anything is charged.
whoamianyThe account and token in use, and its scopes.

Keeping control

  • Give an agent only the scopes it needs. A support token cannot see or touch a Mac.
  • An order token has a limit you set, one Mac by default, and uses only the card already on your account.
  • Password requests are logged on your account, and you can revoke a token from the dashboard at any time.

Prefer HTTPS or the command line? See the API and CLI docs or the OpenAPI document. No Mac yet? Sign up.