---
title: Fix all open comments with your AI · HTMLAnnotate Docs
url: https://htmlannotate.com/docs/mcp/fix-open-comments
description: A walkthrough: let Claude, ChatGPT or Cursor read every open comment on an HTMLAnnotate page, fix it, publish a version and resolve.
---

# Fix all open comments

The most useful thing the MCP server does: your AI reads every open comment and the health check, makes the changes, publishes one new version, and resolves what it fixed.

## The quick way: the ready-made prompt#

The server offers a prompt called `fix_open_comments`. In apps that show MCP prompts (often in a / menu or a prompts list), pick **Fix the open comments on a page** and name the page. Signed in, the page's name is enough. Without an account, paste its manage link.

The prompt tells the AI to:

1. Read the open comments with `get_comments`, and look at screenshots with `get_comment` for any that are hard to place.
2. Read the health check with `get_health_check`.
3. Get the page's current HTML with `get_page_html` if it isn't already in the chat, then change it: every comment it can act on, plus the health check problems.
4. Publish once with `update_page`, as one new version with a short name. It asks before emailing reviewers.
5. Resolve each comment it fixed. For any it couldn't (unclear, needs your decision, or outside the page), reply in a sentence or two saying why, and leave it open.
6. Finish with a summary of what changed and what's left.

## Or just ask#

Every app can do the same from a plain request. The AI starts by fetching the page's code with `get_page_html`, so it edits the exact version your reviewers saw, then works through the comments.

Try askingGet the code of the Fernhill home page and fix the open comments. Use the health check too, publish one new version called Round 2 fixes, and resolve what you fixed. Ask me before emailing anyone.

## What it looks like#

The AI's tool calls, shortenedCopy

```
get_page_html(page: "Fernhill home")
The HTML of Fernhill · Home, version 2 (latest), exactly as it was uploaded.
get_comments(page: "Fernhill home")
  3 open comments · version 2
get_comment(page: "Fernhill home", number: 2)
screenshot: the button wraps on a 390px screen
get_health_check(page: "Fernhill home")
  14 of 17 passed · 2 images without alt text · no meta description
update_page(page: "Fernhill home", html: …, version_name: "Round 2 fixes")
Published version 3 on the same review link
resolve_comment ×2 · reply_to_comment #4

Version 3 is live. I used Maya's headline, stopped the Book a class button wrapping on phones,
added alt text and a meta description. #4 asks for a new photo I don't have, so I replied and left it open.
```

## Live websites and code projects#

`update_page` only works for pages shared as HTML. For a live site or staging link, use an AI that can edit your code (Claude Code, Cursor, Windsurf, VS Code): it reads the comments, changes your source files, and resolves each comment. Then deploy as usual and start a new round from the project's Versions tab, so the client reviews the update with a clean slate.

## Tips for a good result#

- For a page shared as HTML, the AI fetches the code itself with get_page_html. For a site in a code project, have the project open in your code editor.
- Ask the AI to show you its plan before it publishes, for big rounds.
- Free pages keep 3 versions. Batch fixes into one version rather than one per comment.
- Comments marked Team only are for your team. Tell the AI not to reply to those on the client's behalf.

Written by the HTMLAnnotate team · Updated 23 November 2026 · [View as Markdown](https://htmlannotate.com/docs/mcp/fix-open-comments.md)  · Something unclear? [Tell us](https://htmlannotate.com/help#contact)
