Browser Use MCP
Overview
Browser Use MCP is a powerful browser automation and control system that enables AI agents to interact with web browsers through the Model Context Protocol (MCP). It is specifically designed to work with Ollama local models, providing a secure and efficient way to automate browser interactions using locally-hosted AI models.
To use Browser Use MCP, ensure you have Ollama installed and running locally, then clone the repository, install the dependencies, and configure the Ollama model. You can then initialize the MCP server and execute browser actions through the provided API.
- Full support for Model Context Protocol (MCP) for structured communication between AI models and browser automation. - Optimized for local AI models running through Ollama. - Direct browser manipulation and automation with screenshot capabilities. - Advanced DOM tree building and processing. - Sophisticated message management and service orchestration for AI agents. - Built-in system monitoring and performance tracking. - Modular design supporting custom actions and features.
- Automating web interactions for data scraping.
- Testing web applications through automated browser actions.
- Integrating AI agents for enhanced browser functionalities.
- Capturing screenshots and managing DOM elements programmatically.
Add to your AI client
Use these steps to connect Browser Use MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-browser-use-ollama-cam10001110101": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-browser-use-ollama-cam10001110101"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-browser-use-ollama-cam10001110101": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-browser-use-ollama-cam10001110101"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-browser-use-ollama-cam10001110101": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-browser-use-ollama-cam10001110101"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-browser-use-ollama-cam10001110101": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-browser-use-ollama-cam10001110101"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-browser-use-ollama-cam10001110101": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-browser-use-ollama-cam10001110101"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-browser-use-ollama-cam10001110101": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-browser-use-ollama-cam10001110101"
]
}
}
}FAQ
**What are the prerequisites for using Browser Use MCP?**
You need to have Ollama installed and running locally, along with Python 3.8 or higher and pip package manager.
**Is Browser Use MCP free to use?**
Yes! Browser Use MCP is open-source and free to use.
**Can I customize the actions performed by the AI agents?**
Yes! The architecture is extensible, allowing you to add custom actions and features.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1743,"uuid":"3bf3d2e5-4bb3-4465-a258-01e3c597d4c3","name":"mcp-server-browser-use-ollama","title":"Browser Use MCP","description":"","avatar_url":"https://avatars.githubusercontent.com/u/168899055?v=4","created_at":"2025-03-05T05:07:12.183Z","updated_at":"2025-03-12T10:20:30.683Z","status":"created","author_name":"Cam10001110101","author_avatar_url":"https://avatars.githubusercontent.com/u/168899055?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/Cam10001110101/mcp-server-browser-use-ollama","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-24 22:09:18\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]