Yoink icon

Yoink

Let AI agents see and interact with what you see in Chrome.

Get Started
AI Agent Claude, etc.
stdio
MCP Server localhost
WebSocket
Extension Chrome
content scripts
Web Page any site

How it works

Yoink is a Chrome extension paired with an MCP server that bridges the gap between text-based AI agents and visual browser content. Users pick elements or draw regions in the browser, and the agent retrieves screenshots, DOM data, styles, and accessibility info via MCP tools.

Communication is bidirectional: the agent can request screenshots and element data, and the user can push feedback from the browser.

Agent-initiated

The AI agent requests a screenshot or activates the element picker. You interact with the page, and the result is sent back to the agent.

User-initiated

You pick elements or draw regions using keyboard shortcuts (Alt+Shift+P, Alt+Shift+S) or the right-click menu. Add optional context like "fix this button" and the selection is automatically sent to the agent.

What the agent gets

When you pick an element, the agent receives:

MCP tools

ToolDescription
start_yoinkingBind to the user's active Chrome tab
stop_yoinkingUnbind from the current tab
screenshotCapture a screenshot of the current browser tab
pick_elementUser clicks an element to capture its data
select_regionUser draws a rectangle to capture a screenshot
get_element_infoQuery element data by CSS selector
yoinkFetch pending selections sent from the browser

Setup

1. Install and build

npm install
npm run build

2. Load the Chrome extension

  1. Open chrome://extensions/ in Chrome
  2. Enable Developer mode (top right toggle)
  3. Click Load unpacked and select packages/chrome-extension/dist

3. Configure the MCP server

For Claude Code:

claude mcp add yoink node /path/to/yoink/packages/mcp-server/dist/src/index.js

For Claude Desktop or other MCP clients, add to your config:

{
  "mcpServers": {
    "yoink": {
      "command": "node",
      "args": ["/path/to/yoink/packages/mcp-server/dist/src/index.js"]
    }
  }
}

4. Connect the extension

Read the auth token from $TMPDIR/yoink-auth and paste it into the extension popup. The token regenerates each time the MCP server restarts.

cat $TMPDIR/yoink-auth
# {"port":18321,"token":"abc123..."}

Privacy

✓ No data leaves your machine

Full privacy policy

Requirements