macOS Computer Use MCP server with a native Swift helper.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mac-computer-use": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A macOS MCP clone of Codex @Computer Use, built to make the same tool interfaces and desktop-control capabilities available to other coding agents.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Official Miro MCP server - Supports context to code and creating diagrams, docs, and data tables.
MCP server for using the GitLab API
MCP Security Weekly
Get CVE alerts and security updates for Mac Computer Use and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A macOS MCP clone of Codex @Computer Use, built to make the same tool interfaces and desktop-control capabilities available to other coding agents.
This project reproduces the Codex Computer Use tool surface with a Node MCP server and a native Swift helper so any MCP client that supports local stdio servers can use a similar interface on macOS.

swiftAccessibility permissionScreen Recording permissionFor most source installs, the host app is whichever app launches the MCP server, for example:
From npm:
npm install -g mac-use
From the repo root for development:
npm install
npm run build
npm run check
npm test
Grant permissions to the app that will launch the MCP server.
Examples:
TerminalCodexCursormacOS settings to enable:
System Settings > Privacy & Security > AccessibilitySystem Settings > Privacy & Security > Screen Recording or Screen & System Audio RecordingAfter changing permissions, fully restart the host app.
Recommended source-development path:
npm run start
Installed package path:
mac-use
Alternative CLI backend:
npm run start:cli
The native-helper backend is the default path. The CLI backend exists mainly for comparison and fallback.
Smoke test:
npm run smoke
Optional app override:
npm run smoke -- TextEdit
Use the packaged launcher:
{
"mcpServers": {
"computer-use": {
"command": "mac-use"
}
}
}
If you are running from a local checkout instead of a global install:
{
"mcpServers": {
"computer-use": {
"command": "node",
"args": ["/absolute/path/to/mac-computer-use/bin/mac-use.js"]
}
}
}
The server exposes the same high-level tool set we observed from Codex Computer Use:
list_appsget_app_stateclickdragtype_textpress_keyset_valuescrollperform_secondary_actionUnder the hood:
stdio processhelper/ComputerUseNativeHelper.swift~/Library/Caches/mac-use at runtime, or into MAC_USE_CACHE_DIR when that environment variable is setlist_appsReturns a user-facing inventory of running apps plus recent non-running apps when metadata is available.
Structured result includes:
namebundleIdpidrunningfrontmostvisiblelastUsedusesget_app_stateReturns:
Structured elements include fields such as:
indexidroletitledescriptionvaluefocusedsettableactionsboundsclickCurrently implemented with coordinate clicks on the native backend.
dragNative pointer drag between coordinates.
type_textLiteral text input using native event synthesis.
press_keyNative key press support for:
cmd+c, shift+tabset_valueDirect AX value mutation for settable UI elements.
This is one of the strongest background-safe paths.
scrollNative scroll at the target app/window center.
perform_secondary_actionExecutes AX actions such as:
PressRaise