AgentEyesAgentEyes

MCP Tools

All 11 tools your agent gets when connected to agent-eyes.

When your agent connects to the agent-eyes MCP server, it gets access to these tools. No configuration needed — they all work out of the box.

get_console_logs

Capture log, warn, error, debug, and info entries with arguments and stack traces.

ParameterTypeDescription
levelstring?Filter by log level
limitnumber?Max entries to return (most recent first)

get_network_requests

Inspect fetch and XHR requests with method, URL, status, headers, request/response bodies, and timing.

ParameterTypeDescription
methodstring?Filter by HTTP method (GET, POST, etc.)
status_minnumber?Minimum status code
status_maxnumber?Maximum status code
url_containsstring?Filter URLs containing this string
limitnumber?Max entries to return

get_errors

Runtime errors and unhandled promise rejections.

ParameterTypeDescription
limitnumber?Max entries to return

get_dom_snapshot

Returns the latest simplified DOM snapshot with important attributes like id, class, role, aria-label, and data-testid.

No parameters.

get_performance_metrics

Core Web Vitals (FCP, LCP), load timing, and memory usage.

No parameters.

get_react_components

Component render information including names, props, and render counts.

ParameterTypeDescription
namestring?Filter by component name
limitnumber?Max entries to return

get_snapshot

Everything at once — full application state snapshot including logs, network, errors, DOM, performance, and React components.

No parameters. This is the most useful tool for getting a complete picture.

get_failed_requests

Shortcut to get all failed network requests (status >= 400 or network errors).

No parameters.

take_screenshot

Capture a visual screenshot of the running application. Returns a base64-encoded PNG image.

ParameterTypeDescription
selectorstring?CSS selector to capture a specific element
qualitynumber?Image quality 0-1 (default: 0.8)
maxWidthnumber?Max width in pixels (default: 1280)

get_status

Check connection status — how many browsers are connected and how many events are buffered.

No parameters.

clear_events

Clear all captured events from the buffer.

No parameters.

On this page