Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Browser Session MCP

Browser Session MCP by ashu

Let AI agents drive the current browser session through the local browser-session-mcp server. Works in Chrome, Edge and Firefox.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
Browser Session MCP lets an AI agent drive the browser session you already have open — including pages you are logged into — through a Model Context Protocol (MCP) server running on your own machine.

This extension is the browser side of that loop. It exposes 11 automation tools to the local server over native messaging, and falls back to a loopback WebSocket (ws://127.0.0.1:9777) when the native host is not installed:

navigate, snapshot, click, type, press_key, evaluate, screenshot, scroll, tabs_list, tab_select, wait
  • Works with your existing login state. Nothing is sent anywhere: the extension talks only to the local server you run.
  • No remote code. Everything runs from the packaged files.
  • Screenshots are written to disk by your local server, never uploaded.
  • Typing goes through the browser's own editing pipeline, so pages receive a trusted InputEvent.
  • Optional human-like cursor animation, and an opt-in force click for client-side disabled gates.


This add-on ships without its server. Install the open-source Browser Session MCP server (Node.js 22+) from the project repository, then click the toolbar icon and press Connect. Without that server the extension deliberately does nothing: it has no remote endpoint to talk to.
  • tabs and <all_urls>: the agent needs to act on whichever page you ask it to work on.
  • scripting: one self-contained function is injected per action; there are no persistent content scripts.
  • nativeMessaging: preferred transport to the local server.
  • storage: remembers your port and connect state.
  • alarms: keeps the connection healthy.


Source code, issue tracker and the companion server live at
https://github.com/ashu0729will/browser-mcp-lab
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Exchange messages with programs other than Firefox
  • Access browser tabs

Optional permissions:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
  • Copy add-on ID
Version
0.3.3
Size
21.75 KB
Last updated
10 days ago (Sep 10, 2026)
Related Categories
  • Web Development
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.