Browserbase云浏览器
STDIO提供浏览器自动化控制的MCP服务器
提供浏览器自动化控制的MCP服务器
npm install
to install the necessary dependencies, then run npm run build
to get dist/index.js
.npm run inspector
to start the server.Run npm install
to install the necessary dependencies, then run npm run build
to get dist/index.js
.
Set up your Claude Desktop configuration to use the server.
{ "mcpServers": { "cloudbrowser": { "command": "node", "args": ["path/to/mcp-server-cloudbrowser/cloudbrowser/dist/index.js"], "env": { "API_KEY": "<YOUR_BROWSERBASE_API_KEY>" }, "transportType": "stdio" } } }
Restart your Claude Desktop app and you should see the tools available clicking the 🔨 icon.
Start using the tools! Below is an image of Claude closing a browser session.
{ "mcpServers": { "cloudbrowser": { "command": "cmd", "args": [ "/c", "npx", "-y", "@browsercloud/mcp-server-cloudbrowser" ], "env": { "API_KEY": "<YOUR_BROWSERBASE_API_KEY>" }, "transportType": "stdio" } } }
cloudbrowser_navigate
url
(string)cloudbrowser_evaluate
script
(string): JavaScript code to executecloudbrowser_get_current_url
cloudbrowser_screenshot
name
(string, required): Name for the screenshotselector
(string, optional): CSS selector for element to screenshotwidth
(number, optional, default: 800): Screenshot widthheight
(number, optional, default: 600): Screenshot heightcloudbrowser_click
selector
(string): CSS selector for element to clickcloudbrowser_fill
selector
(string): CSS selector for input fieldvalue
(string): Value to fillcloudbrowser_get_text
selector
(string, optional): CSS selector to get content from specific elementsThe server provides access to two types of resources:
screenshot://<name>
)