firefox-css-theme
v0.3.5MCP for building, inspecting, and live-debugging Firefox CSS themes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
launch_browser
Launch a Firefox instance with chrome debugging capabilities enabled.
| Parameter | Type | Description |
|---|---|---|
binaryPath | string | Optional path to the Firefox executable binary. |
headless | boolean | Optional flag to run Firefox in headless mode. |
noToolbox | boolean | Optional flag to disable opening the Browser Toolbox. |
profileName | string | Optional name of an existing Firefox profile. If omitted, uses an isolated temporary profile. |
toolbox | boolean | Optional flag to open the Browser Toolbox. Defaults to true unless headless. |
close_browser
Close the running Firefox instance.
customize_toolbar
Activate or manage the Firefox Customise Toolbar mode in the browser chrome.
| Parameter | Type | Description |
|---|---|---|
action | string | Action to perform for customise toolbar mode ('enter' or 'exit'). Defaults to 'enter'. |
get_ui_tree
Retrieve the hierarchical DOM tree of the selected UI element in the Firefox chrome window.
| Parameter | Type | Description |
|---|---|---|
maxDepth | number | Maximum recursive depth to traverse. |
rootSelector | string | CSS selector for the root element. |
query_ui_elements
Find elements in the Firefox UI chrome document matching a CSS selector.
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector to query in the chrome document (e.g. '#nav-bar', '#TabsToolbar'). |
get_computed_styles
Extract computed CSS property values for a Firefox UI chrome element.
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of the UI element (e.g. '#urlbar-background'). |
properties | array | Optional list of specific CSS property names. |
inject_theme_css
Inject or replace a live stylesheet into the Firefox window.
| Parameter | Type | Description |
|---|---|---|
css * | string | CSS rules to inject. |
target * | string | Target scope: chrome for browser UI, or content for web pages. |
id | string | Identifier for the stylesheet. |
remove_theme_css
Remove an injected stylesheet from the Firefox window.
| Parameter | Type | Description |
|---|---|---|
id * | string | Identifier of the stylesheet to remove. |
target * | string | Target scope of the stylesheet to remove: chrome or content. |
list_theme_css
List all custom stylesheets currently injected into the Firefox window.
| Parameter | Type | Description |
|---|---|---|
target * | string | Target scope to list: chrome or content. |
take_ui_screenshot
Capture a PNG screenshot of the Firefox browser chrome window or a specific UI component.
| Parameter | Type | Description |
|---|---|---|
selector | string | Optional CSS selector to screenshot a specific element. |
execute_chrome_javascript
Execute privileged JavaScript code in the Firefox chrome window context.
| Parameter | Type | Description |
|---|---|---|
script * | string | JavaScript code string to evaluate in the chrome context. |