
browser control mcp
一个与浏览器扩展配对的MCP服务器,允许LLM客户端控制本地浏览器(如Firefox)。
Repository Info
About This Server
一个与浏览器扩展配对的MCP服务器,允许LLM客户端控制本地浏览器(如Firefox)。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Browser Control MCP
An MCP server paired with a browser extension that enables LLM clients, such as Claude Desktop, to control the user's local browser (Firefox).
Features
The MCP server supports the following tools:
- Open or close tabs
- Get the list of opened tabs
- Reorder opened tabs
- Read and search the browser's history
- Read webpages text content and links
- Find and highlight text in a browser tab
Example use-cases:
- "Close all non-work related tabs in my browser."
- "Rearrange tabs in my browser in an order that makes sense."
- "Help me find an article in my browser history about the Milford track in NZ."
- "Open hackernews in my browser, then open the top story, read it, also read the comments. Do the comments agree with the story?"
- "In my browser, use Google Scholar to search for papers about L-theanine in the last 3 years. Open the 3 most cited works."
Installation
Clone this repository, then run the following commands to build both the MCP server and the browser extension.
npm install
npm install --prefix mcp-server
npm install --prefix firefox-extension
npm run build
The final npm run build command should be executed in the main repository directory, as it also generates a shared config.json file used by both the server and the extension.
Usage with Claude Desktop:
Add the following configuration to claude_desktop_config.json (use the Edit Config button in Claude Desktop Developer settings):
{
"mcpServers": {
"browser-control": {
"command": "node",
"args": [
"<path to repo>/mcp-server/dist/server.js"
]
}
}
}
Replace <path to repo> with the correct path.
Make sure to restart Claude Desktop.
Usage with Firefox
The browser-control-mcp extension was developed for Firefox.
To install the extension:
- Type
about:debuggingin the Firefox URL bar - Click on "This Firefox"
- click on "Load Temporary Add-on..."
- Select the
manifest.jsonfile under thefirefox-extensionfolder in this project
If you prefer not to run the extension on your personal Firefox browser, an alternative is to download a separate Firefox instance (such as Firefox Developer Edition, available at https://www.mozilla.org/en-US/firefox/developer/).
Quick Start
Clone the repository
git clone https://github.com/vpsone/browser-control-mcpInstall dependencies
cd browser-control-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.