open-computer-use-mcp 0.1.5 → 0.1.6

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
@@ -14,6 +14,8 @@ This package bundles a ready-to-run `Open Computer Use.app`, the Codex plugin me
14
14
  npm install -g open-computer-use-mcp
15
15
  ```
16
16
 
17
+ After install, run `open-computer-use doctor` first. If macOS `Accessibility` or `Screen Recording` permission is missing, it will open the permission onboarding window and tell you what still needs to be granted.
18
+
17
19
  ## MCP config
18
20
 
19
21
  If your MCP client accepts a stdio-style `mcpServers` JSON config, this is the default setup:
@@ -31,10 +33,17 @@ If your MCP client accepts a stdio-style `mcpServers` JSON config, this is the d
31
33
 
32
34
  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.
33
35
 
36
+ Package page: https://www.npmjs.com/package/open-computer-use-mcp
37
+
34
38
  ## Use
35
39
 
36
40
  ```bash
37
- # Check permissions; if Accessibility / Screen Recording is missing, open the permission onboarding window
41
+ # Show global help, command help, and version
42
+ open-computer-use --help
43
+ open-computer-use help snapshot
44
+ open-computer-use --version
45
+
46
+ # Check permissions first; if Accessibility / Screen Recording is missing, open the permission onboarding window
38
47
  open-computer-use doctor
39
48
 
40
49
  # Start the stdio MCP server for Claude Desktop, Cursor, Cline, or another MCP client
@@ -46,7 +55,7 @@ open-computer-use install-codex-plugin
46
55
 
47
56
  ## Notes
48
57
 
49
- - Version: `0.1.5`
58
+ - Version: `0.1.6`
50
59
  - Platform: macOS 14+
51
60
  - Architectures: `arm64` and `x64` via a universal app bundle
52
61
  - The host terminal or app still needs macOS `Accessibility` and `Screen Recording` permissions
@@ -1,6 +1,34 @@
1
1
  #!/usr/bin/env bash
2
2
  set -euo pipefail
3
3
 
4
+ print_launcher_help() {
5
+ cat <<'EOF'
6
+ Open Computer Use
7
+
8
+ Usage:
9
+ open-computer-use [command] [options]
10
+ open-computer-use
11
+
12
+ Commands:
13
+ mcp Start the stdio MCP server.
14
+ doctor Print permission status and launch onboarding if needed.
15
+ list-apps Print running or recently used apps.
16
+ snapshot <app> Print the current accessibility snapshot for an app.
17
+ turn-ended Acknowledge the host turn boundary.
18
+ install-codex-plugin Install this npm package into the local Codex plugin cache.
19
+ help [command] Show general or command-specific help.
20
+ version Print the CLI version.
21
+
22
+ Global options:
23
+ -h, --help Show help.
24
+ -v, --version Show version.
25
+
26
+ Notes:
27
+ Running without a command launches the permission onboarding app.
28
+ Use `open-computer-use help <command>` for command-specific help.
29
+ EOF
30
+ }
31
+
4
32
  script_path="${BASH_SOURCE[0]}"
5
33
  while [[ -L "${script_path}" ]]; do
6
34
  script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
@@ -18,6 +46,26 @@ if [[ "${1:-}" == "install-codex-plugin" ]]; then
18
46
  exec "${install_script}" "$@"
19
47
  fi
20
48
 
