Answers
How can my coding agent see browser errors while I test my app locally?
Your agent reads the errors, failed requests and load times of pages you opened on a development host in the last hour.
Updated
Ask your agent "What errors did the browser show while I tested the app locally?": nextanalytica's dev_report returns, for each page seen on a development host, its errors, failed requests, error statuses and load times, newest first, from the last 60 minutes. The agent reads them instead of you copying from the console.
How do you do it?
- Add the tag to your site, or ask your agent "Add nextanalytica to my site": it calls
get_tag, shows you the change and asks before committing. - Connect your agent: in Claude Code,
claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp, then/mcpto sign in. - Open the app locally and click through it.
- Ask what the browser showed.
What can you ask your agent?
- "What errors did the browser show while I tested the app locally?"