open-computer-use-mcp 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Prebuilt macOS npm distribution for the open-source **Open Computer Use** MCP server.
4
4
 
5
- This package bundles a ready-to-run `OpenComputerUse.app`, the Codex plugin metadata, and three global command aliases:
5
+ This package bundles a ready-to-run `Open Computer Use.app`, the Codex plugin metadata, and three global command aliases:
6
6
 
7
7
  - `open-computer-use`
8
8
  - `open-computer-use-mcp`
@@ -14,17 +14,55 @@ This package bundles a ready-to-run `OpenComputerUse.app`, the Codex plugin meta
14
14
  npm install -g open-computer-use-mcp
15
15
  ```
16
16
 
17
+ ## MCP config
18
+
19
+ If your MCP client accepts a stdio-style `mcpServers` JSON config, this is the default setup:
20
+
21
+ ```json
22
+ {
23
+ "mcpServers": {
24
+ "open-computer-use": {
25
+ "command": "open-computer-use",
26
+ "args": ["mcp"]
27
+ }
28
+ }
29
+ }
30
+ ```
31
+
32
+ If you want the server without the visual cursor overlay:
33
+
34
+ ```json
35
+ {
36
+ "mcpServers": {
37
+ "open-computer-use": {
38
+ "command": "open-computer-use",
39
+ "args": ["mcp"],
40
+ "env": {
41
+ "OPEN_COMPUTER_USE_VISUAL_CURSOR": "0"
42
+ }
43
+ }
44
+ }
45
+ }
46
+ ```
47
+
48
+ In practice, using this package as MCP is: global install, add the JSON config, then grant macOS `Accessibility` and `Screen Recording` permission to the host terminal or app on first use.
49
+
17
50
  ## Use
18
51
 
19
52
  ```bash
53
+ # Check permissions and diagnose whether Accessibility / Screen Recording are granted
20
54
  open-computer-use doctor
55
+
56
+ # Start the stdio MCP server for Claude Desktop, Cursor, Cline, or another MCP client
21
57
  open-computer-use mcp
58
+
59
+ # Install this package into the local Codex plugin marketplace/cache
22
60
  open-computer-use install-codex-plugin
