mcp-server-cloudbrowser

mcp-server-cloudbrowser

3.3

Cloud browser MCP Server is a protocol server that facilitates browser automation and interaction through a set of tools and APIs.

The Cloud browser MCP Server is designed to enable seamless browser automation and interaction through a set of predefined tools and APIs. It allows users to navigate web pages, execute JavaScript, capture screenshots, and interact with web elements programmatically. The server is built using Node.js and can be integrated with platforms like Claude Desktop to enhance browser-based workflows. By leveraging the Browserbase API, users can perform complex browser operations with ease, making it an ideal solution for developers and testers who need to automate web interactions. The server supports various commands and inputs, allowing for flexible and dynamic browser control.

Features

  • Navigate to any URL in the browser using the cloudbrowser_navigate tool.
  • Execute JavaScript in the browser console with the cloudbrowser_evaluate tool.
  • Capture screenshots of web pages or specific elements using the cloudbrowser_screenshot tool.
  • Interact with web elements by clicking or filling input fields using cloudbrowser_click and cloudbrowser_fill tools.
  • Retrieve the current URL or extract text content from web pages with cloudbrowser_get_current_url and cloudbrowser_get_text tools.

MCP Tools

  • {'cloudbrowser_navigate': 'Navigate to any URL in the browser.'}
  • {'cloudbrowser_evaluate': 'Execute JavaScript in the browser console.'}
  • {'cloudbrowser_get_current_url': 'Retrieve the current URL of the browser page.'}
  • {'cloudbrowser_screenshot': 'Capture screenshots of the entire page or specific elements.'}
  • {'cloudbrowser_click': 'Click elements on the page.'}
  • {'cloudbrowser_fill': 'Fill out input fields.'}
  • {'cloudbrowser_get_text': 'Extract all content from the current page.'}

MCP Resources

  • {'Screenshots': 'PNG images of captured screenshots, accessible via the screenshot name specified during capture.'}

Usage with Different Platforms

Claude Desktop


{
  "mcpServers": {
    "cloudbrowser": {
      "command": "node",
      "args": ["path/to/mcp-server-cloudbrowser/cloudbrowser/dist/index.js"],
      "env": {
        "API_KEY": "<YOUR_BROWSERBASE_API_KEY>"
      },
      "transportType": "stdio"
    }
  }
}

Using npm


{
  "mcpServers": {
    "cloudbrowser": {
      "command": "cmd",
      "args": [
        "/c", 
        "npx", 
        "-y", 
        "@browsercloud/mcp-server-cloudbrowser"
      ],
      "env": {
        "API_KEY": "<YOUR_BROWSERBASE_API_KEY>"
      },
      "transportType": "stdio"
    }
  }
}