launch_browser
Launch a Firefox instance with chrome debugging capabilities enabled.
toolboxheadlessnoToolboxbinaryPathprofileName
io.github.easonwong-dePublished by GitHub account easonwong-dev0.3.5Updated Oct 25, 2026
MCP for building, inspecting, and live-debugging Firefox CSS themes.
MCP server for building and live-debugging Firefox CSS themes: it inspects the browser chrome UI, injects stylesheets and captures screenshots.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Follow the launch instructions in the repository.
A toolkit for scaffolding, live-debugging, and installing Firefox CSS themes. For agentic DOM inspection and live styling, an MCP server is also available.
[!TIP] You need Node.js to get started.
Scaffold a new theme project using npx:
This interactively prompts for your theme name and stylesheet targets (userChrome only, userContent only, or both).
If you have already opened a theme repository, launch Firefox with live CSS hot-reloading:
[!NOTE] Theme entry files (
userChrome.cssand/oruserContent.css) must be located at the root of the project directory.
Navigate to the theme directory and install the stylesheets:
The toolkit will look for userChrome.css and userContent.css in the current directory, and install them into the selected Firefox profile.
For the full list of CLI options, run npx firefox-css-theme --help.
The MCP server enables AI assistants to inspect the Firefox chrome DOM, query computed styles, inject custom CSS, and capture UI screenshots in real time.
[MCP Usage Example - Customising Close Tab Button]
Add the server to your preferred client or development environment:
launch_browser: Launches Firefox with chrome debugging.close_browser: Terminates the browser instance.customize_toolbar: Toggles the Firefox "Customise Toolbar" mode.get_ui_tree: Dumps the hierarchical DOM tree of the selected UI element.query_ui_elements: Queries elements matching a CSS selector in the browser chrome.get_computed_styles: Extracts computed CSS property values of a specific UI element.inject_theme_css: Injects a stylesheet into the live UI.remove_theme_css: Removes an injected stylesheet.list_theme_css: Lists all currently injected stylesheets.take_ui_screenshot: Captures a screenshot of a specific UI component.execute_chrome_javascript: Runs JavaScript in the browser chrome window context.firefox-css-theme createScaffold a new Firefox CSS theme project.
firefox-css-theme startLaunch Firefox with live stylesheet bundling and hot-reloading.
firefox-css-theme installInstall compiled stylesheets from the current working directory into a Firefox profile.
[!WARNING] This operation will overwrite existing CSS themes in the profile unless
--mergeis specified. A backup is advised.
firefox-css-theme mcpStart the Model Context Protocol (MCP) server.
Source: README.md at commit bc302be
Launch a Firefox instance with chrome debugging capabilities enabled.
toolboxheadlessnoToolboxbinaryPathprofileNameClose the running Firefox instance.
Takes no parameters.
Activate or manage the Firefox Customise Toolbar mode in the browser chrome.
actionRetrieve the hierarchical DOM tree of the selected UI element in the Firefox chrome window.
maxDepthrootSelectorFind elements in the Firefox UI chrome document matching a CSS selector.
selectorrequiredExtract computed CSS property values for a Firefox UI chrome element.
selectorrequiredpropertiesInject or replace a live stylesheet into the Firefox window.
idcssrequiredtargetrequiredRemove an injected stylesheet from the Firefox window.
idrequiredtargetrequiredList all custom stylesheets currently injected into the Firefox window.
targetrequiredCapture a PNG screenshot of the Firefox browser chrome window or a specific UI component.
selectorExecute privileged JavaScript code in the Firefox chrome window context.
scriptrequired90% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
npx firefox-css-theme createnpx firefox-css-theme startnpx firefox-css-theme installclaude mcp add firefox-css-theme -- npx -y firefox-css-theme mcpcodex mcp add firefox-css-theme -- npx -y firefox-css-theme mcp{ "mcpServers": { "firefox-css-theme": { "command": "npx", "args": ["-y", "firefox-css-theme", "mcp"] } }}npx firefox-css-theme create [options]npx firefox-css-theme start [options]npx firefox-css-theme install [options]npx firefox-css-theme mcp [options]