Cline Browser Use Server
About
Enables browser automation using Python scripts, offering operations like taking webpage screenshots, retrieving HTML content, and executing JavaScript.
Details
- Author
- ztobs
- Repository
- ztobs/cline-browser-use-mcp
- GitHub stars
- 17
- Downloads
- 2
- Categories
- Developer Tools, Search
Jump to
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Cline Browser Use ServerCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/home/YOUR_HOME/Documents/Cline/MCP/browser-use-server/build/index.js
Environment-
MODEL
your_preferred_model -
BASE_URL
your_custom_url -
USE_VISION
false -
GLHF_API_KEY
your_api_key -
GROQ_API_KEY
your_api_key -
GEMINI_API_KEY
your_api_key -
GITHUB_API_KEY
your_api_key -
OLLAMA_API_KEY
your_api_key -
OPENAI_API_KEY
your_api_key -
DEEPSEEK_API_KEY
your_api_key -
OPENROUTER_API_KEY
your_api_key
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
export MODEL=your_preferred_model # Override the default model
export BASE_URL=your_custom_url # Override the default API endpoint
export USE_VISION=false # Enable/disable vision capabilities (default: false)
The server will automatically use the first available API key it finds. You can optionally customize the model and base URL for any provider using the environment variables.
To install Browser Use Server for Claude Desktop automatically via Smithery:
bashnpx -y @smithery/cli install @ztobs/cline-browser-use-mcp --client claude
1. Clone this repository to /home/YOUR_HOME/Documents/Cline/ directory
2. Install dependencies:
bashnpm install
3. Build the server:
bashnpm run build
Add the following configuration to your Cline MCP settings:
json"browser-use": {
"command": "node",
"args": [
"/home/YOUR_HOME/Documents/Cline/MCP/browser-use-server/build/index.js"
],
"env": {
// Required: Set at least one API key
"GLHF_API_KEY": "your_api_key",
"GROQ_API_KEY": "your_api_key",
"OPENAI_API_KEY": "your_api_key",
"OPENROUTER_API_KEY": "your_api_key",
"GITHUB_API_KEY": "your_api_key",
"DEEPSEEK_API_KEY": "your_api_key",
"GEMINI_API_KEY": "your_api_key",
"OLLAMA_API_KEY": "your_api_key",
// Optional: Configuration overrides
"MODEL": "your_preferred_model",
"BASE_URL": "your_custom_url",
"USE_VISION": "false"
},
"disabled": false,
"autoApprove": []
}
```
screenshot
Capture a screenshot of a webpage. Parameters: url (string, required), full_page (boolean, optional, default: false), steps (string, optional)
get_html
Retrieve the HTML content of a webpage. Parameters: url (string, required), steps (string, optional)
execute_js
Execute JavaScript on a webpage. Parameters: url (string, required), script (string, required), steps (string, optional)
get_console_logs
Get console logs from a webpage. Parameters: url (string, required), steps (string, optional)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"cline browser use server": {
"env": {
"MODEL": "your_preferred_model",
"BASE_URL": "your_custom_url",
"USE_VISION": "false",
"GLHF_API_KEY": "your_api_key",
"GROQ_API_KEY": "your_api_key",
"GEMINI_API_KEY": "your_api_key",
"GITHUB_API_KEY": "your_api_key",
"OLLAMA_API_KEY": "your_api_key",
"OPENAI_API_KEY": "your_api_key",
"DEEPSEEK_API_KEY": "your_api_key",
"OPENROUTER_API_KEY": "your_api_key"
},
"args": [
"/home/YOUR_HOME/Documents/Cline/MCP/browser-use-server/build/index.js"
],
"command": "node"
}
}
}
Linux
{
"env": {
"MODEL": "your_preferred_model",
"BASE_URL": "your_custom_url",
"USE_VISION": "false",
"GLHF_API_KEY": "your_api_key",
"GROQ_API_KEY": "your_api_key",
"GEMINI_API_KEY": "your_api_key",
"GITHUB_API_KEY": "your_api_key",
"OLLAMA_API_KEY": "your_api_key",
"OPENAI_API_KEY": "your_api_key",
"DEEPSEEK_API_KEY": "your_api_key",
"OPENROUTER_API_KEY": "your_api_key"
},
"args": [
"/home/YOUR_HOME/Documents/Cline/MCP/browser-use-server/build/index.js"
],
"command": "node"
}
Macos
{
"env": {
"MODEL": "your_preferred_model",
"BASE_URL": "your_custom_url",
"USE_VISION": "false",
"GLHF_API_KEY": "your_api_key",
"GROQ_API_KEY": "your_api_key",
"GEMINI_API_KEY": "your_api_key",
"GITHUB_API_KEY": "your_api_key",
"OLLAMA_API_KEY": "your_api_key",
"OPENAI_API_KEY": "your_api_key",
"DEEPSEEK_API_KEY": "your_api_key",
"OPENROUTER_API_KEY": "your_api_key"
},
"args": [
"/home/YOUR_HOME/Documents/Cline/MCP/browser-use-server/build/index.js"
],
"command": "node"
}
Windows
{
"env": {
"MODEL": "your_preferred_model",
"BASE_URL": "your_custom_url",
"USE_VISION": "false",
"GLHF_API_KEY": "your_api_key",
"GROQ_API_KEY": "your_api_key",
"GEMINI_API_KEY": "your_api_key",
"GITHUB_API_KEY": "your_api_key",
"OLLAMA_API_KEY": "your_api_key",
"OPENAI_API_KEY": "your_api_key",
"DEEPSEEK_API_KEY": "your_api_key",
"OPENROUTER_API_KEY": "your_api_key"
},
"args": [
"/c",
"node",
"/home/YOUR_HOME/Documents/Cline/MCP/browser-use-server/build/index.js"
],
"command": "cmd"
}
Browser Use Server
A Model Context Protocol server for browser automation using Python scripts. For use with Cline
<a href="https://glama.ai/mcp/servers/0aqrsbhx3z"></a>
Features
Browser Operations
-screenshot: Capture a screenshot of a webpage (full page or viewport)
- get_html: Retrieve the HTML content of a webpage
- execute_js: Execute JavaScript on a webpage
- get_console_logs: Get console logs from a webpage
All operations support custom interaction steps (e.g., clicking elements, scrolling) after page load.
Prerequisites
1. (Optional but recommended) Install Xvfb for headless browser automation:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




