draw2agent
draw2agent ✏️
ウェブサイト上に描画できます。AIエージェントがそれを認識します。
draw2agent は、ローカルの開発ページ上に直接注釈を描画できるMCPサーバーです。送信すると、IDEエージェントがスクリーンショット、構造化されたDOMデータ、注釈コンテキストを受け取り、正確なコード編集を行います。
👉 試してみる: draw2agent.vercel.app
デモ

Related MCP server: Peek
クイックスタート
1. IDEに追加(一度だけ)
Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"draw2agent": {
"command": "npx",
"args": ["-y", "draw2agent@latest"]
}
}
}2. 使い方
エージェントに指示します:
"draw2agentを使ってナビバーを修正してください"
🌐 エージェントがあなたのページに描画ツールを備えたブラウザを開きます
✏️ ウェブサイト上に直接、円、矢印、テキストを描画します
📸 送信をクリックします
🤖 エージェントが視覚的なコンテキストを読み取り、コード変更を適用します
仕組み
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 → agentツール
MCPサーバーは以下のツールを提供します:
Tool | Description |
| 描画オーバーレイ付きで開発ページを開きます |
| ページをLAN上で提供し、iPad/モバイルから描画するためのQRコードを返します |
| フリーハンドスケッチ用のスタンドアロンExcalidrawホワイトボードを開きます |
| 現在の状態のスクリーンショット、DOMノード、注釈を返します |
launch_canvas
コアツール — localhost開発サーバーをプロキシし、Excalidrawオーバーレイを注入します。実行中のアプリに直接注釈を描画し、送信すると視覚的なコンテキストをエージェントに送信します。このツールは送信するまでブロックされます。
launch_ipad_canvas
launch_canvas と同じですが、プロキシをコンピュータのローカルネットワーク(LAN)アドレスで提供します。コンピュータ上でQRコード付きの新しいブラウザタブを自動的に開きます。同じWi-Fiネットワークに接続したiPadやスマートフォンからスキャンして、タッチで注釈を描画できます。ホワイトボード形式のフィードバックセッションに最適です。インターネットトンネルは不要なので、高速で信頼性があります。
launch_scratch
空白のExcalidrawホワイトボードを開きます — ターゲットURLは不要です。UIモックアップ、ワイヤーフレーム、図をゼロからスケッチできます。エージェントは描画を受け取り、デザインを実装します。
get_drawing_state
新しいセッションを起動せずに、最後にキャプチャされた描画状態(スクリーンショット、DOMノード、注釈)を返します。コンテキストを再取得するのに便利です。
リリース
npmへの公開はGitHub Actions(.github/workflows/publish.yml)で自動化されています。リリースを切るには、バージョンを上げてmainにプッシュするだけです:
npm version patch # or minor / major — updates package.json
git push origin mainmainでpackage.jsonのversionが変更されると、ワークフローがサーバーとオーバーレイをビルドし、新しいバージョンをnpmに公開します。Actionsタブから手動でトリガーすることもできます(例:現在のバージョンを公開する場合)。
一度だけの設定: npm Trusted Publishing
ワークフローはOIDCを介してnpmで認証されます — NPM_TOKENシークレットは不要です。トラステッドパブリッシャーを一度設定してください:
npmjs.com/package/draw2agent → Settings → Trusted Publisher に移動します。
GitHub Actionsを選択して、以下を入力します:
Organization or user:
zero-abdRepository:
draw2agentWorkflow filename:
publish.yml
保存します。
これによりnpmの2FA要件も満たされるため、アカウントで2FAが有効でも公開が機能します。(代替案:公開権限を持つnpm Granular Access Tokenを作成し、それをNPM_TOKENリポジトリシークレットとして追加し、公開ステップでNODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}を設定します。)
ライセンス
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