Console & Network
Tools for inspecting captured console logs and network requests from the app.
list_console_messages
List captured console.log/info/warn/error messages from the app.
Parameters
Example
Tips
- Console messages are buffered in the MCP server. Use
sinceto get only new messages since your last check. - Combine with
clear(target:console) to reset the buffer before a test scenario.
list_network_requests
List captured XHR/fetch requests with request and response details.
Parameters
Example
Tips
-
Captures both
fetch()andXMLHttpRequestcalls. -
Use
urlfilter to narrow down results — it matches as a substring. -
responseBodyis captured as a string. Large responses may be truncated. -
Use
clear(target:network_requests) to empty the buffer before a test scenario.