Docs/Integrations/Vercel
Vercel
Miravi checks your Vercel deploys before AI agents read them. Each deploy is read beside your live site, and where a page changed, the facts you track are walked again, so you know before you merge whether ChatGPT, Claude and Gemini still find them.
What it checks
- Production deploys: every one, against the live site.
- Previews: when someone asks, or by themselves if you choose.
- The pages you pick: up to 10. By default, the pages the answers to your tracked facts are on.
The result shows on the deployment in Vercel as the check Miravi checks, and in Miravi under Fixes › Checks.
Connect
A site admin connects Vercel, once per site.
- In Miravi, open Set up › Connections and choose Vercel.
- Press Connect Vercel and approve the install on Vercel.
- Pick the project that serves your site.
- Choose how previews are checked. On request is selected.
- Optionally, change the pages each deploy checks.
How a check works
- When Vercel creates a deployment, Miravi adds the check
Miravi checksto it. Your deploy carries on while Miravi reads. - When the deployment is ready, Miravi reads each picked page from the deployment’s own address and from the live site. A page whose readable text is the same is done, at no cost.
- Each changed page is walked: the tracked facts that page answers are run with ChatGPT, Claude and Gemini’s readers on the deployment’s own bytes, and compared with production.
- Each fact gets a verdict, and the result is written onto the same check in Vercel.
| Verdict | Means |
|---|---|
| Held | Agents find the fact about as often as on production. |
| May be worse | Fewer agents find it, by a margin worth a look. |
| Regression | Far fewer agents find it. The line the deploy dropped comes with it. |
A regression comes with a hand-off for your coding agent: the page, the fact and the line to put back, ready to copy.
Previews
Choose when previews are checked on the Vercel sheet in Set up. You can change it at any time.
| Mode | A preview is checked |
|---|---|
| On request | When someone asks: Check this preview in Miravi, asking Miravi in chat, or check_preview over MCP. |
| Changed pages | By itself, whenever a picked page changed. |
| Pull requests | By itself, when a picked page changed and the preview has an open pull request. |
Previews that run by themselves have two limits:
- 3 previews a site a day, in your site’s time zone. A re-run counts.
- 12 tracked facts a preview, the highest ranked first. The rest wait for Check this preview, which walks them all.
Protected previews
If your previews are behind Vercel Authentication, Miravi makes its own Protection Bypass for Automation on the project when you pick it. It is kept sealed, sent only to that preview’s own vercel.app address, and removed when you disconnect.
If Vercel refuses it, add the project’s bypass secret in Miravi under Set up › Walks, Protected preview.
Re-run
Press Re-run on Miravi checks in Vercel to check that deployment again. One check runs at a time per deployment.
Email on a failed check
A failed check emails the site’s Owner and the members who turned on Email me when a check fails, at most 5 a site a day. Every result stays in Fixes › Checks.
When a preview is not checked
| Says | Why, and what to do |
|---|---|
| Behind Vercel login | Miravi has no bypass for the project. Add the bypass secret in Set up › Walks. |
| Daily cap reached | 3 previews already ran by themselves today. Press Check this preview. |
| Task cap reached | 12 facts were walked. Press Check this preview to walk the rest. |
| Spend rule | Your workspace’s spend rule stopped the walk. |
| Low balance | Not enough credits for the walk. |
Cost
Walks run on your Miravi credits at cost, within your spend rule. Reading and comparing pages costs nothing, so a deploy that changes no picked page is free.
Permissions
| Vercel scope | Access | Used to |
|---|---|---|
| Deployments | Read | Read the deployment a webhook names. |
| Projects | Read | List your projects so you can pick one. |
| Deployment Checks | Read and write | Add Miravi checks to a deployment and write its result. |
| Project Protection Bypass | Read and write | Make and remove Miravi’s own bypass for protected previews. |
| Integration Configuration | Read and write | Remove the install when you disconnect. |
Miravi re-reads every deployment from Vercel’s api with your install’s token, and reads only the linked project’s deployments, from their own address. The token is sealed per site.
Disconnect
On the Vercel sheet in Set up, press Disconnect. Miravi removes its bypass, removes the install on Vercel and forgets the token. Removing the integration in Vercel does the same on Miravi’s side.