Skip to content
Macbeth logo
MCP server
Registry

Macbeth MCP Server

Open-source computer use for macOS agents.

Macbeth scores 61 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Browser automation. GitHub shows 5 stars. Package registries report about 48 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by wendeMITTypeScript5 stars
Trust score
61Good
Trust score 61 of 100, Good

Good trust

61 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 61 comes from

22 + 15 + 3 + 10 + 4 + 7 = 61. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity3 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 3 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "wende-macbeth": {      "command": "npx",      "args": [        "-y",        "macbeth@0.2.4"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Quickstart

Give Claude Code access to Macbeth:

claude mcp add macbeth -- npx -y macbeth

Then ask it to verify the connection:

Using Macbeth, list the running applications, connect to Finder, inspect its front window, and summarize the first few controls you can see. Do not perform any other actions.

Macbeth ships with a prebuilt, signed and notarized universal daemon. No Swift toolchain or manual service installation is required. If setup fails, run npx macbeth doctor; it prints a self-contained diagnostic prompt you can paste back into your agent.

Any MCP client that can launch a stdio server can use npx -y macbeth. See MCP setup for generic configuration, updates, and the complete tool list.

Add Macbeth as an MCP server using npx -y macbeth. Run npx macbeth doctor, guide me through granting only the permissions I need, and verify the setup by inspecting Finder. Do not take any unrelated actions.

Across your Mac

Work inside Unity, Logic Pro, and other complex tools

“In Logic Pro, set the project tempo to 128 BPM and start playback.”

Macbeth combines structured controls, menus, keyboard input, screenshots, OCR, and application-specific guidance. Logic Pro has a dedicated skill. Applications with thinner accessibility trees, including parts of Unity, can combine structured controls with keyboard, menu, screenshot, and OCR fallbacks.

Automate macOS itself

“Open System Settings, find the firewall controls, and report their current state without changing anything.”

Macbeth can inspect named controls and values, select native menu items, and use keyboard input when a semantic action is unavailable.

Use applications even when they have no API

“Open HEY, find the newest visible thread from the design team, and summarize it without sending or changing anything.”

Macbeth can work through exposed Electron interfaces even when the service does not provide the API your agent needs. HEY works through Macbeth's generic Electron support; results vary with the application's accessibility tree and version.

See what the accessibility tree misses

“Capture the frontmost Notes window and extract all visible text.”

ScreenCaptureKit screenshots and local Vision OCR provide a fallback for content that macOS does not expose as useful accessibility data.

Build repeatable scripts and tests

The same engine is available as a TypeScript API with lazy locators, auto-waiting actions, explicit state waits, screenshots, and application connections.

[!IMPORTANT] Macbeth can act inside applications on your behalf. Connect only trusted agents and require approval for consequential actions.

Why Macbeth?

  • Use your own agent. Macbeth is a control layer, not a model or agent runtime.
  • Structured when possible. Query roles, labels, values, enabled state, hierarchy, and stable handles instead of relying only on coordinates.
  • Visual when necessary. Fall back to window capture and OCR when accessibility metadata is thin.
  • Application-aware. Versioned skills preserve workflows, shortcuts, and known failure modes.
  • Scriptable. Use the same primitives interactively over MCP or directly from TypeScript.

Structured before pixels

CapabilityTypical screenshot-driven agentMacbeth
Find a labeled controlVisual inferenceAccessibility query when exposed
Read role, value, and stateInferredStructured attributes
Wait for a UI changeUsually observed through repeated capturesExplicit waits and auto-waiting actions
Handle incomplete UI metadataVision/OCRAccessibility first, screenshot/OCR fallback
Reuse application knowledgePrompt-dependentBundled, versioned skills

Accessibility information can itself be incomplete or misleading. Macbeth is a hybrid interface: it uses stronger structured primitives when macOS exposes them and keeps visual and system-level fallbacks available when it does not.

Security and limitations

  • Macbeth requires macOS 14 or newer and Node.js 20 or newer.
  • Accessibility permission is required for UI inspection and interaction. Screen Recording is required only for screenshots and window OCR.
  • Application accessibility quality varies. Custom-rendered canvases, games, and some creative tools may require menus, screenshots, OCR, keyboard input, or application-specific guidance.
  • Interface changes between application versions can break specialized workflows.
  • The interaction glow makes Macbeth activity visible, but it is not an approval system or a complete audit log.
  • Agents can make mistakes. Use human review for destructive, financial, publishing, or privacy-sensitive actions.

Macbeth uses a local stdio MCP server and a Unix-domain socket; it does not open a TCP listener. Screenshots requested through MCP are written to a temporary directory and are not automatically deleted. Read the security model for data flow, permission revocation, local-process risks, and safer operating practices.

TypeScript API

npm install macbeth
import { connect } from "macbeth";

const app = await connect("TextEdit");
await app.window("Untitled").textField().fill("Hello from Macbeth");
await app.pressKey("s", ["cmd"]);

See Developing with Macbeth for locators, screenshots, Electron behavior, lifecycle, and tests.

Teach Macbeth an application

A Macbeth skill is a SKILL.md file, optionally accompanied by runnable scripts, that teaches an agent reliable workflows and pitfalls. Call load_skill with no arguments for the core Macbeth guide. Bundled app skills cover Calendar, Contacts, Logic Pro, Mail, Maps, Messages, Music, Notes, Reminders, Safari, System Settings, and generic Electron applications.

You can add a skill without changing the Swift daemon. Start with the contribution guide and include a reproducible prompt, tested application version, expected result, and honest failure modes.

Documentation

GuideContents
MCP serverInstallation, smoke test, tools, skills, and updates
CLIEvery MCP tool as a macbeth <tool> subcommand
TypeScript APIClient API, locators, Electron, and tests
ArchitectureDaemon, protocol, fallbacks, and design notes
SecurityTrust boundaries, data handling, and permission revocation
TroubleshootingDiagnostics and common setup failures
ContributingDevelopment workflow and application skills

Requirements

  • macOS 14 (Sonoma) or later
  • Node.js 20+
  • Swift 6.0+ only when building the daemon from source

License

MIT

Frequently asked questions

What is Macbeth MCP Server?

Open-source computer use for macOS agents.

How do I install Macbeth MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Macbeth MCP Server runs locally from the npm package macbeth with the command npx -y macbeth@0.2.4.

Is Macbeth MCP Server free and open source?

Yes. Macbeth MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Macbeth MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Macbeth MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Macbeth MCP Server's trust score calculated?

Macbeth MCP Server scores 61 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server