
Mcp Macos
io.github.dockndevaiPublished by GitHub account dockndevaiv0.2.1Updated Nov 4, 2026
Observe & operate a Mac — files, processes, apps, shell, AppleScript, GUI — safe by default.
Overview
Local MCP server that lets an AI assistant observe and operate a Mac — files, processes, apps, screenshots, shell, AppleScript and GUI — read-only by default.
- What you can do
- Inspect the system: macOS version, hardware, memory, load, uptime, running processes and apps, frontmost app.
- Browse and read files within an allowlist, and read the clipboard.
- Capture the screen as a PNG.
- Write files, set the clipboard, post notifications, and open files, URLs or apps (read-write mode).
- Run programs, AppleScript/JXA and signal processes (admin plus exec flag).
- Move paths to the Trash, and drive the GUI with typing, key presses, clicks and mouse moves (admin plus their own flags).
- When to use it
- Useful when an assistant needs to inspect or act on the local Mac: checking system state, reading project files, taking screenshots, or automating apps and the desktop. The tiered modes let you start with observation only and raise capability deliberately.
- Requirements
- macOS only, with Node 22 or newer; runs locally via npx. Screen Recording, Accessibility, Automation and Files and Folders/Full Disk Access permissions must be granted to the host terminal or MCP client. Clicks and mouse moves also need the cliclick utility. Configured through environment variables such as MACOS_MODE, MACOS_PATH_ALLOWLIST, MACOS_ALLOW_EXEC, MACOS_ALLOW_DELETE and MACOS_ALLOW_INPUT.
Installation
In SourceWeft
- Open Mcp Macos in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mcp-macos
A safe-by-default Model Context Protocol server that lets an agent observe and operate a Mac — read files, list processes and apps, take screenshots (read-only); write files, set the clipboard, post notifications, open things (read-write); and, behind explicit opt-ins, run commands / AppleScript, delete to Trash, kill processes and drive the GUI (admin).
It starts read-only. Every high-impact power needs both admin mode and its own flag, and the most dangerous ones ask the human to approve each call. Part of the dockndevai MCP server suite — one governance model across all of them.
Pure Node +
osascript/screencapture— no native add-ons. macOS only.
What it gives an agent
The server starts read-only (see Safe by default); higher-capability tools are only registered when you raise the mode.
Install
Requires macOS and Node ≥ 22. click/move_mouse also need cliclick (brew install cliclick).
Configure
See docs/CLIENTS.md for Claude Code / Cursor / Codex / VS Code / Windsurf snippets, and .env.example for every supported variable.
Safe by default
This server can drive an entire Mac, so the access model (enforced by src/security.ts) is deliberately strict — defence in depth, not documentation:
See SECURITY.md.
macOS permissions
The host process (your terminal / MCP client) must be granted, in System Settings → Privacy & Security:
- Screen Recording — for
screenshot. - Accessibility — for
type_text/key_press/click/move_mouse. - Automation (per-app prompts) — for
run_applescriptand app control. - Files and Folders / Full Disk Access — to read/write outside the default sandbox.
You'll be prompted the first time each is needed; nothing works around a permission you haven't granted.
Developing
Licence
MIT
Source: README.md at commit 8c76767
Tools
0Version history
3- v0.2.1LatestOct 14, 2026
- v0.2.0Sep 29, 2026
- v0.1.1Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts