draw2agent
Uses Excalidraw to provide an annotation overlay on web pages and a standalone whiteboard for sketching UI mockups, wireframes, and diagrams that can be sent to the agent.
Click on "Install 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., "@draw2agentdraw a circle around the broken button and fix the styling"
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.
draw2agent āļø
Draw on your website. Your AI agent sees it.
draw2agent is an MCP server that lets you draw annotations directly on top of your local dev page. When you submit, your IDE agent receives a screenshot, structured DOM data, and annotation context to make precise code edits.
š Try it out at: draw2agent.vercel.app
Demo

Related MCP server: Peek
Quick Start
1. Add to your IDE (one-time)
Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"draw2agent": {
"command": "npx",
"args": ["-y", "draw2agent@latest"]
}
}
}2. Use it
Tell your agent:
"Use draw2agent to fix the navbar"
š Agent opens your browser with drawing tools on your page
āļø Draw circles, arrows, text directly on your website
šø Click Submit
š¤ Agent reads the visual context and applies code changes
How It Works
Your Dev Page (proxied)
āāā Your original page content
āāā Excalidraw overlay (transparent, on top)
āāā Draw mode: annotate directly on the page
āāā Select mode: interact with the page normally (Esc)
āāā Submit: screenshot + DOM + annotations ā agentTools
The MCP server exposes the following tools:
Tool | Description |
| Opens your dev page with the drawing overlay |
| Serves the page on your LAN and returns a QR code for drawing from iPad/mobile |
| Opens a standalone Excalidraw whiteboard for freehand sketching |
| Returns screenshot, DOM nodes, and annotations for the current state |
launch_canvas
The core tool ā proxies your localhost dev server and injects an Excalidraw overlay. Draw annotations directly on your running app, then submit to send visual context to your agent. The tool blocks until you submit.
launch_ipad_canvas
Same as launch_canvas, but serves the proxy on your computer's local network (LAN) address. Automatically opens a new browser tab on your computer with a QR code. Scan it from your iPad or phone ā connected to the same Wi-Fi network ā to draw annotations with touch. Perfect for whiteboard-style feedback sessions. No internet tunnel required, so it's fast and reliable.
launch_scratch
Opens a blank Excalidraw whiteboard ā no target URL needed. Sketch UI mockups, wireframes, or diagrams from scratch. Your agent receives the drawing and implements the design.
get_drawing_state
Returns the last captured drawing state (screenshot, DOM nodes, annotations) without launching a new session. Useful for re-fetching context.
Releasing
Publishing to npm is automated via GitHub Actions (.github/workflows/publish.yml).
To cut a release, just bump the version and push to main:
npm version patch # or minor / major ā updates package.json
git push origin mainWhen package.json's version changes on main, the workflow builds the
server + overlay and publishes the new version to npm. You can also trigger it
manually from the Actions tab (e.g. to publish the current version).
One-time setup: npm Trusted Publishing
The workflow authenticates with npm via OIDC ā no NPM_TOKEN secret needed.
Configure the trusted publisher once:
Go to npmjs.com/package/draw2agent ā Settings ā Trusted Publisher.
Choose GitHub Actions and enter:
Organization or user:
zero-abdRepository:
draw2agentWorkflow filename:
publish.yml
Save.
This also satisfies npm's 2FA requirement, so publishing works even with
account 2FA enabled. (Alternative: create an npm Granular Access Token with
publish rights, add it as the NPM_TOKEN repo secret, and set
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} on the publish step instead.)
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceBridges AI coding agents with the browser to provide visual debugging, real-time error capture, screenshot capabilities, DOM inspection, and interactive wireframing through a reverse proxy with injected developer tools.365Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to take screenshots of local web pages and capture user-selected UI elements via a bookmarklet, providing element metadata for precise visual understanding.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables visual annotation on web pages for Claude Code, allowing element selection, comment addition, screenshot capture, and structured UI feedback for code fixes via an MCP server.MIT
- FlicenseNot gradedqualityAmaintenanceEnables visual browser feedback collection directly into Claude Code. Users can point at elements in their browser and send annotated feedback that Claude can act on immediately.1
Related MCP Connectors
Live browser debugging for AI assistants ā DOM, console, network via MCP.
Human feedback for AI agents: share HTML, get a live review link, read anchored notes as markdown.
Give AI coding agents access to your Vynix visual feedback, bug reports, and AI diagnosis.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zero-abd/draw2agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server