Remove outdated prompts and images from README.md to streamline content and improve clarity.

This commit is contained in:
Magnus Müller
2025-09-18 18:19:26 -07:00
parent f1ac0885be
commit ab808572c1

View File

@@ -80,11 +80,6 @@ Check out the [library docs](https://docs.browser-use.com) and [cloud docs](http
<br/><br/>
Prompt: Add my latest LinkedIn follower to my leads in Salesforce.
![LinkedIn to Salesforce](https://github.com/user-attachments/assets/50d6e691-b66b-4077-a46c-49e9d4707e07)
<br/><br/>
[Prompt](https://github.com/browser-use/browser-use/blob/main/examples/use-cases/find_and_apply_to_jobs.py): Read my CV & find ML jobs, save them to a file, and then start applying for them in new tabs, if you need help, ask me.'
@@ -92,21 +87,9 @@ https://github.com/user-attachments/assets/171fb4d6-0355-46f2-863e-edb04a828d04
<br/><br/>
[Prompt](https://github.com/browser-use/browser-use/blob/main/examples/browser/real_browser.py): Write a letter in Google Docs to my Papa, thanking him for everything, and save the document as a PDF.
For more examples see the [examples](examples) folder.
![Letter to Papa](https://github.com/user-attachments/assets/242ade3e-15bc-41c2-988f-cbc5415a66aa)
<br/><br/>
[Prompt](https://github.com/browser-use/browser-use/blob/main/examples/custom-functions/save_to_file_hugging_face.py): Look up models with a license of cc-by-sa-4.0 and sort by most likes on Hugging face, save top 5 to file.
https://github.com/user-attachments/assets/de73ee39-432c-4b97-b4e8-939fd7f323b3
<br/><br/>
## More examples
For more examples see the [examples](examples) folder or join the [Discord](https://link.browser-use.com/discord) and show off your project. You can also see our [`awesome-prompts`](https://github.com/browser-use/awesome-prompts) repo for prompting inspiration.
## MCP Integration
@@ -115,7 +98,7 @@ Browser-use supports the [Model Context Protocol (MCP)](https://modelcontextprot
### Use as MCP Server with Claude Desktop
Add browser-use to your Claude Desktop configuration:
This gives Claude Desktop access to browser automation tools for web scraping, form filling, and more.
```json
{
"mcpServers": {
@@ -129,62 +112,11 @@ Add browser-use to your Claude Desktop configuration:
}
}
```
This gives Claude Desktop access to browser automation tools for web scraping, form filling, and more.
### Connect External MCP Servers to Browser-Use Agent
Browser-use agents can connect to multiple external MCP servers to extend their capabilities:
```python
import asyncio
from browser_use import Agent, Tools, ChatOpenAI
from browser_use.mcp.client import MCPClient
async def main():
# Initialize tools
tools = Tools()
# Connect to multiple MCP servers
filesystem_client = MCPClient(
server_name="filesystem",
command="npx",
args=["-y", "@modelcontextprotocol/server-filesystem", "/Users/me/documents"]
)
github_client = MCPClient(
server_name="github",
command="npx",
args=["-y", "@modelcontextprotocol/server-github"],
env={"GITHUB_TOKEN": "your-github-token"}
)
# Connect and register tools from both servers
await filesystem_client.connect()
await filesystem_client.register_to_tools(tools)
await github_client.connect()
await github_client.register_to_tools(tools)
# Create agent with MCP-enabled tools
agent = Agent(
task="Find the latest pdf report in my documents and create a GitHub issue about it",
llm=ChatOpenAI(model="gpt-4.1-mini"),
tools=tools # Tools has tools from both MCP servers
)
# Run the agent
await agent.run()
# Cleanup
await filesystem_client.disconnect()
await github_client.disconnect()
asyncio.run(main())
```
See the [MCP documentation](https://docs.browser-use.com/customize/mcp-server) for more details.
<div align="center">
Tell your computer what to do, and it gets it done.