Connection check
local install
firefox-devtools-mcp
Model Context Protocol server for Firefox DevTools - enables AI assistants to inspect and control Firefox browser through the Remote Debugging Protocol
Tools
52
GitHub stars
389
Installs / wk
2.1k
Licence
—
Transport
stdio
Last checked
never
Tools & capabilities
52 toolsRead from the published package source — this server runs locally, so there is no endpoint to query. Names are taken from the code, not observed at runtime, and descriptions are often absent.
accept_dialog
from source
clear_console_messages
from source
clear_downloads
from source
clear_snapshot
from source
Clear snapshot UIDs. Usually not needed. Clear snapshot UIDs. Usually not needed.
click_by_uid
from source
Click element by UID. Set dblClick for double-click. Click element by UID. Set dblClick for double-click.
close_page
from source
Close tab by index. Close tab by index.
dismiss_dialog
from source
drag_by_uid_to_uid
from source
Drag element to another (HTML5 drag events). Drag element to another (HTML5 drag events).
enable_debugger
from source
evaluate_privileged_script
from source
fill_by_uid
from source
Fill text input/textarea by UID. Fill text input/textarea by UID.
fill_form_by_uid
from source
Fill multiple form fields at once. Fill multiple form fields at once.
get_firefox_info
from source
get_firefox_output
from source
get_firefox_prefs
from source
get_logpoint_results
from source
get_network_request
from source
get_page_text
from source
Get the visible text of the page (document.body.innerText). Caps at maxLength (default 20000 chars); saveTo saves the full text to a file. Get the visible text of the page (document.body.innerText). Caps at maxLength (default 20000 chars); saveTo saves the full text to a file.
get_script_source
from source
hover_by_uid
from source
Hover over element by UID. Hover over element by UID.
install_extension
from source
list_console_messages
from source
list_downloads
from source
list_network_requests
from source
list_pages
from source
List open tabs (index, title, URL). Selected tab is marked. List open tabs (index, title, URL). Selected tab is marked.
list_privileged_contexts
from source
list_scripts
from source
navigate_history
from source
navigate_page
from source
Navigate selected tab to URL. Navigate selected tab to URL.
new_page
from source
Open new tab at URL. Returns tab index. Open new tab at URL. Returns tab index.
pages
from source
Open, navigate, select, and close pages. Open, navigate, select, and close pages.
press_key
from source
Press a single key, optionally with modifiers, to submit, dismiss, navigate or trigger a shortcut. Not for entering text: use fill_by_uid instead. Press a single key, optionally with modifiers, to submit, dismiss, navigate or trigger a shortcut. Not for entering text: use fill_by_uid instead.
profiler_is_active
from source
profiler_start
from source
profiler_stop
from source
remove_logpoint
from source
resolve_uid_to_selector
from source
Resolve UID to CSS selector. Fails if the element is gone. Resolve UID to CSS selector. Fails if the element is gone.
restart_firefox
from source
screencast_start
from source
screencast_stop
from source
screenshot_by_uid
from source
screenshot_page
from source
select_page
from source
Select active tab by index, URL, or title. Index takes precedence. Select active tab by index, URL, or title. Index takes precedence.
select_privileged_context
from source
set_download_behavior
from source
set_firefox_prefs
from source
set_viewport_size
from source
snapshot
from source
Capture accessibility/DOM snapshots and resolve UIDs. Capture accessibility/DOM snapshots and resolve UIDs.
take_snapshot
from source
Capture DOM snapshot with stable UIDs. A UID stays valid across snapshots until its element is removed or the page navigates. Output caps at maxLines (default 100); scope with sele… Capture DOM snapshot with stable UIDs. A UID stays valid across snapshots until its element is removed or the page navigates. Output caps at maxLines (default 100); scope with selector or dump the full tree with saveTo.
type_text
from source
Type text key by key into the focused element, optionally followed by a key such as Enter. Use fill_by_uid to set the value of a known input; use this for elements that only react… Type text key by key into the focused element, optionally followed by a key such as Enter. Use fill_by_uid to set the value of a known input; use this for elements that only react to real typing, such as autocomplete fields and rich text editors.
uninstall_extension
from source
upload_file_by_uid
from source