browser-use MCP server
by wenpingwu001
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_FILE | No | Path for the server log file. | mcp_server_browser_use.log |
| CHROME_CDP | No | Connect to existing Chrome via DevTools Protocol URL. Required if MCP_USE_OWN_BROWSER=true. | |
| CHROME_PATH | No | Path to Chrome/Chromium executable. | |
| MCP_API_KEY | No | Optional generic override for the LLM provider's API key (takes precedence over provider-specific keys). | |
| MCP_BASE_URL | No | Optional generic override for the LLM provider's base URL. | |
| MCP_HEADLESS | No | Run browser without UI specifically for run_browser_agent tool. | true |
| MCP_MAX_STEPS | No | Max steps per agent run. | 100 |
| GOOGLE_API_KEY | No | API Key for Google AI (Gemini). | |
| MCP_AGENT_TYPE | No | Agent implementation for run_browser_agent ('org' or 'custom'). | org |
| MCP_MODEL_NAME | No | Specific model name for the chosen provider. | claude-3-7-sonnet-20250219 |
| MCP_USE_VISION | No | Enable vision capabilities (screenshot analysis). | true |
| OLLAMA_NUM_CTX | No | Context window size for Ollama models. | 32000 |
| OPENAI_API_KEY | No | API Key for OpenAI. | |
| ALIBABA_API_KEY | No | API Key for Alibaba Cloud (DashScope). | |
| MCP_TEMPERATURE | No | LLM temperature (0.0-2.0). Controls randomness. | 0.0 |
| MISTRAL_API_KEY | No | API Key for Mistral AI. | |
| OLLAMA_ENDPOINT | No | Ollama API endpoint URL. | http://localhost:11434 |
| OPENAI_ENDPOINT | No | OpenAI API endpoint URL. | https://api.openai.com/v1 |
| UNBOUND_API_KEY | No | API Key for Unbound AI. | |
| ALIBABA_ENDPOINT | No | Alibaba (DashScope) API endpoint URL. | |
| BROWSER_HEADLESS | No | Run browser without visible UI. Primarily affects run_deep_search. See also MCP_HEADLESS. | true |
| CHROME_USER_DATA | No | Path to Chrome user data directory (for persistent sessions, useful with CHROME_CDP). | |
| DEEPSEEK_API_KEY | No | API Key for DeepSeek. | |
| MISTRAL_ENDPOINT | No | Mistral API endpoint URL. | https://api.mistral.ai/v1 |
| MOONSHOT_API_KEY | No | API Key for Moonshot AI. | |
| UNBOUND_ENDPOINT | No | Unbound AI API endpoint URL. | https://api.getunbound.ai |
| ANTHROPIC_API_KEY | No | API Key for Anthropic. | |
| DEEPSEEK_ENDPOINT | No | DeepSeek API endpoint URL. | https://api.deepseek.com |
| MOONSHOT_ENDPOINT | No | Moonshot API endpoint URL. | https://api.moonshot.cn/v1 |
| ANTHROPIC_ENDPOINT | No | Anthropic API endpoint URL. | https://api.anthropic.com |
| BROWSER_TRACE_PATH | No | Directory to save Playwright trace files (useful for debugging). | ./tmp/trace |
| MCP_MODEL_PROVIDER | Yes | LLM provider to use. Supported: openai, azure_openai, anthropic, google, mistral, ollama, deepseek, openrouter, alibaba, moonshot, unbound. | anthropic |
| OLLAMA_NUM_PREDICT | No | Max tokens to predict for Ollama models. | 1024 |
| OPENROUTER_API_KEY | No | API Key for OpenRouter. | |
| MCP_USE_OWN_BROWSER | No | Set to true to connect to user's browser via CHROME_CDP instead of launching a new one. | false |
| OPENROUTER_ENDPOINT | No | OpenRouter API endpoint URL. | https://openrouter.ai/api/v1 |
| ANONYMIZED_TELEMETRY | No | Enable/disable anonymized telemetry (true/false). | true |
| AZURE_OPENAI_API_KEY | No | API Key for Azure OpenAI. | |
| BROWSER_WINDOW_WIDTH | No | Browser window width (pixels). | 1280 |
| MCP_DISABLE_SECURITY | No | Disable browser security features specifically for run_browser_agent tool (use cautiously). | true |
| MCP_ENABLE_RECORDING | No | Enable Playwright video recording for run_browser_agent. | false |
| MCP_MAX_INPUT_TOKENS | No | Max input tokens for LLM context for run_browser_agent. | 128000 |
| AZURE_OPENAI_ENDPOINT | No | Required if using Azure. Your Azure resource endpoint. | |
| BROWSER_WINDOW_HEIGHT | No | Browser window height (pixels). | 720 |
| MCP_KEEP_BROWSER_OPEN | No | Keep browser managed by server open between run_browser_agent calls (if MCP_USE_OWN_BROWSER=false). | false |
| MCP_RESEARCH_SAVE_DIR | No | Directory to save research artifacts (report, results). | ./tmp/deep_research/{task_id} |
| MCP_AGENT_HISTORY_PATH | No | Directory to save agent history JSON files. | ./tmp/agent_history |
| MCP_RESEARCH_MAX_QUERY | No | Max search queries per iteration. | 3 |
| MCP_SAVE_RECORDING_PATH | No | Path to save agent run video recordings (required if MCP_ENABLE_RECORDING=true). | |
| MCP_TOOL_CALLING_METHOD | No | Method for tool invocation ('auto', 'json_schema', 'function_calling'). Affects run_browser_agent. | auto |
| AZURE_OPENAI_API_VERSION | No | Azure API version. | 2025-01-01-preview |
| BROWSER_DISABLE_SECURITY | No | General browser security setting. See also MCP_DISABLE_SECURITY. | false |
| MCP_MAX_ACTIONS_PER_STEP | No | Max actions per agent step. | 5 |
| BROWSER_USE_LOGGING_LEVEL | No | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL). | INFO |
| MCP_RESEARCH_MAX_ITERATIONS | No | Max search iterations for deep research. | 10 |
| MCP_RESEARCH_AGENT_MAX_STEPS | No | Max steps for sub-agents within deep research. | 10 |
| MCP_RESEARCH_USE_OWN_BROWSER | No | Use a separate browser instance for research (requires CHROME_CDP if MCP_USE_OWN_BROWSER=true). | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues