Image Annotator MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Image Annotator MCP Server annotate screenshot.png: circle the login button and add a callout that says 'Start here'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Image Annotator MCP Server
Professional MCP server for annotating screenshots with markers, arrows, callouts, spotlights, and premium framing. Built for documentation, tutorials, and bug reports — works seamlessly with the Playwright MCP for an end-to-end "capture → annotate → ship" workflow.

Reference: this README (all tools + parameters)
Cookbook: USAGE.md (step-by-step recipes)
Features
12 annotation types — markers, arrows, curved arrows, callouts, rectangles, circles, labels, highlights, blur, connectors, icons, and spotlight
Premium, doc-ready output by default — clean professional font (no handwriting), retina auto-scaling, marker leader lines that never cover the UI, and text halos for legibility over busy screenshots
Spotlight focus — dim the whole screenshot and softly highlight one area
Screenshot framing — rounded browser chrome + drop shadow + matte padding
Output control — PNG / WebP / JPEG, quality, and downscale for crisp, light web images
Theme support — pre-built themes for documentation, tutorials, bug reports, and highlights
7 MCP tools — from one-liners (
highlight_area,add_callout) to full compositions (annotate_screenshot)
Related MCP server: onUI
What's new in 1.2.0 (premium quality)
These defaults make output look like a real product doc out of the box:
Clean font by default — replaced the Comic Sans handwriting default with a professional
system-ui / SF Pro / Segoe UI / Robotostack.handwritingis now opt-in.Retina auto-scale — annotation sizes scale to the image resolution automatically (override with
scale).Non-covering markers — give a marker a
target: [x, y]and it sits in a clear area, drawing a leader line to the element instead of burying it.spotlighttype — placed first, dims everything except a soft-edged focus area.frame— wraps the result in rounded browser chrome with a soft shadow.margin/matte— pad the canvas so edge callouts are never clipped.format/quality/downscale— emit optimized WebP/JPEG and downscale 2x captures.New
frame_screenshottool — frame a raw or already-annotated screenshot.
See CHANGELOG for the full history.
Installation
Requirements
Node.js >= 18
sharp (installed automatically) — handles image compositing and SVG rendering via librsvg
Install dependencies
cd image-annotator-mcp
npm installClaude Code
claude mcp add image-annotator -- node /absolute/path/to/image-annotator-mcp/server.jsClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"image-annotator": {
"command": "node",
"args": ["/absolute/path/to/image-annotator-mcp/server.js"]
}
}
}After updating the server, restart Claude Code / Claude Desktop so the new tool schema is loaded.
Coordinate model (read this first)
All
x/y/from/to/targetvalues are in image pixel space (the screenshot's actual pixels).A retina capture is typically 2x its CSS size — a button at CSS
(505, 313)is at pixel(1010, 626). Useget_image_dimensionsto confirm the real size, or multiply DOM coordinates by the device pixel ratio.Decorative sizes (marker size, stroke width, font size) auto-scale to the image width so they aren't tiny on retina captures. Region sizes (rect/circle/highlight/blur width, height, radius) and coordinates never scale — they describe the screenshot itself. Pass
scale: 1to disable auto-scaling.
MCP Tools
annotate_screenshot
The main composition tool. Apply any number of annotations, optional theme, framing, and output settings.
Param | Type | Default | Description |
| string | — | Absolute path to the input screenshot (required) |
| array | — | Array of annotation objects (required) — see Annotation types |
| string |
| Where to write the result |
| string | — |
|
| number | auto | Annotation size multiplier. Omit to auto-scale from image width; |
| number |
| Padding (px) added around the screenshot so gutter annotations aren't clipped |
| string |
| Background color for the margin area |
| object | — | Premium frame, e.g. |
| string |
|
|
| number |
| Quality (1–100) for webp/jpeg |
| number |
| Resize factor for the final image, e.g. |
get_image_dimensions
Returns { width, height, format }. Use this before annotating to compute coordinates.
Param | Type | Description |
| string | Absolute path to the image (required) |
create_step_guide
Drops numbered markers with labels and connecting lines in one call — ideal for tutorials.
Param | Type | Default | Description |
| string | — | Input screenshot (required) |
| array | — |
|
| boolean |
| Draw dashed connectors between consecutive steps |
| string | — | Optional theme |
| string |
| Output path |
highlight_area
One-liner to ring a region with a shape and optional label.
Param | Type | Default | Description |
| string | — | required |
| string | — |
|
| number | — | Top-left of the region (required) |
| number | — | Width (or diameter for circle) (required) |
| number |
| Height (rect only) |
| string |
| Outline color |
| string | — | Optional text label |
| string |
|
|
| string |
| Output path |
add_callout
A speech-bubble callout pointing at a location.
Param | Type | Default | Description |
| string | — | required |
| number | — | Point the pointer aims at (required) |
| string | — | Callout text ( |
| string |
|
|
| string |
| Border color |
| string |
| Fill color |
| string |
| Output path |
blur_area
Blur a rectangle to hide sensitive data.
Param | Type | Default | Description |
| string | — | required |
| number | — | Region to blur (required) |
| number |
| Blur strength |
| string |
| Output path |
frame_screenshot
Wrap a raw or annotated screenshot in a premium frame.
Param | Type | Default | Description |
| string | — | required |
| boolean |
| Add a browser title bar with traffic-light dots |
| number |
| Padding around the screenshot |
| string |
| Matte color behind the frame |
| number |
| Corner radius |
| boolean |
| Drop shadow |
| string |
|
|
| number |
| Quality 1–100 for webp/jpeg |
| number |
| Resize factor |
| string |
| Output path |
Annotation types
Each entry in annotations[] has a type plus type-specific fields.
Type | Key fields | Notes |
|
| Numbered badge. With |
|
|
|
|
| Bezier arrow; |
|
| Speech bubble; |
|
| Outline box |
|
| Outline ring |
|
| No |
|
| Semi-transparent overlay |
|
| Hide sensitive content |
|
| Dashed line between elements |
|
|
|
|
| Place first. Dims everything but the focus area. |
Frame options
Used by annotate_screenshot's frame object (camelCase) and frame_screenshot's top-level params (snake_case): browserBar/browser_bar, padding, background, radius, shadow.
Themes
documentation (blue), tutorial (green), bugReport (red), highlight (amber). A theme sets default color/size/font for marker, arrow, label, and callout; per-annotation fields still override.
Colors
Named: red, orange, yellow, green, blue, purple, pink, cyan, teal, white, black, gray, lightGray, darkGray, success, warning, error, info, primary, secondary, accent. Any hex value (#1976D2) also works.
Quick examples
Basic annotations
{
"input_path": "/path/to/screenshot.png",
"theme": "documentation",
"annotations": [
{"type": "marker", "number": 1, "target": [1010, 627], "offset": [-80, -110]},
{"type": "callout", "x": 300, "y": 200, "text": "Important!", "pointer": "left", "color": "orange"},
{"type": "rect", "x": 50, "y": 250, "width": 200, "height": 100, "color": "green", "style": "dashed"},
{"type": "icon", "x": 400, "y": 100, "icon": "check", "color": "success"}
]
}Premium: spotlight + frame + optimized output
{
"input_path": "/path/to/screenshot.png",
"theme": "documentation",
"frame": { "browserBar": true, "padding": 90, "background": "#E9EDF2" },
"format": "webp",
"downscale": 0.6,
"annotations": [
{"type": "spotlight", "target": [1010, 627], "width": 1700, "height": 120, "dim": 0.62},
{"type": "marker", "number": 1, "target": [1010, 627], "offset": [-80, -110]},
{"type": "callout", "x": 1010, "y": 430, "text": "Open the Library tab", "pointer": "bottom", "color": "primary"}
]
}More recipes in USAGE.md.
Workflow with Playwright MCP
For pixel-accurate positions, drive Playwright to capture and measure, then annotate.
1. Navigate & screenshot — browser_navigate → browser_take_screenshot
2. Measure the element with browser_evaluate:
() => {
const el = document.querySelector('[role="tab"]');
const r = el.getBoundingClientRect();
return { x: r.x + r.width / 2, y: r.y + r.height / 2, dpr: window.devicePixelRatio };
}3. Convert to image pixels — multiply by dpr (usually 2 on retina): target = [x * dpr, y * dpr].
4. Annotate with annotate_screenshot, passing the measured target.
5. Ship — upload the result (e.g. Basecamp comment_with_file, or into your docs repo).
CLI usage
The bundled CLI covers basic annotation (full options like frame/margin/format are MCP-only):
# Annotate
node annotate.js input.png output.png --annotations '[{"type":"marker","x":100,"y":100,"number":1}]' --theme documentation
# Show all annotation types and options
node annotate.js --helppackage.json also exposes bins: image-annotator (the MCP server) and annotate (the CLI).
Changelog
1.2.0
Add
spotlightannotation type (dim + soft focus hole)Add premium framing (
frameoption +frame_screenshottool): rounded corners, drop shadow, matte padding, optional browser barAdd output control:
format(png/webp/jpeg),quality,downscale
1.1.0
Replace Comic Sans handwriting default with a clean professional font stack (handwriting now opt-in)
Add marker
target/offset/leaderso badges point to the UI instead of covering itAuto-scale decorative sizes to image resolution (retina-aware)
Add white text halo for legibility; add
margin/mattecanvas expansion to prevent edge clipping
1.0.0
Initial release: markers, arrows, callouts, shapes, labels, highlights, blur, connectors, icons, themes
License
MIT License — see LICENSE.
Author
Varun Dubey varun@wbcomdesigns.com · github.com/vapvarun/image-annotator-mcp
Available Tools
7 toolsadd_calloutC
Add a callout (speech bubble) pointing to a specific location.
Inputs: x (required), y (required), text (required), input_path (required), +4 more.
annotate_screenshotA
Add professional annotations to a screenshot image.
Annotation types available: • marker - Numbered circles (1, 2, 3...) with gradient and shadow • arrow - Straight arrows with customizable heads • curved-arrow - Smooth curved arrows • callout - Text boxes with pointers (speech bubbles) • rect - Rectangle highlights • circle - Circle highlights • label - Text labels with optional backgrounds • highlight - Semi-transparent overlays • blur - Blur sensitive content • connector - Dashed lines between elements • icon - Icon badges (check, x, warning, info, question) • spotlight - Dim the whole screenshot and softly highlight one area (place FIRST)
Themes: documentation, tutorial, bugReport, highlight
Colors: red, orange, yellow, green, blue, purple, pink, cyan, teal, white, black, gray, lightGray, darkGray, success, warning, error, info, primary, secondary, accent
PREMIUM TIPS for clean docs: • Markers auto-size to the screenshot resolution (retina-aware). Pass "scale" to override. • To avoid covering the UI, give a marker a "target": [x,y] of the element and let it sit in a clear area — it draws a leader line to the target automatically. • Set "margin" (e.g. 60) to pad the canvas so edge callouts/labels are never clipped. • Add a "spotlight" annotation FIRST to dim everything but the focus area. • Set "frame": { "browserBar": true } for a rounded browser chrome + drop shadow. • "format": "webp" + "downscale": 0.6 give crisp, light images for docs sites. • Text now uses a clean professional font by default (no handwriting).
Inputs: input_path (required), annotations (required), frame, matte, +7 more.
blur_areaC
Blur a rectangular area to hide sensitive information.
Inputs: x (required), y (required), width (required), height (required), +3 more.
create_step_guideB
Create a numbered step-by-step guide on a screenshot.
Automatically places numbered markers with labels and connecting arrows. Perfect for tutorials and documentation.
Inputs: steps (required), input_path (required), theme, output_path, +1 more.
frame_screenshotA
Wrap a screenshot in a premium frame for docs: rounded corners, soft drop shadow, padding on a matte background, and an optional browser title bar with traffic-light dots. Use on a raw or already-annotated screenshot. Supports webp/jpeg output and downscale.
Inputs: input_path (required), format, radius, shadow, +6 more.
get_image_dimensionsA
Get width, height, and format of an image. Essential for calculating annotation coordinates.
Inputs: image_path (required).
highlight_areaC
Quickly highlight a specific area with a shape and optional label.
Inputs: x (required), y (required), shape (required), width (required), +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
annotate_screenshot is a general tool that already supports callout, blur, rect/circle highlight, so add_callout, blur_area, and highlight_area are redundant shortcuts whose boundary versus the parent tool is fuzzy. The descriptions make each shortcut's narrow purpose readable, but an agent must decide between 'use the general tool' and 'use the specialized wrapper' with no stated rule for when one is preferred.
All seven names are snake_case verb_noun (annotate_screenshot, get_image_dimensions, create_step_guide, highlight_area, add_callout, blur_area, frame_screenshot). The convention is uniform and each name reads clearly against its purpose.
Seven tools is a well-scoped surface for an image annotation server. The count is slightly inflated by the three convenience wrappers that duplicate capability already inside annotate_screenshot, but nothing feels like padding at a large scale.
The lifecycle is covered: inspect dimensions, annotate (single and step-guide), highlight, callout, redact, and frame/export with format and downscale options. Minor gaps exist around cropping/resizing or listing available themes/annotation presets, but agents can work around these.
Maintenance
Related MCP Connectors
Turn screen recordings into step-by-step guides, SOPs, tutorials and user docs with screenshots.
Screenshot any website as PNG, JPEG, WebP, PDF or scrolling MP4/GIF video, with public file links.
Screenshot any URL, HTML or Markdown in a real browser, and read web pages as Markdown.
Structured visual plans and PR recaps with diagrams, prototypes, annotations, and sharing
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables capturing screenshots and annotating images with boxes, arrows, text, highlights, and other shapes, plus editing features like blur, crop, and resize with flexible export options.425MIT
- AlicenseNot gradedqualityDmaintenanceAnnotate elements, draw regions, and ship cleaner UI faster.108GPL 3.0
- AlicenseNot gradedqualityFmaintenanceEnables taking screenshots of the entire desktop or specific windows, with automatic clipboard integration and support for Windows, macOS, and Linux.1MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to capture web pages, windows or screenshots and annotate them with numbered steps, boxes, arrows, labels, magnifiers, keycaps and solid redaction, returning JSON results plus a small preview image so the model can verify its work before sharing.1676 PyPI10AGPL 3.0