Cover image
Try Now
2025-04-09

An MCP server paired with a browser extension that enables LLM clients to control the user's browser.

3 years

Works with Finder

1

Github Watches

1

Github Forks

12

Github Stars

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

In addition, the contents of each opened tab in the browser is available as an MCP resource, allowing the user to select browser tabs in the MCP client itself (e.g. Claude) and load their content into the context.

Example use-cases:

Tab management

  • "Close all non-work related tabs in my browser."
  • "Rearrange tabs in my browser in an order that makes sense."
  • "Close all tabs in my browser that haven't been accessed within the past 24 hours"

Browser history search

  • "Help me find an article in my browser history about the Milford track in NZ."
  • "Open all the articles about AI that I visited during the last week, up to 10 articles, avoid duplications."

Browsing and research

  • "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 papers. Read them and summarize them for me."
  • "Use google search in my browser to look for flower shops. Open the 10 most relevant results. Show me a table of each flower shop with location and opening hours."

Installation

Clone this repository, then run the following commands in the main repository directory 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 will also generate a shared secret between the MCP 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:

  1. Type about:debugging in the Firefox URL bar
  2. Click on "This Firefox"
  3. click on "Load Temporary Add-on..."
  4. Select the manifest.json file under the firefox-extension folder 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/).

相关推荐

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • albert tan
  • Japanese education, creating tailored learning experiences.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • GeyserMC
  • A library for communication with a Minecraft client/server.

  • 1Panel-dev
  • 💬 MaxKB is an open-source AI assistant for enterprise. It seamlessly integrates RAG pipelines, supports robust workflows, and provides MCP tool-use capabilities.

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • idosal
  • Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project

    Reviews

    4 (1)
    Avatar
    user_G7bx5xDD
    2025-04-16

    I've been using browser-control-mcp and it's been a game changer for managing web browsers programmatically. The simplicity and efficiency it offers are unmatched, thanks to eyalzh. Highly recommended for anyone looking to integrate browser control into their applications seamlessly. Check it out [here](https://github.com/eyalzh/browser-control-mcp)!