computer-use MCP server: checkAccessibility/registerEscape undefined errors on initialization
Resolved 💬 4 comments Opened Apr 1, 2026 by petraodak Closed May 5, 2026
Bug Description
The computer-use MCP server fails on every tool call with JavaScript runtime errors indicating internal objects are not initialized properly.
Errors
On request_access and list_granted_applications:
Cannot read properties of undefined (reading 'checkAccessibility')
On screenshot:
Cannot read properties of undefined (reading 'registerEscape')
Steps to Reproduce
- Have computer-use MCP server connected (shows "Reconnected to computer-use" on
/mcp) - Call any computer-use tool (e.g.
request_access,screenshot,list_granted_applications) - All calls fail with the above errors
Attempted Fixes (none worked)
- Reconnecting MCP via
/mcpcommand - Fully quitting and relaunching the app
- Verifying accessibility/screen recording permissions in System Settings
Environment
- macOS (Darwin 25.3.0)
- Claude Code CLI
Notes
The errors are JavaScript TypeErrors — the server's internal modules (checkAccessibility, registerEscape) are undefined at call time, suggesting an initialization/startup failure in the MCP server process.
🤖 Generated with Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