A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A powerful Model Context Protocol (MCP) server that provides an access to serverless browser for AI agents and apps
Welcome to the Browserai Model Context Protocol (MCP) server, designed to enable LLMs, AI agents, and applications to access, discover, and extract web data in real-time. This server empowers MCP clients—such as Claude Desktop, VS Code, Cursor, and WindSurf—to seamlessly search the web, navigate websites, perform actions, and retrieve data efficiently, even from sites with anti-scraping measures.
The Browserai MCP server functions as an intermediary between your AI agent (the MCP client) and the internet:
This architecture allows your agent to access real-time web information and capabilities without the need to directly manage browser instances or anti-blocking technologies.
To begin using the Browserai MCP server, a Browserai account and API key are required.
PROJECT_NAME environment variable.This guide assists in setting up the Browserai MCP server with common AI clients.
npx command is required. If Node.js is not already installed, download and install it from the node.js website. npx is a Node.js package runner that simplifies the execution of CLI tools like @brightdata/browserai-mcp.claude_desktop_config.json and add the following configuration:{
"mcpServers": {
"Browserai": {
"command": "npx",
"args": ["@brightdata/browserai-mcp"],
"env": {
"API_TOKEN": "<your-browserai-api-token>",
"PROJECT_NAME": "<your-browserai-project-name (optional)>"
}
}
}
}
.vscode/mcp.json file in your project with the following content:{
"servers": {
"browserai-mcp": {
"type": "stdio",
"command": "npx",
"args": ["@brightdata/browserai-mcp"],
"env": {
"API_TOKEN": "<your-browserai-api-token>",
"PROJECT_NAME": "<your-browserai-project-name (optional)>"
}
}
}
}
Note for VSCode Agent: The specific path and structure for the MCP server configuration (e.g., the filename .vscode/mcp.json or the JSON key like "servers") may differ based on the VSCode Agent extension in use. Consult your VSCode Agent's documentation for precise instructions.
To integrate this MCP server with other AI agents or applications supporting the Model Context Protocol:
npx @brightdata/browserai-mcp.API_TOKEN: Your Browserai API token (mandatory).PROJECT_NAME: The name of your Browserai project (optional; defaults to a pre-configured project if omitted).
Ensure these variables are accessible in the environment where the command is executed. Refer to your client's documentation for guidance on configuring external MCP servers and setting environment variables.Important: Treat all scraped web content as potentially untrusted data. To mitigate prompt injection risks, avoid using raw scraped content directly in LLM prompts. Instead, adopt these practices:
web_data tools) over raw text.Some tools require significant time to read web data, as page load times can vary considerably.
To ensure your agent can successfully consume the data, configure a sufficiently high timeout in your agent's settings. A value of 180s (3 minutes) is generally adequate for most requests, but adjust this based on the performance of the target sites.
spawn npx ENOENT ErrorThis error indicates that the npx command cannot be found by your system. To resolve this:
macOS:
Execute which node in your terminal. The output will resemble /usr/local/bin/node.
Windows:
Execute where node in your command prompt. The output will be similar to C:\Program Files\nodejs\node.exe.
In your client's MCP server configuration, replace "npx" with the full path to your Node.js executable. For example, on macOS, it might look like this:
"command": "/usr/local/bin/node"
(Ensure the args still include ["@brightdata/browserai-mcp"] or the path to the npx script if using node directly with npx's underlying script.)
Should you encounter any issues or have questions, please contact the Browserai support team or submit an issue in this repository.
A trilingual (繁中 / English / 简中) learning roadmap for agentic AI: from LLM basics to multi-agent systems, with 240+ cura
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
MCP server integration for DaVinci Resolve Studio