Let an AI agent run your auto clicker

Agent Link connects Claude, Cursor or any MCP client to the extension. The agent finds the buttons on the page, builds the click sequence, runs it and reads the log when something misses.

Download the bridge (pac-agent.mjs)

Three steps

Run the bridge.One file, no install: node pac-agent.mjs. Or add it as an MCP server and your client runs it.
Switch on Agent Link.In the extension popup. It shows a pairing code such as K7Q4-ZP2M.
Give the agent the code.It pairs once. A bar on the page shows it is connected, with a Disconnect button.

As an MCP server

Claude Code, Claude Desktop, Cursor and any other MCP client. Tools: pac_status, pac_pair, pac_find_elements, pac_set_steps, pac_run, pac_debug, pac_screenshot, and pac_call for everything else.

claude mcp add pac-agent -- node /path/to/pac-agent.mjs --mcp

{ "mcpServers": { "pac-agent": {
    "command": "node",
    "args": ["/path/to/pac-agent.mjs", "--mcp"] } } }

Or plain HTTP

For any agent that can run curl. Pair once for a token, then call any method.

curl -X POST 127.0.0.1:47823/pair -H "content-type: application/json" \
     -d '{"code":"K7Q4-ZP2M"}'
curl -X POST 127.0.0.1:47823/call -H "content-type: application/json" \
     -H "authorization: Bearer <token>" \
     -d '{"method":"page.elements","params":{"text":"Buy"}}'

What an agent can do

page.elementsButtons and other elements by selector, by text, or every clickable one, each with its box and centre, in the same pixels a step uses.
steps.set · add · update · removeWrite the sequence: presses, swipes, scrolls, follow-the-cursor, with timings and random offsets.
run.start · run.stopRun it on a tab, with the Precise engine for games and click tests or Light for ordinary pages.
steps.locateWhat lies under every step's point: the first thing to check when a step does nothing.
logs.get · page.screenshotWhat happened, errors included, and a picture of the tab.
presets.* · share.* · settings.*Saved sequences, PAC- share codes, and the run settings.

On your computer, and only with your code