Stop describing the third button on the right. Circle it.
Draw on your website, and your coding agent builds it. With PageInk you circle a button and write "blue" beside it, or cross out a section, right on your page. Your coding agent reads the marks, with the page elements each one points at, changes your code, reloads the page and clears the marks.
It works through pageink-mcp, a small MCP server that your coding agent starts on your computer. It was tried with Claude Code. Other tools that can start a local stdio MCP server should work, but they have not been tried.
What you need
- Node.js 22.12 or later on the 22 line, Node 24, or Node 26 or later.
- The PageInk source code, cloned.
pageink-mcpis not on npm yet, and the store versions of the extension do not have the agent link. - A coding agent that can start a local MCP server.
- Your site, running on your computer, for example on
localhost.
How do I set it up?
- In your clone, run
corepack enable, thencorepack pnpm install. - Install the browser it uses:
corepack pnpm exec playwright install chromium. - Build the agent build of the extension:
corepack pnpm --filter pageink-extension build:agent. - Build the server:
corepack pnpm --filter pageink-mcp build. - Add it to your agent. In Claude Code:
claude mcp add --transport stdio pageink -- node /path/to/pageink/packages/mcp/dist/cli.js, with the path of your clone. The full guide has the settings for Codex CLI, Cursor, VS Code and Gemini CLI.
How do I use it?
- Ask your agent to open your page in PageInk, for example "Open localhost:5173 in PageInk". A browser window opens with your page.
- Draw on the page in that window. Press Alt+Shift+D to turn on Draw, or hold Alt and drag with the mouse. A pen draws with no switch.
- Tell the agent "Do what I drew". It reads your marks and a picture of the page with a number next to each mark.
- The agent changes your code, reloads the page, and clears the marks it handled. Undo on the bar brings them back.
What do the marks mean?
The agent gets the name of each shape, the elements it points at and a picture, and it decides what to do. It can ask you when a mark is unclear. The brief tells it what each shape usually means:
- A ring, or a box round one element: this element.
- A frame round empty space or several blocks: add a new region here.
- A line through words, a cross or a scribble: remove.
- A line under words: emphasise or change this text.
- An arrow: move this there, or point at something.
- Handwriting: your words. PageInk does not read handwriting itself. The agent's model reads it from a picture of your ink alone.
A word written next to a shape belongs to it, so a ring and "blue" are one request. Leave a short pause between the shape and the word, and write in clear space, not over the page's text.
What can the agent see?
Only the page open in the window that pageink-mcp starts, and only the marks made or changed there since the agent link started, or the marks you selected. The window has its own new profile, so your everyday browser, its tabs and its notes are not in it. When the link is off, the agent reads no marks and no pictures, but it still learns the address and title of the page it opens.
By default pageink-mcp opens only pages on this computer, such as localhost, and no local files. You can allow more in its settings: --allow-remote for pages on other hosts, and --allow-files <folder> for files in one folder. A page in that folder can show other local files, and they then appear in its pictures, so allow only folders whose pages you trust. Allowing other hosts lets text from any site reach your agent, and lets the agent load any address in that window, so use it only when you need it.
Your marks are your instructions. Text from the page is data for the agent, not instructions, and every brief says so. A page cannot add marks, because PageInk draws only from real input.
The agent chip on the bar says "Agent link on since" and a time. Click it to turn the link off, or to start fresh. pageink-mcp talks to your agent over stdio and opens no network port. Your agent may send what it reads to its AI provider, as it does with anything else you show it. PageInk itself sends nothing anywhere, unless you connect a cloud folder yourself in its settings.
Can I use it with a chat instead?
Yes, with Copy for agent in the bar's More menu. It puts a picture of the visible page with your ink, and a text brief of your marks, on your clipboard. Paste both into a chat. It is in version 0.2.0. Which chat sites take the picture and the text in one paste has not been tested.
What has been tested?
Tried with Claude Code 2.1.322 on 26 November 2026, on the demo page that comes with the source. A script drew the marks with pen input, and Claude Code got only a short instruction: wait for my ink, change the files to match, reload, and clear the marks. It made the right change in three trials out of three: a ring round a button with "blue" written next to it and a crossed out section; a box drawn in a gap with "FAQ" in it and an underlined heading with "bigger" next to it; and an arrow from one card to another and a struck out paragraph.
The trials also showed the limits. The ink says where and roughly what, and the agent chooses the details, such as the shade of blue. An arrow can mean "move" or "swap", and the agent picks one and says so. The agent may change a little more than you drew, such as a menu link to a section it removed. It reads your marks once you stop drawing for a few seconds, so after a long pause in the middle, ask it to read again.
The automated tests run the whole loop with a script that plays the agent: draw, read the marks, change the page, reload, clear the marks, and bring them back with Undo. Codex CLI, Cursor, VS Code and Gemini CLI have not been tried. Tools that can start a local stdio MCP server should work, but only Claude Code has been tried.
What it cannot do
- It draws only in the Chromium window that
pageink-mcpstarts, not in your own browser profile. - It reads the top page only, not ink drawn inside a frame from another site.
- On a page drawn on one canvas, such as some design and whiteboard apps, there are no page elements to point at. The agent learns only where on the canvas you drew.
- The main picture shows the visible part of the page. Marks outside it come with a picture of the page round each of them, up to four. A picture shows whatever the page shows, including frames and images it embeds from other sites.
The full guide on GitHub has every setting, the limits and the error messages with what to do.
Get PageInk free from Chrome Web Store, Microsoft Edge Add-ons, Firefox Add-ons or App Store, for Safari on iPad and Mac.
Applies to PageInk 0.2.2. Last checked 26 November 2026.