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.
clear
Clear one of the in-memory buffers: console logs, network requests, network mocks, state changes, or render profile data. App data reset is a separate tool: clear_state.
Parameters
Example
Tips
console— clears captured console messages.network_requests— clears the request/response buffer.network_mocks— removes all mock rules.state_changes— clears state change history.render_profile— stops profiling and clears the report.- To reset app storage or permissions, use
clear_state(see Device & Status).