AIエージェントが、リアルタイムのコラボレーション・フィードバックループを通じて、ウェブページの注釈の受信、確認、修正、および解決を行えるようにします。
別名 thevrus/MarkLayer, marklayer-mcp
- スター
- 52
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年11月10日
- ライセンス
- Apache-2.0
MarkLayer MCPとは
MarkLayerはMCPサーバーです。 AIエージェントが、リアルタイムのコラボレーション・フィードバックループを通じて、ウェブページの注釈の受信、確認、修正、および解決を行えるようにします。.
プロジェクトのREADMEから生成された概要
MarkLayer MCP server について
MarkLayerは、AIエージェントが直接対話できるウェブフィードバック用のコラボレーション・インターフェースを提供します。ユーザーは、ローカルの開発サーバーを含むあらゆるライブウェブページに対して、描画、ハイライト、コメントを行い、そのリンクをコラボレーターと共有できます。このリンクはリアルタイムのレビューボードとして機能し、人間とAIエージェントが構造化された注釈キューを通じて協力作業を行います。
開発者は、共有リンクに /mcp を追加するか、npx を介して marklayer-mcp パッケージをローカルにインストールすることで、Model Context Protocol を使用してリモート HTTP トランスポート経由で AI エージェントを接続できます。この MCP server により、エージェントはタスクの確認、修正、解決といった特定のアクションを実行できます。また、エージェントがどの要素に注意が必要かを正確に理解できるよう、CSSセレクターや計算済みスタイルなどの技術的なコンテキストを markdown 形式で提供します。
このツールは、視覚的なフィードバックと自動化されたコード修正のギャップを埋める必要があるQAテスター、デザイナー、開発者向けに設計されています。人間のレビュアーにはアカウントや拡張機能は不要で、WebSockets によるリアルタイムの更新をサポートしています。
できること
- 1UIバグ修正の自動化AIエージェントがウェブページの注釈リストを監視し、確認、修正、解決を自動的に行うことができます。
- 2リアルタイムのデザインレビューチームは共有ボードを使用して、カーソルを表示しながらライブサイト上にアイデアをスケッチしたり、詳細をハイライトしたりできます。
- 3自動ページ監査の実行エージェントがページのテキストやコントロールを読み取り、具体的なコピーの編集を提案したり、独自のコメントを残したりできます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
MarkLayer MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにMarkLayer MCPをインストール
$ claude mcp add marklayer -- npx -y marklayer-mcpCursorにMarkLayer MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"marklayer": {
"command": "npx",
"args": [
"-y",
"marklayer-mcp"
]
}
}
}VS CodeにMarkLayer MCPをインストール
.vscode/mcp.json
{
"servers": {
"marklayer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"marklayer-mcp"
]
}
}
}VS Code CLIにMarkLayer MCPをインストール
$ code --add-mcp '{"name":"marklayer","type":"stdio","command":"npx","args":["-y","marklayer-mcp"]}'Claude DesktopにMarkLayer MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"marklayer": {
"command": "npx",
"args": [
"-y",
"marklayer-mcp"
]
}
}
}CodexにMarkLayer MCPをインストール
$ codex mcp add marklayer -- npx -y marklayer-mcpCodex config.tomlにMarkLayer MCPをインストール
~/.codex/config.toml
[mcp_servers.marklayer] command = "npx" args = ["-y", "marklayer-mcp"]
Gemini CLIにMarkLayer MCPをインストール
$ gemini mcp add -s user marklayer npx -- -y marklayer-mcpGemini settings.jsonにMarkLayer MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"marklayer": {
"command": "npx",
"args": [
"-y",
"marklayer-mcp"
]
}
}
}自動チェック
実行日 2026年11月13日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない合格
- リモートエンドポイントがHTTPSを使用未チェック
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージおよびその依存関係に重大な勧告なし未チェック
README
GitHubで見るOne URL. A shared board. A faster decision.
MarkLayer turns any webpage into a collaborative review surface. Instead of passing screenshots back and forth, send a link. Teammates or clients can open the original page in their own browser, leave feedback where it belongs, and see changes land live. So can an AI agent: each comment arrives with the exact element it refers to already attached.
- For AI-assisted work: give an agent the share link over MCP and it works the annotations as a live queue: acknowledge, fix, resolve. Nothing to install. Or inspect an element yourself for a stable selector and an AI-ready markdown snapshot.
- For client feedback: let clients point to exactly what they mean, without an account or extension.
- For design review: sketch ideas, highlight details, and keep the conversation attached to the page.
- For QA: pin reproducible issues to the actual UI, then share a clean link with the team.
How it works
- Open a page: paste any public URL at marklayer.app, or use the Chrome extension on the page you are already viewing — including a page on your own
localhostdev server, which never has to be reachable from the internet. - Make the feedback visible: draw, highlight text, measure space, pin a threaded comment, or inspect an element.
- Share one link: collaborators join the same board and see cursors, marks, replies, and calls in real time. Point an AI agent at the same link over MCP instead, and the thread becomes its work queue.
No sign-up. No trial clock. No client install.
What you can do
| Send an agent to work the page | Every share link is also a remote MCP server, so an AI agent can watch annotations and acknowledge, fix, and resolve them live, or review the page and leave notes of its own. |
| Annotate freely | Pen, highlighter, eraser, shapes, arrows, text, and text-selection highlights. |
| Keep feedback in context | Pin threaded comments to the page, reply inline, and track status. |
| Review live | Real-time cursors, drawings, and comments via WebSocket, plus peer-to-peer voice and video chat. |
| Hand off agent-ready context | Inspect an element for a stable selector, computed styles, parent layout, viewport details, and framework component info, packaged as markdown built for a coding agent's prompt. |
| Measure the UI | Check element dimensions and edge-to-edge gaps between two elements. |
| Share or export | Create shareable links with preview cards, or export annotations to PNG. |
| Make it yours | Reorder toolbar tools; drafts persist locally and restore when you return. |
Built for AI agents
Every annotation is part of a structured queue: an agent can read it, act on it, and report back, the same way a human would.
Connect over MCP, with nothing installed. Every share link is also a remote MCP server. Add /mcp to it:
claude mcp add --transport http marklayer https://marklayer.app/s/<id>/mcp
Any client that accepts a remote (Streamable HTTP) server URL takes the same address. Add ?agent=cursor, or any name, so the people in the room can see who is doing the work. The share panel on every link shows the command with the id filled in.
If a client only runs local servers, marklayer-mcp has the same tools as a stdio package, installed once for every room:
claude mcp add marklayer -- npx -y marklayer-mcp
Then just ask: "Watch my MarkLayer annotations. For each one, acknowledge it, make the fix, then resolve it with a summary." The agent calls marklayer_watch_annotations in a loop, and the human watches every status change land live. It can go first, too: read_page hands it the page's text and controls with their selectors, so an agent asked to review a page leaves its own comments and suggests exact copy edits as diffs. The full toolset is documented in apps/mcp.
Every mark carries the context an agent needs. Inspecting an element captures its CSS selector, computed styles, parent layout, and framework component info as a markdown snapshot, so a comment arrives with the exact node attached instead of a vague description.
Or from inside the browser. On a browser agent with WebMCP support, the same list, acknowledge, resolve, and reply actions are exposed straight from the page via document.modelContext. Nothing to configure.
Agents can open their own boards, too. The share id is the access token, so minting a room is one unauthenticated POST, handy for seeding a review per URL ahead of time:
curl -X POST https://marklayer.app/api/$ID \
-H 'Content-Type: application/json' \
-d '{"ops":[],"url":"https://example.com","width":1440}'
Discoverable machine-first. /llms.txt, /llms-full.txt, /.well-known/api-catalog, an MCP server card, an agent skill, and a full OpenAPI spec describe the whole surface for an agent that's never seen MarkLayer before.
Built to respect the reviewer's time and privacy
- No accounts or tracking: start reviewing immediately.
- Links expire thoughtfully: shared boards expire 90 days after their last view.
- Open source and self-hostable: MarkLayer is released under Apache-2.0, so your workflow is not tied to a pricing change.
Want the non-technical version? Read How MarkLayer works.
Self-hosting & development
git clone https://github.com/thevrus/MarkLayer.git
cd MarkLayer
bun install
bun run dev
For the Chrome extension in development:
- Build or run the extension app.
- Open chrome://extensions/ and turn on Developer mode.
- Choose Load unpacked and select apps/extension/.output/chrome-mv3-dev.
Repository layout
├── apps/extension/ Chrome extension (WXT + Preact)
├── apps/worker/ Cloudflare Worker, API, real-time rooms, proxy, OG generator
├── apps/site/ Static marketing site (Astro)
├── apps/mcp/ MCP server for AI agents (published as marklayer-mcp)
├── packages/types/ Shared TypeScript types
└── packages/agent-tools/ Agent tool contract shared by the MCP server
Stack
| Area | Technologies |
|---|---|
| Frontend | Preact, Signals, Tailwind CSS, Vite |
| Extension | WXT, Chrome APIs |
| Backend | Cloudflare Workers, Hono, Durable Objects |
| Storage | D1 (SQLite), R2 |
| Real-time | WebSockets, WebRTC |
| Agent integration | MCP (remote at every share link, plus a stdio package), WebMCP, OpenAPI |
Scripts
| Command | What it does |
|---|---|
| bun run dev | Run the workspace in development mode |
| bun run build | Build all apps |
| bun run check | Type-check the workspace |
| bun run lint | Lint and format-check with Biome |
| bun run lint:fix | Apply lint and formatting fixes |
| cd apps/worker && bun run deploy | Deploy the Worker to Cloudflare |
| cd apps/mcp && bun run build | Build the MCP server (marklayer-mcp) to dist/cli.js |
| cd apps/site && bun run indexnow:submit | Ping IndexNow (Bing and friends) after a deploy that changed pages |
Contributing
Found a bug or have an idea? Open an issue. Contributions are welcome.
License
Apache License 2.0 © Dean Rusin
MarkLayer MCPのよくある質問
MarkLayer MCPをClaude Codeに追加するには
ターミナルでclaude mcp add marklayer -- npx -y marklayer-mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
MarkLayer MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
MarkLayerを使用するためにアカウントは必要ですか?
いいえ、MarkLayerはボードのレビューや共有を開始するために、サインアップやアカウント作成を必要としません。
ローカルの開発サーバーでMarkLayerを使用できますか?
はい、Chrome拡張機能を使用すれば、インターネットからアクセス可能である必要はなく、自身のlocalhost開発サーバー上のページに注釈を付けることができます。
共有したボードは時間の経過とともにどうなりますか?
共有されたボードは永続的なものではなく、最後に閲覧されてから90日が経過すると期限切れとなります。