Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
blade-computer-use is a small, agent-neutral macOS computer-use implementation over the Model Context Protocol (MCP). It gives Codex, Claude Code, Orca, and other MCP clients the same six tools:
list_appsobserveclicktype_textpress_keyscrollIt is an independent security research project, not an OpenAI product and not a reproduction of OpenAI's private Computer Use implementation.
Coding agent
| stdio MCP: schemas, allowlist, one-shot revisions, PNG responses
v
TypeScript server (bundled as one runtime file)
| JSONL request/response protocol
v
Persistent Swift helper
| AXUIElement | ScreenCaptureKit | CGEvent
v v v
Accessibility tree window screenshot mouse/keyboard input
observe returns a bounded AX tree, a window screenshot, and an opaque revision. That revision permits exactly one action. The next action consumes it, so an agent must observe again before doing anything else. element_index values are scoped to that observation and are never treated as stable cross-frame identities.
xcode-select --install)BladeComputerUseHelper or the agent host macOS attributes it toThe first plugin launch compiles the native helper for the current Mac. The TypeScript MCP server is already committed as a standalone bundle, so runtime installation does not run npm install.
Install this repository as a Codex marketplace, then install the plugin:
codex plugin marketplace add echoVic/blade-computer-use
codex plugin add blade-computer-use@blade-computer-use
Restart the Codex app after installation. The packaged configuration allows only TextEdit by default.
For a custom allowlist, clone the repository, change CUA_ALLOWED_APPS in .mcp.json, build once, and add the local checkout as the marketplace source:
git clone https://github.com/echoVic/blade-computer-use.git
cd blade-computer-use
npm install
npm run build
codex plugin marketplace add "$PWD"
codex plugin add blade-computer-use@blade-computer-use
Use comma-separated bundle identifiers, for example:
"CUA_ALLOWED_APPS": "com.apple.TextEdit,com.apple.Notes"
CUA_ALLOW_ALL_APPS=1 is available for local research, but the lock screen and SecurityAgent remain hard-denied.
Clone the repository, then load it as a local Claude Code plugin:
git clone https://github.com/echoVic/blade-computer-use.git
claude --plugin-dir /absolute/path/to/blade-computer-use
Claude Code reads .claude-plugin/plugin.json and the shared root .mcp.json. ${CLAUDE_PLUGIN_ROOT} is resolved by the launcher, so the checkout can live anywhere.
Copy the Orca MCP example into Orca's configuration and replace the absolute command path. The example uses an underscore-safe server name, so Orca discovers the tools as mcp__blade_computer_use__<tool>.
The first observe requests Accessibility and Screen Recording through the macOS system APIs. The user must approve both permissions; the plugin cannot toggle security settings on the user's behalf.
If macOS opens System Settings > Privacy & Security, grant:
BladeComputerUseHelper, or to the terminal/Codex/Claude host shown by macOS.Restart the plugin host after changing permissions, then retry observe. list_apps reports both accessibility_trusted and screen_recording_trusted; a denied request returns permission_denied with the missing permission names.
list_apps and find com.apple.TextEdit.observe TextEdit.The expected loop is observe -> one action -> observe. A stale or already-consumed revision must not be retried.
With an empty TextEdit document focused and both permissions granted, run the live integration check:
npm run test:manual:textedit
This opt-in test verifies AX observation, two PNG responses, Unicode input, one-shot revision rejection, and the final AX text. It is not part of CI because it requires an interactive macOS session and user-granted permissions.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (echovic/blade-computer-use) — no native marketplace selected
npx claudepluginhub p/echovic-blade-computer-usePlugins from other owners that cover similar ground