N

Noracu

by sgInnora · io.github.sgInnora/noracu

Lets an MCP client observe accessibility/ARIA trees and act on macOS apps and a Playwright browser by element_index, and experimentally drive a real iPhone through iPhone Mirroring using OCR and normalized taps. Runs entirely on the local machine with no API key or telemetry.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-sginnora-noracu": {
      "command": "npx",
      "args": [
        "-y",
        "noracu"
      ],
      "env": {
        "NORACU_READ_ONLY": "<VALUE>",
        "NORACU_LAYERS": "mac,browser",
        "NORACU_STOP_FILE": "<VALUE>",
        "NORACU_APPROVAL_FILE": "<VALUE>",
        "NORACU_DENY_APPS": "<VALUE>",
        "NORACU_USER_IDLE_S": "2",
        "NORACU_ENABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_CHROME": "<VALUE>",
        "NORACU_PYTHON": "<VALUE>",
        "NORACU_CLICLICK": "/opt/homebrew/bin/cliclick",
        "NORACU_IMCTL_DIR": "bundled imctl/",
        "NORACU_DISABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_FILE_URL": "<VALUE>",
        "NORACU_DISABLE_AUTO_INSTALL": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-sginnora-noracu": {
      "command": "npx",
      "args": [
        "-y",
        "noracu"
      ],
      "env": {
        "NORACU_READ_ONLY": "<VALUE>",
        "NORACU_LAYERS": "mac,browser",
        "NORACU_STOP_FILE": "<VALUE>",
        "NORACU_APPROVAL_FILE": "<VALUE>",
        "NORACU_DENY_APPS": "<VALUE>",
        "NORACU_USER_IDLE_S": "2",
        "NORACU_ENABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_CHROME": "<VALUE>",
        "NORACU_PYTHON": "<VALUE>",
        "NORACU_CLICLICK": "/opt/homebrew/bin/cliclick",
        "NORACU_IMCTL_DIR": "bundled imctl/",
        "NORACU_DISABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_FILE_URL": "<VALUE>",
        "NORACU_DISABLE_AUTO_INSTALL": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-sginnora-noracu": {
      "command": "npx",
      "args": [
        "-y",
        "noracu"
      ],
      "env": {
        "NORACU_READ_ONLY": "<VALUE>",
        "NORACU_LAYERS": "mac,browser",
        "NORACU_STOP_FILE": "<VALUE>",
        "NORACU_APPROVAL_FILE": "<VALUE>",
        "NORACU_DENY_APPS": "<VALUE>",
        "NORACU_USER_IDLE_S": "2",
        "NORACU_ENABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_CHROME": "<VALUE>",
        "NORACU_PYTHON": "<VALUE>",
        "NORACU_CLICLICK": "/opt/homebrew/bin/cliclick",
        "NORACU_IMCTL_DIR": "bundled imctl/",
        "NORACU_DISABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_FILE_URL": "<VALUE>",
        "NORACU_DISABLE_AUTO_INSTALL": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-sginnora-noracu": {
      "command": "npx",
      "args": [
        "-y",
        "noracu"
      ],
      "env": {
        "NORACU_READ_ONLY": "<VALUE>",
        "NORACU_LAYERS": "mac,browser",
        "NORACU_STOP_FILE": "<VALUE>",
        "NORACU_APPROVAL_FILE": "<VALUE>",
        "NORACU_DENY_APPS": "<VALUE>",
        "NORACU_USER_IDLE_S": "2",
        "NORACU_ENABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_CHROME": "<VALUE>",
        "NORACU_PYTHON": "<VALUE>",
        "NORACU_CLICLICK": "/opt/homebrew/bin/cliclick",
        "NORACU_IMCTL_DIR": "bundled imctl/",
        "NORACU_DISABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_FILE_URL": "<VALUE>",
        "NORACU_DISABLE_AUTO_INSTALL": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-sginnora-noracu": {
      "command": "npx",
      "args": [
        "-y",
        "noracu"
      ],
      "env": {
        "NORACU_READ_ONLY": "<VALUE>",
        "NORACU_LAYERS": "mac,browser",
        "NORACU_STOP_FILE": "<VALUE>",
        "NORACU_APPROVAL_FILE": "<VALUE>",
        "NORACU_DENY_APPS": "<VALUE>",
        "NORACU_USER_IDLE_S": "2",
        "NORACU_ENABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_CHROME": "<VALUE>",
        "NORACU_PYTHON": "<VALUE>",
        "NORACU_CLICLICK": "/opt/homebrew/bin/cliclick",
        "NORACU_IMCTL_DIR": "bundled imctl/",
        "NORACU_DISABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_FILE_URL": "<VALUE>",
        "NORACU_DISABLE_AUTO_INSTALL": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-sginnora-noracu": {
      "command": "npx",
      "args": [
        "-y",
        "noracu"
      ],
      "env": {
        "NORACU_READ_ONLY": "<VALUE>",
        "NORACU_LAYERS": "mac,browser",
        "NORACU_STOP_FILE": "<VALUE>",
        "NORACU_APPROVAL_FILE": "<VALUE>",
        "NORACU_DENY_APPS": "<VALUE>",
        "NORACU_USER_IDLE_S": "2",
        "NORACU_ENABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_CHROME": "<VALUE>",
        "NORACU_PYTHON": "<VALUE>",
        "NORACU_CLICLICK": "/opt/homebrew/bin/cliclick",
        "NORACU_IMCTL_DIR": "bundled imctl/",
        "NORACU_DISABLE_EVAL": "<VALUE>",
        "NORACU_ALLOW_FILE_URL": "<VALUE>",
        "NORACU_DISABLE_AUTO_INSTALL": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
NORACU_READ_ONLY No Set to `1` for observation-only mode: a default-deny allowlist of 12 observe + browser-lifecycle tools; every click/type/paste/key/eval tool is refused.
NORACU_LAYERS No Comma-separated layers whose tools are listed: mac, browser, iphone. The experimental iPhone layer is on only when named. Default: mac,browser
NORACU_STOP_FILE No Path of a file: while it exists, no input is sent.
NORACU_APPROVAL_FILE No Path of a 0600 JSON file {allow, ask, deny} of bundle ids or app names that may receive input.
NORACU_DENY_APPS No Comma-separated bundle ids or app names that never receive input; added to the default list (terminals and IDEs with a terminal).
NORACU_USER_IDLE_S No Seconds without the person's keyboard or mouse input before Mac or iPhone Mirroring input is sent; 0 turns the wait off. Default: 2
NORACU_ENABLE_EVAL No Set to 1 to turn browser_evaluate on. It is off by default because it runs any script in the page.
NORACU_ALLOW_CHROME No Set to 1 to let browser_launch with chrome:true work in your own Chrome instead of a separate profile.
NORACU_PYTHON No python3 used for the bundled iPhone driver; must import pyobjc (Quartz, Vision, AppKit). Unset means auto-probe: first working of /opt/homebrew/bin/python3, /usr/local/bin/python3, python3, /usr/bin/python3.
NORACU_CLICLICK No Path to the cliclick binary. Default: /opt/homebrew/bin/cliclick
NORACU_IMCTL_DIR No Override the iPhone driver location (development only). Default: bundled imctl/
NORACU_DISABLE_EVAL No Set to `1` to make `browser_evaluate` (arbitrary JS) return an error when called (it stays listed in `tools/list`).
NORACU_ALLOW_FILE_URL No Set to `1` to let `browser_navigate` open `file://` URLs (blocked by default).
NORACU_DISABLE_AUTO_INSTALL No Set to `1` to skip the one-time Chromium auto-install on first `browser_launch`.

Similar servers