Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fix unecessary pkg in docs

Nick Sweetinga9aa9a7a534f
diff --git a/docs/customize/mcp-client.mdx b/docs/customize/mcp-client.mdx
index 9e0bd5f98..09ab71af2 100644
--- a/docs/customize/mcp-client.mdx
+++ b/docs/customize/mcp-client.mdx
@@ -236,15 +236,6 @@ custom_client = MCPClient(
)
```
-## Error Handling
-
-```python
-try:
- await mcp_client.connect()
-except RuntimeError as e:
- print(f"Failed to connect: {e}")
-```
-
## Best Practices
1. **Always disconnect** when done
@@ -252,19 +243,6 @@ except RuntimeError as e:
3. **Filter tools** to limit capabilities
4. **Use context managers** for automatic cleanup
-## Troubleshooting
-
-**Import Error:**
-```bash
-pip install mcp
-# or
-pip install "browser-use[mcp]"
-```
-
-**Connection Timeout:**
-- Verify command works manually
-- Check server logs
-- Ensure dependencies installed
## See Also
diff --git a/examples/mcp/advanced_server.py b/examples/mcp/advanced_server.py
index 2616c0297..7383bd8df 100644
--- a/examples/mcp/advanced_server.py
+++ b/examples/mcp/advanced_server.py
@@ -9,7 +9,7 @@ This example shows how to build a more sophisticated MCP client that:
Prerequisites:
1. Install required packages:
- pip install mcp browser-use[mcp]
+ pip install 'browser-use[cli]'
2. Start the browser-use MCP server:
uvx browser-use --mcp
diff --git a/examples/mcp/simple_server.py b/examples/mcp/simple_server.py
index 0fe41ef2b..018d68db7 100644
--- a/examples/mcp/simple_server.py
+++ b/examples/mcp/simple_server.py
@@ -6,7 +6,7 @@ a running browser-use MCP server and call its browser automation tools.
Prerequisites:
1. Install required packages:
- pip install mcp browser-use[mcp]
+ pip install 'browser-use[cli]'
2. Start the browser-use MCP server in a separate terminal:
uvx browser-use --mcp