devtools-inspector-mcp

v0.1.2
devtools-inspector-mcp Checked 4 days ago Published 1 month ago

A local MCP server for live Chrome DevTools diagnostics.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_browser_targets List Browser Targets

List page targets from a local Chrome debugging endpoint.

ParameterTypeDescription
endpointstring

connect_browser Connect Browser

Connect to the explicitly selected page target and begin Console/Network monitoring.

ParameterTypeDescription
endpoint *string
target_id *string

select_browser_target Select Browser Target

Switch the active CDP session to a selected page target.

ParameterTypeDescription
endpoint *string
target_id *string

disconnect_browser Disconnect Browser

Close the active page connection and remove event handlers.

get_connection_status Get Connection Status

Report browser connection and monitoring state.

start_live_inspection Start Live Inspection

Resume bounded event-driven Console and Network collection.

stop_live_inspection Stop Live Inspection

Pause diagnostic collection without disconnecting the browser.

get_live_diagnostics Get Live Diagnostics

Return normalized, deduplicated diagnostics collected for the active page.

ParameterTypeDescription
category

inspect_console Inspect Console

Return captured console warnings, errors, and runtime exceptions.

inspect_network Inspect Network

Return captured HTTP errors and failed or aborted requests.

inspect_performance Inspect Performance

Return observed long tasks, using explicitly labeled CDP tracing only when needed.

propose_fix Propose Fix

Prepare a minimal exact-snippet patch without changing files.

ParameterTypeDescription
expected_sha256 *string
new_text *string
old_text *string
rationale *string
relative_path *string

apply_patch Apply Patch

Apply a reviewed patch only after explicit approval and save a recovery point.

ParameterTypeDescription
approved *boolean
patch_id *string

run_project_checks Run Project Checks

Run the fixed pytest command; roll back the linked patch if checks fail.

ParameterTypeDescription
patch_id

rollback_patch Rollback Patch

Restore a patch recovery point if the file has not changed since application.

ParameterTypeDescription
patch_id *string