launch_browser
Launch a Firefox instance with chrome debugging capabilities enabled.
toolboxheadlessnoToolboxbinaryPathprofileName
io.github.easonwong-de由 GitHub 账号 easonwong-de 发布v0.3.5更新于 Oct 25, 2026
MCP for building, inspecting, and live-debugging Firefox CSS themes.
用于构建和实时调试 Firefox CSS 主题的 MCP 服务器,可检查浏览器界面、注入样式表并截图。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
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.
来源:README.md,提交 bc302be
Launch a Firefox instance with chrome debugging capabilities enabled.
toolboxheadlessnoToolboxbinaryPathprofileNameClose the running Firefox instance.
无需输入参数。
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.
selector必填Extract computed CSS property values for a Firefox UI chrome element.
selector必填propertiesInject or replace a live stylesheet into the Firefox window.
idcss必填target必填Remove an injected stylesheet from the Firefox window.
id必填target必填List all custom stylesheets currently injected into the Firefox window.
target必填Capture a PNG screenshot of the Firefox browser chrome window or a specific UI component.
selectorExecute privileged JavaScript code in the Firefox chrome window context.
script必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
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]