Halfpenny Mac
Check, restart and update your rented Macs from an AI assistant over MCP
Halfpenny Mac is an MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, API, macOS
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.3.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add halfpennymac --env HALFPENNY_TOKEN='<HALFPENNY_TOKEN>' -- npx -y halfpennymacAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"halfpennymac": {
"command": "npx",
"args": [
"-y",
"halfpennymac"
],
"env": {
"HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"halfpennymac": {
"command": "npx",
"args": [
"-y",
"halfpennymac"
],
"env": {
"HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"halfpennymac": {
"command": "npx",
"args": [
"-y",
"halfpennymac"
],
"env": {
"HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"halfpennymac": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"halfpennymac"
],
"env": {
"HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add halfpennymac --env HALFPENNY_TOKEN='<HALFPENNY_TOKEN>' -- npx -y halfpennymacOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.halfpennymac]
command = "npx"
args = ["-y", "halfpennymac"]
env = { HALFPENNY_TOKEN = "<HALFPENNY_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"halfpennymac": {
"command": "npx",
"args": [
"-y",
"halfpennymac"
],
"env": {
"HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "halfpennymac": { "command": "npx", "args": [ "-y", "halfpennymac" ], "env": { "HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>" } } } }Or run: gemini mcp add -s user -e HALFPENNY_TOKEN='<HALFPENNY_TOKEN>' halfpennymac npx -- -y halfpennymac
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "halfpennymac": { "command": "npx", "args": [ "-y", "halfpennymac" ], "env": { "HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "halfpennymac": { "command": "npx", "args": [ "-y", "halfpennymac" ], "env": { "HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "halfpennymac": { "command": "npx", "args": [ "-y", "halfpennymac" ], "env": { "HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "halfpennymac": { "command": "npx", "args": [ "-y", "halfpennymac" ], "env": { "HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "halfpennymac": { "command": "npx", "args": [ "-y", "halfpennymac" ], "env": { "HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "halfpennymac": { "command": "npx", "args": [ "-y", "halfpennymac" ], "env": { "HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "halfpennymac": { "command": "npx", "args": [ "-y", "halfpennymac" ], "env": { "HALFPENNY_TOKEN": "<HALFPENNY_TOKEN>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
HALFPENNY_TOKENAPI token from https://halfpennymac.com/account/api (hpm_...)Required
About Halfpenny Mac
Halfpenny Mac rents out Mac machines, and this server puts the account controls of those rentals behind an MCP connection. Instead of opening the dashboard, you can ask an agent whether your build Mac is online, have it restart a machine and report when it is back, or ask what a bigger tier would cost.
It runs locally over stdio from the halfpennymac npm package, started with npx -y halfpennymac mcp, and authenticates with a personal access token (HALFPENNY_TOKEN, starting hpm_) that you create in the account's API and CLI page. Tokens carry scopes: read lists machines and status, connect fetches credentials, and manage allows restarts, password rotation and macOS updates.
The same package also provides a halfpenny command line and sits on a JSON HTTPS API with an OpenAPI document. Restarts have a ten-minute cooldown and are refused while FileVault is on, and the API allows 120 requests a minute per token.
What it does
- Machine status checks
- See whether each rented Mac is online, whether the invite was accepted and whether it has connected before.
- Restart with wait
- Restart a Mac and follow it from queued through restarting to online.
- Credential retrieval
- Fetch the macOS login, Tailscale invite and SSH relay key; each call is logged on the account.
- Scoped access tokens
- Tokens are limited to read, connect or manage, can expire and can be revoked from the dashboard.
- macOS updates
- Install pending minor macOS updates; major upgrades are reported but never installed by the call.
- CLI and REST API
- The same package offers a command line with JSON output, plus a documented HTTPS API.
Good for
- Ask an agent whether a CI build Mac is online
- Restart an unresponsive rented Mac and be told when it is back
- Rotate the macOS password on a machine and fetch the new one
- Install pending macOS updates on a remote Mac
- Script machine checks from the command line with JSON output
Pricing
Pricing unknown
Needs a Halfpenny Mac account; the API token has no separate price listed
Prices change. Check halfpennymac.com before you buy.
Halfpenny Mac FAQ
How do I add Halfpenny Mac to Claude Code?
Run claude mcp add halfpenny -e HALFPENNY_TOKEN=hpm_... -- npx -y halfpennymac mcp, or put the same command in any MCP config.
Where do I get the token?
Create it in the dashboard under Account, then API and CLI. It is shown once, so copy it straight away.
Why was my restart refused?
Restarts are refused while FileVault is on, because the Mac could not come back unattended, and they have a ten-minute cooldown.
Can team members restart a shared Mac?
No. Machines shared with you as a team member can be read and connected to, but only owners can restart.
What are the best alternatives to Halfpenny Mac?
The closest alternatives to Halfpenny Mac are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.


