mcp
v0.7.1MCP server for web-remarq - gives AI agents access to annotations via a local file store or Supabase cloud backend
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_annotations
List annotations in the project with optional filters (route, status, viewport, file). Each item carries a `quality` score (clear | ambiguous | unactionable) when an AI pre-flight check ran. In local mode, actionable annotations (pending / in_progress) are also mirrored as ticket files in .remarq/tasks/.
| Parameter | Type | Description |
|---|---|---|
file | string | |
limit | integer | |
route | string | |
status | ||
viewportBucket | integer |
get_annotation
Get full annotation details including source file:line:col, grep search hints, and the AI quality verdict (`qualityCheck`). If qualityCheck.score is "ambiguous" or "unactionable", the comment may need designer clarification before fixing — consider dismissing with a reason instead of guessing.
| Parameter | Type | Description |
|---|---|---|
id * | string |
acknowledge
Mark an annotation as in-progress (pending → in_progress). Atomic: of several concurrent callers exactly one wins; the others get invalid_transition with details.conflict=true - then do not start work, re-read the annotation. Pass operationId (any unique string you keep) so a retry after a lost response is recognised instead of double-counted.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
operationId | string |
claim_fix
Claim a fix for an annotation (→ fixed_unverified). Human verification still required. Atomic with the same operationId retry semantics as acknowledge; invalid_transition means the annotation changed under you - re-read it.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
operationId | string |
dismiss
Dismiss an annotation with an optional reason (terminal state). Atomic with the same operationId retry semantics as acknowledge.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
operationId | string | |
reason | string |
watch_annotations
Wait for pending annotations (long-poll). Returns immediately if pending annotations exist; otherwise blocks until one appears or timeoutSeconds (default 25) elapses, then returns {"annotations": [], "timedOut": true}. Call this in a loop to continuously pick up designer feedback. If your environment can run background subagents (e.g. a Task tool), act as a dispatcher: for each returned annotation call acknowledge first (so it stops being redelivered), hand the fix to a background subagent that will claim_fix when done, and return to watch_annotations immediately instead of fixing inline - new…
| Parameter | Type | Description |
|---|---|---|
timeoutSeconds | integer |