🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

macbeth

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

macbeth

Open-source Computer Use for macOS. See and operate Mac applications through MCP or TypeScript, including native and Electron interfaces.

latest
Source
npmnpm
Version
0.2.4
Version published
Weekly downloads
315
88.62%
Maintainers
1
Weekly downloads
 
Created
Source

Macbeth

Macbeth is an open-source computer-use layer for macOS. It gives MCP-compatible agents and TypeScript programs structured UI access, actions, screenshots, local Apple Vision OCR, menus, AppleScript, Shortcuts, and reusable application skills across native AppKit and Electron interfaces.

MCP server

Macbeth requires macOS 14 or newer and Node.js 20 or newer. It runs locally over stdio and does not require environment variables.

npx -y macbeth

Generic MCP configuration:

{
  "mcpServers": {
    "macbeth": {
      "command": "npx",
      "args": ["-y", "macbeth"]
    }
  }
}

Run npx macbeth doctor to check Accessibility and Screen Recording permissions.

TypeScript API

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

const app = await connect("TextEdit");
await app.window("Untitled").textField().fill("Hello from Macbeth");

Macbeth can act inside applications with the authority of the current user. Connect only trusted agents and require approval for consequential actions.

Documentation, source, and security guidance: https://github.com/wende/macbeth

MIT licensed.

Keywords

mcp

FAQs

Package last updated on 02 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts