5
5
[ ![ Twitter URL] ( https://img.shields.io/twitter/url/https/twitter.com/cobrowser.svg?style=social&label=Follow%20%40cobrowser )] ( https://x.com/cobrowser )
6
6
[ ![ PyPI version] ( https://badge.fury.io/py/browser-use-mcp-server.svg )] ( https://pypi.org/project/browser-use-mcp-server/ )
7
7
8
- ** An MCP server that enables AI agents to control web browsers using [ browser-use] ( https://github.com/browser-use/browser-use ) .**
8
+ ** An MCP server that enables AI agents to control web browsers using
9
+ [ browser-use] ( https://github.com/browser-use/browser-use ) .**
9
10
10
11
</div >
11
12
@@ -24,6 +25,7 @@ uv tool install mcp-proxy
24
25
## Environment
25
26
26
27
Create a ` .env ` file:
28
+
27
29
```
28
30
OPENAI_API_KEY=your-api-key
29
31
CHROME_PATH=optional/path/to/chrome
@@ -92,12 +94,12 @@ browser-use-mcp-server run server --stdio --proxy-port 9000
92
94
93
95
### Config Locations
94
96
95
- | Client | Configuration Path |
96
- | --------| -------------------|
97
- | Cursor | ` ./.cursor/mcp.json ` |
98
- | Windsurf | ` ~/.codeium/windsurf/mcp_config.json ` |
99
- | Claude (Mac) | ` ~/Library/Application Support/Claude/claude_desktop_config.json ` |
100
- | Claude (Windows) | ` %APPDATA%\Claude\claude_desktop_config.json ` |
97
+ | Client | Configuration Path |
98
+ | ---------------- | ----------------------------------------------------------------- |
99
+ | Cursor | ` ./.cursor/mcp.json ` |
100
+ | Windsurf | ` ~/.codeium/windsurf/mcp_config.json ` |
101
+ | Claude (Mac) | ` ~/Library/Application Support/Claude/claude_desktop_config.json ` |
102
+ | Claude (Windows) | ` %APPDATA%\Claude\claude_desktop_config.json ` |
101
103
102
104
## Features
103
105
@@ -111,18 +113,21 @@ browser-use-mcp-server run server --stdio --proxy-port 9000
111
113
To develop and test the package locally:
112
114
113
115
1 . Build a distributable wheel:
116
+
114
117
``` bash
115
118
# From the project root directory
116
119
uv build
117
120
```
118
121
119
122
2 . Install it as a global tool:
123
+
120
124
``` bash
121
125
uv tool uninstall browser-use-mcp-server 2> /dev/null || true
122
126
uv tool install dist/browser_use_mcp_server-* .whl
123
127
```
124
128
125
129
3 . Run from any directory:
130
+
126
131
``` bash
127
132
# Set your OpenAI API key for the current session
128
133
export OPENAI_API_KEY=your-api-key-here
0 commit comments