49
+ if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
50
+ print_launcher_help
51
+ exit 0
52
+ fi
53
+
54
+ if [[ "${1:-}" == "help" && $# -le 1 ]]; then
55
+ print_launcher_help
56
+ exit 0
57
+ fi
58
+
59
+ if [[ "${1:-}" == "help" && "${2:-}" == "install-codex-plugin" ]]; then
60
+ cat <<'EOF'
61
+ Usage:
62
+ open-computer-use install-codex-plugin
63
+
64
+ Install this npm package into the local Codex plugin cache.
65
+ EOF
66
+ exit 0
67
+ fi
68
+
21
69
  if [[ ! -x "${app_binary}" ]]; then
22
70
  echo "open-computer-use could not find a runnable app bundle at ${app_binary}." >&2
23
71
  exit 1
@@ -1,6 +1,34 @@
1
1
  #!/usr/bin/env bash
2
2
  set -euo pipefail
3
3
 
4
+ print_launcher_help() {
5
+ cat <<'EOF'
6
+ Open Computer Use
7
+
8
+ Usage:
9
+ open-computer-use [command] [options]
10
+ open-computer-use
11
+
12
+ Commands:
13
+ mcp Start the stdio MCP server.
14
+ doctor Print permission status and launch onboarding if needed.
15
+ list-apps Print running or recently used apps.
16
+ snapshot <app> Print the current accessibility snapshot for an app.
17
+ turn-ended Acknowledge the host turn boundary.
18
+ install-codex-plugin Install this npm package into the local Codex plugin cache.
19
+ help [command] Show general or command-specific help.
20
+ version Print the CLI version.
21
+
22
+ Global options:
23
+ -h, --help Show help.
24
+ -v, --version Show version.
25
+
26
+ Notes:
27
+ Running without a command launches the permission onboarding app.
28
+ Use `open-computer-use help <command>` for command-specific help.
29
+ EOF
30
+ }
31
+
4
32
  script_path="${BASH_SOURCE[0]}"
5
33
  while [[ -L "${script_path}" ]]; do
6
34
  script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
@@ -18,6 +46,26 @@ if [[ "${1:-}" == "install-codex-plugin" ]]; then
18
46
  exec "${install_script}" "$@"
19
47
  fi
20
48
 
49
+ if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
50
+ print_launcher_help
51
+ exit 0
52
+ fi
53
+
54
+ if [[ "${1:-}" == "help" && $# -le 1 ]]; then
55
+ print_launcher_help
56
+ exit 0
57
+ fi
58
+
59
+ if [[ "${1:-}" == "help" && "${2:-}" == "install-codex-plugin" ]]; then
60
+ cat <<'EOF'
61
+ Usage:
62
+ open-computer-use install-codex-plugin
63
+
64
+ Install this npm package into the local Codex plugin cache.
65
+ EOF
66
+ exit 0
67
+ fi
68
+
21
69
  if [[ ! -x "${app_binary}" ]]; then
22
70
  echo "open-computer-use could not find a runnable app bundle at ${app_binary}." >&2
23
71
  exit 1
@@ -1,6 +1,34 @@
1
1
  #!/usr/bin/env bash
2
2
  set -euo pipefail
3
3
 
4
+ print_launcher_help() {
5
+ cat <<'EOF'
6
+ Open Computer Use
7
+
8
+ Usage:
9
+ open-computer-use [command] [options]
10
+ open-computer-use
11
+
12
+ Commands:
13
+ mcp Start the stdio MCP server.
14
+ doctor Print permission status and launch onboarding if needed.
15
+ list-apps Print running or recently used apps.
16
+ snapshot <app> Print the current accessibility snapshot for an app.
17
+ turn-ended Acknowledge the host turn boundary.
18
+ install-codex-plugin Install this npm package into the local Codex plugin cache.
19
+ help [command] Show general or command-specific help.
20
+ version Print the CLI version.
21
+
22
+ Global options:
23
+ -h, --help Show help.
24
+ -v, --version Show version.
25
+
26
+ Notes:
27
+ Running without a command launches the permission onboarding app.
28
+ Use `open-computer-use help <command>` for command-specific help.
29
+ EOF
30
+ }
31
+
4
32
  script_path="${BASH_SOURCE[0]}"
5
33
  while [[ -L "${script_path}" ]]; do
6
34
  script_dir="$(cd "$(dirname "${script_path}")" && pwd)"
@@ -18,6 +46,26 @@ if [[ "${1:-}" == "install-codex-plugin" ]]; then
18
46
  exec "${install_script}" "$@"
19
47
  fi
20
48
 
49
+ if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
50
+ print_launcher_help
51
+ exit 0
52
+ fi
53
+
54
+ if [[ "${1:-}" == "help" && $# -le 1 ]]; then
55
+ print_launcher_help
56
+ exit 0
57
+ fi
58
+
59
+ if [[ "${1:-}" == "help" && "${2:-}" == "install-codex-plugin" ]]; then
60
+ cat <<'EOF'
61
+ Usage:
62
+ open-computer-use install-codex-plugin
63
+
64
+ Install this npm package into the local Codex plugin cache.
65
+ EOF
66
+ exit 0
67
+ fi
68
+
21
69
  if [[ ! -x "${app_binary}" ]]; then
22
70
  echo "open-computer-use could not find a runnable app bundle at ${app_binary}." >&2
23
71
  exit 1
@@ -19,7 +19,7 @@
19
19
  <key>CFBundlePackageType</key>
20
20
  <string>APPL</string>
21
21
  <key>CFBundleShortVersionString</key>
22
- <string>0.1.5</string>
22
+ <string>0.1.6</string>
23
23
  <key>CFBundleVersion</key>
24
24
  <string>1</string>
25
25
  <key>LSMinimumSystemVersion</key>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "open-computer-use-mcp",
3
- "version": "0.1.5",
4
- "description": "Prebuilt macOS Computer Use MCP server with Codex plugin installer.",
3
+ "version": "0.1.6",
4
+ "description": "Prebuilt macOS Computer Use MCP server. After install, run open-computer-use doctor.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/iFurySt/open-codex-computer-use",
7
7
  "repository": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-computer-use",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Open-source macOS Computer Use MCP server packaged as a Codex plugin.",
5
5
  "author": {
6
6
  "name": "Leo",
@@ -1,11 +1,27 @@
1
1
  #!/usr/bin/env node
2
+ const mcpConfig = {
3
+ "mcpServers": {
4
+ "open-computer-use": {
5
+ "command": "open-computer-use",
6
+ "args": [
7
+ "mcp"
8
+ ]
9
+ }
10
+ }
11
+ };
2
12
  const lines = [
3
13
  "",
4
- "Installed open-computer-use-mcp.",
14
+ "Installed open-computer-use-mcp@0.1.6.",
15
+ "Package: https://www.npmjs.com/package/open-computer-use-mcp",
5
16
  "Commands: open-computer-use, open-computer-use-mcp, open-codex-computer-use-mcp",
6
- "Start MCP: open-computer-use mcp",
7
- "Grant permissions / diagnose: open-computer-use doctor",
8
- "Install into Codex plugin cache: open-computer-use install-codex-plugin",
17
+ "",
18
+ "Next:",
19
+ "1. Run open-computer-use doctor",
20
+ "2. In macOS System Settings, grant Accessibility and Screen Recording to your host terminal or MCP client",
21
+ "3. Start the MCP server with open-computer-use mcp, or install into Codex with open-computer-use install-codex-plugin",
22
+ "",
23
+ "You can add this to any MCP-capable client:",
24
+ JSON.stringify(mcpConfig, null, 2),
9
25
  "",
10
26
  ];
11
27
  for (const line of lines) {