
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
firefox-css-theme
Advanced tools
CLI toolkit and Model Context Protocol server for building, inspecting, and live-debugging Firefox UI and CSS themes.
A CLI toolkit for scaffolding, compiling, live-debugging, and installing Firefox UI and CSS themes (userChrome.css and userContent.css). It also provides a Model Context Protocol (MCP) server for AI-assisted inspection and styling.
Install as a development dependency within your theme repository:
npm install --save-dev firefox-css-theme
Once installed, run it directly with npx firefox-css-theme [command] [option] or use firefox-css-theme in your npm scripts:
{
"scripts": {
"create": "firefox-css-theme create", // scaffold starter userChrome.css and userContent.css files
"start": "firefox-css-theme start", // launch Firefox with live stylesheet bundling and hot-reloading
"profiles": "firefox-css-theme profiles", // list all detected Firefox profiles
"install:theme": "firefox-css-theme install" // install compiled stylesheets into a Firefox profile's chrome folder
}
}
[!NOTE]
userChrome.cssanduserContent.cssmust be located at the project root directory by default; otherwise, specify their paths using the-c, --chromeand-u, --contentoptions.
For the full list of CLI options, run npx firefox-css-theme --help in your project.
firefox-css-theme createScaffold starter userChrome.css and userContent.css boilerplate files with Firefox namespace headers.
firefox-css-theme create [options]
| Option | Description |
|---|---|
-c, --chrome <path> | Custom output path for userChrome.css (default: ./userChrome.css) |
-u, --content <path> | Custom output path for userContent.css (default: ./userContent.css) |
-f, --force | Overwrite existing files without confirmation |
firefox-css-theme startLaunch Firefox with live stylesheet bundling and hot-reloading.
firefox-css-theme start [options]
| Option | Description |
|---|---|
-p, --profile <name> | Designate an existing Firefox profile by name (temporary profile if omitted) |
-c, --chrome <path> | Custom path to userChrome.css (default: ./userChrome.css) |
-u, --content <path> | Custom path to userContent.css (default: ./userContent.css) |
--no-watch | Disable file watching and live reloading |
--headless | Run Firefox in headless mode |
--nova-ui | Enable Firefox Nova UI redesign preferences |
--binary <path> | Path to custom Firefox executable binary |
firefox-css-theme profilesList all detected Firefox profiles and their directory paths.
firefox-css-theme profiles
firefox-css-theme installCompile and install stylesheets directly into a Firefox profile's chrome/ directory.
firefox-css-theme install [options]
| Option | Description |
|---|---|
-p, --profile <name> | Target Firefox profile name (mandatory if multiple profiles exist) |
-c, --chrome <path> | Custom path to userChrome.css (default: ./userChrome.css) |
-u, --content <path> | Custom path to userContent.css (default: ./userContent.css) |
-m, --merge | Merge with existing theme stylesheets instead of overwriting |
-f, --force | Overwrite existing theme files in the profile without confirmation prompt |
[!WARNING] This operation will overwrite existing CSS themes in the profile. A backup is advised.
firefox-css-theme mcpStart the Model Context Protocol (MCP) server over standard I/O for AI-assisted inspection and styling.
firefox-css-theme mcp [options]
| Option | Description |
|---|---|
-p, --profile <name> | Designate an existing Firefox profile by name (isolated temporary profile if omitted) |
--nova-ui | Enable Firefox Nova UI redesign preferences |
--headless | Run Firefox in headless mode |
--binary <path> | Path to custom Firefox executable binary |
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.

Add the server to your preferred client or development environment:
claude mcp add firefox-css-theme -- npx -y firefox-css-theme mcp --nova-ui
codex mcp add firefox-css-theme -- npx -y firefox-css-theme mcp --nova-ui
Using npx:
{
"mcpServers": {
"firefox-css-theme": {
"command": "npx",
"args": ["-y", "firefox-css-theme", "mcp", "--nova-ui"]
}
}
}
Or using a local build:
{
"mcpServers": {
"firefox-css-theme": {
"command": "node",
"args": [
"/path/to/firefox-css-theme/dist/cli.js",
"mcp",
"--nova-ui"
]
}
}
}
launch_browser: Launches Firefox with chrome debugging capabilities enabled.close_browser: Terminates the browser instance.customize_toolbar: Activates or controls the Firefox "Customise Toolbar" mode.get_ui_tree: Dumps the hierarchical DOM tree of the chrome window.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 stylesheets in the live UI (target: "chrome" | "content").remove_theme_css: Removes an injected stylesheet by id (target: "chrome" | "content").list_theme_css: Lists all currently injected custom stylesheets (target: "chrome" | "content").take_ui_screenshot: Captures a screenshot of the browser window or a specific UI component.execute_chrome_javascript: Runs privileged JavaScript in the browser chrome window context.FAQs
Scaffolds, live-debugs, and installs Firefox CSS themes.
The npm package firefox-css-theme receives a total of 48 weekly downloads. As such, firefox-css-theme popularity was classified as not popular.
We found that firefox-css-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.