MCP
How to Give Your AI Agent Eyes: Screenshots, Browser Logs, and Reports Through MCP
Help a coding agent investigate the rendered page by connecting screenshots, captured logs, and saved evaluation findings.

Suppose your pricing page opens, but the plan cards are empty.
An agent reading the component might suggest a spacing fix, a loading-state change, or a new fallback. All three could be reasonable improvements. None explains why the prices disappeared.
Now give it a screenshot and a captured request failure from the same review. It has a much better place to start.
That's the useful part of connecting browser evidence to a coding agent. You can move the conversation from what the code appears to do toward what the browser actually showed.
Preveo's MCP tools make several kinds of evidence available. Each answers a different question.
A screenshot tells you what was visible
A capture can show clipped text, unexpected wrapping, a missing image, or a dialog covering the primary action. It's especially useful when the implementation looks reasonable in isolation.
In Preveo, saved captures belong to layers. The agent can use list_layer_views to discover them and get_layer_view to retrieve screenshot or recording URLs.
Retrieving a URL is one step. Opening the image with a suitable tool is another. If your client can't inspect images, it should say so rather than describe a screenshot it hasn't seen.
Keep the page state in mind as well. A screenshot of a loading screen tells you what was visible at capture time. It doesn't establish whether the content appeared a moment later, whether the request failed, or whether the page required a signed-in session.
Those are follow-up questions.
Logs help explain what happened around the capture
For a configured console or network review, saved logs can give the agent another way into the problem.
Returning to the pricing example, imagine the capture includes a failed request for plan data. The next investigation is likely to involve the endpoint, request handling, or preview environment. The card padding can wait.
Treat that as a lead. A failed request might belong to the affected feature, or it might be an unrelated analytics call. The agent should connect the request to the visible symptom and check the relevant code before deciding on a cause.
Preveo supports bounded log retrieval through get_layer_view with includeLogs. If more entries are available, the agent can request the next page. An empty result can mean that no logs were saved for that capture; it should not be presented as proof that the page emitted no errors.
For implementation details, the current collection option is exposed through Use Case discovery. The agent should read that configuration before starting the job.
A macro report adds a focused evaluation
A macro can process captured evidence for a specific purpose and save a report with findings or recommendations.
The agent retrieves that output with get_macro_result. The result includes its status, available report links, and a bounded set of saved recommendations. Full report HTML is excluded from the model's response by default.
A request for captures doesn't automatically require a macro. Ask for a named evaluation when you want one, or save that requirement in the applicable project or folder instructions.
Then read the report in context. A recommendation about visual hierarchy may be useful for a pricing review. It doesn't establish that checkout payments work or that the page meets every accessibility requirement.
Keep the evidence attached to the right run
After several changes, "the latest report" can become an imprecise reference.
Keep the job ID when retrieving macro results so the agent can select the output from the run you're discussing. For captures, inspect the returned run information and preserve the evidence you need before replacing cloud captures with a rerun.
This also matters when comparing conditions. A mobile screenshot from today's build and a desktop screenshot from last week's build may show differences caused by code changes as well as viewport size.
Where metadata is reconstructed from a layer's current configuration, take extra care after editing that configuration. Current labels are not a substitute for a preserved historical baseline.
Ask for an explanation you can follow
Try this request:
Inspect the pricing-page capture and any saved console or network logs from this run. Explain what you directly observed, what you think caused it, and what you'd check next. Link the evidence for each finding.
That gives the agent room to investigate without turning every suspicion into a conclusion.
Captured page text, logs, and report recommendations are evidence to assess. They don't become instructions for the agent merely because a tool returned them.
You can connect the tools through the Preveo MCP guide. Start with one page and one question. A screenshot that explains a real bug is more useful than a long review with nothing you can verify.