Skip to content

[BUG] [error] [browser-server] spawn browser-use-mcp-server ENOENT #43

@iroy2000

Description

@iroy2000

Describe the bug

I'm using Claude Desktop, and I try to follow the readme and install the requirements.

I'm able to run browser-use-mcp-server in my terminal, the following command works

browser-use-mcp-server run server --port 8000 --stdio --proxy-port 9000

But when I try to hook it up to Claude with the following config, it failed

{
"mcpServers": {
"browser-server": {
"command": "browser-use-mcp-server",
"args": [
"run",
"server",
"--port",
"8000",
"--stdio",
"--proxy-port",
"9000"
],
"env": {
"OPENAI_API_KEY": "my-open-ai-key"
}
}
}
}

2025-04-24T02:58:20.709Z [browser-server] [info] Initializing server...
2025-04-24T02:58:20.731Z [browser-server] [error] spawn browser-use-mcp-server ENOENT {"context":"connection","stack":"Error: spawn browser-use-mcp-server ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-04-24T02:58:20.731Z [browser-server] [error] spawn browser-use-mcp-server ENOENT {"stack":"Error: spawn browser-use-mcp-server ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}
2025-04-24T02:58:20.734Z [browser-server] [info] Server transport closed
2025-04-24T02:58:20.734Z [browser-server] [info] Client transport closed
2025-04-24T02:58:20.734Z [browser-server] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error('...')` in JavaScript, `print('...', file=sys.stderr)` in python) and it will appear in this log.
2025-04-24T02:58:20.734Z [browser-server] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {"context":"connection"}

Screenshots

Image

If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: macOS
    • Version 15.3.1
  • Claude Desktop
    • Version 0.9.2

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions