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]