Unified MCP Server for Web Security — 39 tools for autonomous pentesting. Combines headless proxy (mitmproxy, 18 tools), browser automation (nodriver CDP, 20 tools), and Code-mode (AI-driven Python sandbox, 1 tool).
Server has 19 tools with mostly complete schemas and descriptions. Naming follows verb_noun convention well (browser_*, manage_*, get_*, search_*, etc.). Descriptions are detailed and context-aware, averaging ~180 chars, within the 10-1024 baseline. However, several critical gaps: (1) execute_security_code lacks output schema documentation; (2) many tools lack explicit error handling guidance; (3) some parameters missing type constraints (e.g., 'level' in browser_get_console accepts free-form string instead of enum); (4) no pagination guidance for get_traffic_summary despite potentially large result sets; (5) tool composition could be tighter, browser_go, browser_back, browser_get_dom, browser_get_text, browser_get_storage, browser_get_console, browser_screenshot all operate on the same resource but lack clear sequencing hints.
Navigate back in browser history (like clicking the Back button).
Close a browser session and terminate the Chrome process.
Read JavaScript console output from the browser. Returns data the PROXY CANNOT SEE.
Extract security-relevant DOM structure from the current page. Returns data the PROXY CANNOT SEE.
Dump browser localStorage and/or sessionStorage contents. Returns data the PROXY CANNOT SEE.
Get the visible text content of a specific DOM element.
Navigate to a URL and wait for the page to load. Returns the page title and any JS dialog messages.
execute_security_code lacks output schema documentation. Tool description does not specify what the script execution returns (stdout, stderr, return value, exception details). LLMs cannot plan downstream actions without knowing the output structure.
browser_get_console 'level' parameter accepts free-form string ('all', 'error', 'warning') but is not declared as an enum. LLMs may hallucinate invalid values like 'debug', 'info', 'trace'. Should use enum constraint.
get_traffic_summary accepts 'limit' and 'offset' for pagination but lacks guidance on total count or next_cursor. LLMs cannot determine if more results exist or how to fetch the next page efficiently. Should return total_count or has_more flag.
No error handling guidance across tools. Descriptions do not explain what happens on failure (e.g., 'If proxy is not running, returns error X. Call manage_proxy(action="start") first.'). LLMs lack recovery paths.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | <=2025-11-25 | v2 |
List all active browser sessions with their status, PID, ports, and uptime.
List all open tabs in a browser session with their tab IDs and URLs.
Launch a new Chrome browser session with anti-bot bypass (nodriver CDP). Call this BEFORE any other browser_* tool.
Take a screenshot of the current page (returns base64-encoded PNG).
Execute arbitrary Python code in an isolated subprocess sandbox with access to browser sessions, proxy traffic, and the SDK.
Extract specific data from a flow's response body using JSONPath, CSS selector, or regex.
Get a paginated list of all captured HTTP flows. REQUIRES: proxy must be running and traffic must exist.
Get full details of a single HTTP flow (request headers, body, response headers, body).
Start or stop the mitmproxy background process. This is the FIRST tool you should call before any proxy/traffic operation.
Check if the mitmproxy process is currently running. Returns status, port, and PID.
Search captured traffic by keyword, domain, HTTP method, or status code.
Limit which domains the proxy records. Call AFTER manage_proxy(action="start").
Tool composition: browser_get_dom, browser_get_text, browser_get_storage, browser_get_console, browser_screenshot all operate on the same page state but lack sequencing hints. Descriptions should clarify: 'Call browser_go first, then any of these tools in any order.'