Let AI access build error logs and preview URL through MCP for auto-debug

Hello,

I’ve started using AI and linking my IDEs with MCP (Model Context Protocol) with several providers including Netlify.

A killer feature would be to let AI access build logs and preview URL so it can help debug failing builds on Netlify. Right now I still have to copy paste error messages from Netlify failing builds to my AI chat

Sample AI workflow

  • Open a ticket on github
  • AI can read ticket and related dependencies via MCP (Github, figma, etc)
  • AI develops the feature (with or without dev assistance)
  • AI opens PR on github, it triggers a netlify build for preview
  • Netlify posts build rpeview information in PR
  • AI can retrieve Netlify references from PR to get Netlify feature preview ID
  • AI can access Netlify build logs to help debug issues of this specific preview ID
  • AI can access and open the Netlify developer preview URL via a browser, and check if the feature was implemented correctly,
  • AI could even take appropriate screenshots of developed feature and its result in feature preview and posting on the github PR

Wouldn’t this be marvelous ?

I’ve shared the request with the team. I don’t know if/when it will be implemented though.