23
61
  ```
24
62
 
25
63
  ## Notes
26
64
 
27
- - Version: `0.1.2`
65
+ - Version: `0.1.3`
28
66
  - Platform: macOS 14+
29
67
  - Architectures: `arm64` and `x64` via a universal app bundle
30
68
  - The host terminal or app still needs macOS `Accessibility` and `Screen Recording` permissions
@@ -2,7 +2,7 @@
2
2
  set -euo pipefail
3
3
 
4
4
  package_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
- app_binary="${package_root}/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
5
+ app_binary="${package_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
6
6
  install_script="${package_root}/scripts/install-codex-plugin.sh"
7
7
 
8
8
  if [[ "${1:-}" == "install-codex-plugin" ]]; then
@@ -2,7 +2,7 @@
2
2
  set -euo pipefail
3
3
 
4
4
  package_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
- app_binary="${package_root}/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
5
+ app_binary="${package_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
6
6
  install_script="${package_root}/scripts/install-codex-plugin.sh"
7
7
 
8
8
  if [[ "${1:-}" == "install-codex-plugin" ]]; then
@@ -2,7 +2,7 @@
2
2
  set -euo pipefail
3
3
 
4
4
  package_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
- app_binary="${package_root}/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
5
+ app_binary="${package_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
6
6
  install_script="${package_root}/scripts/install-codex-plugin.sh"
7
7
 
8
8
  if [[ "${1:-}" == "install-codex-plugin" ]]; then
@@ -6,6 +6,8 @@
6
6
  <string>en</string>
7
7
  <key>CFBundleExecutable</key>
8
8
  <string>OpenComputerUse</string>
9
+ <key>CFBundleIconFile</key>
10
+ <string>OpenComputerUse.icns</string>
9
11
  <key>CFBundleIdentifier</key>
10
12
  <string>dev.opencodex.OpenComputerUse</string>
11
13
  <key>CFBundleInfoDictionaryVersion</key>
@@ -17,7 +19,7 @@
17
19
  <key>CFBundlePackageType</key>
18
20
  <string>APPL</string>
19
21
  <key>CFBundleShortVersionString</key>
20
- <string>0.1.2</string>
22
+ <string>0.1.3</string>
21
23
  <key>CFBundleVersion</key>
22
24
  <string>16</string>
23
25
  <key>LSMinimumSystemVersion</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-computer-use-mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Prebuilt macOS Computer Use MCP server with Codex plugin installer.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/iFurySt/open-codex-computer-use",
@@ -30,9 +30,9 @@
30
30
  "access": "public"
31
31
  },
32
32
  "bin": {
33
- "open-computer-use": "./bin/open-computer-use",
34
- "open-computer-use-mcp": "./bin/open-computer-use-mcp",
35
- "open-codex-computer-use-mcp": "./bin/open-codex-computer-use-mcp"
33
+ "open-computer-use": "bin/open-computer-use",
34
+ "open-computer-use-mcp": "bin/open-computer-use-mcp",
35
+ "open-codex-computer-use-mcp": "bin/open-codex-computer-use-mcp"
36
36
  },
37
37
  "scripts": {
38
38
  "postinstall": "node ./scripts/postinstall.mjs"
@@ -40,7 +40,7 @@
40
40
  "files": [
41
41
  ".agents/plugins/marketplace.json",
42
42
  "bin/",
43
- "dist/OpenComputerUse.app/",
43
+ "dist/Open Computer Use.app/",
44
44
  "plugins/open-computer-use/.codex-plugin/",
45
45
  "plugins/open-computer-use/.mcp.json",
46
46
  "plugins/open-computer-use/assets/",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-computer-use",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Open-source macOS Computer Use MCP server packaged as a Codex plugin.",
5
5
  "author": {
6
6
  "name": "Leo",
@@ -3,23 +3,29 @@
3
3
  set -euo pipefail
4
4
 
5
5
  plugin_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
6
- bundled_app_binary="${plugin_root}/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
7
6
  repo_root="$(cd "${plugin_root}/../.." && pwd)"
8
- repo_app_binary="${repo_root}/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
7
+ candidate_binaries=(
8
+ "${plugin_root}/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
9
+ "${plugin_root}/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
10
+ "${repo_root}/dist/Open Computer Use.app/Contents/MacOS/OpenComputerUse"
11
+ "${repo_root}/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
12
+ )
9
13
 
10
- if [[ -x "${bundled_app_binary}" ]]; then
11
- cd "${plugin_root}"
12
- exec "${bundled_app_binary}" mcp
13
- fi
14
-
15
- if [[ -x "${repo_app_binary}" ]]; then
16
- cd "${repo_root}"
17
- exec "${repo_app_binary}" mcp
18
- fi
14
+ for app_binary in "${candidate_binaries[@]}"; do
15
+ if [[ -x "${app_binary}" ]]; then
16
+ if [[ "${app_binary}" == "${plugin_root}"/* ]]; then
17
+ cd "${plugin_root}"
18
+ else
19
+ cd "${repo_root}"
20
+ fi
21
+ exec "${app_binary}" mcp
22
+ fi
23
+ done
19
24
 
20
25
  echo "open-computer-use could not find a runnable app bundle." >&2
21
26
  echo "Checked:" >&2
22
- echo " - ${bundled_app_binary}" >&2
23
- echo " - ${repo_app_binary}" >&2
27
+ for app_binary in "${candidate_binaries[@]}"; do
28
+ echo " - ${app_binary}" >&2
29
+ done
24
30
  echo "Run ./scripts/install-codex-plugin.sh to populate the Codex plugin cache." >&2
25
31
  exit 1
@@ -35,7 +35,8 @@ while [[ $# -gt 0 ]]; do
35
35
  esac
36
36
  done
37
37
 
38
- app_binary="${repo_root}/dist/OpenComputerUse.app/Contents/MacOS/OpenComputerUse"
38
+ app_bundle="${repo_root}/dist/Open Computer Use.app"
39
+ app_binary="${app_bundle}/Contents/MacOS/OpenComputerUse"
39
40
 
40
41
  if [[ "${rebuild}" == "true" || ! -x "${app_binary}" ]]; then
41
42
  if [[ -x "${build_script}" ]]; then
@@ -86,7 +87,7 @@ rm -rf "${plugin_install_root}"
86
87
  mkdir -p "${plugin_install_root}"
87
88
 
88
89
  rsync -a "${plugin_source_root}/" "${plugin_install_root}/"
89
- rsync -a "${repo_root}/dist/OpenComputerUse.app" "${plugin_install_root}/"
90
+ rsync -a "${app_bundle}" "${plugin_install_root}/"
90
91
 
91
92
  python3 - "${config_path}" "${repo_root}" "${marketplace_name}" "${plugin_name}" <<'PY'
92
93
  import json