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.elements | Buttons 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 · remove | Write the sequence: presses, swipes, scrolls, follow-the-cursor, with timings and random offsets. |
run.start · run.stop | Run it on a tab, with the Precise engine for games and click tests or Light for ordinary pages. |
steps.locate | What lies under every step's point: the first thing to check when a step does nothing. |
logs.get · page.screenshot | What 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
- The extension connects only to
127.0.0.1. Nothing goes to any server, ours included. - Off until you switch it on. No command is accepted before the pairing code.
- An agent cannot read or change your licence, cannot switch Agent Link on, and cannot run code in the page.
- While an agent is paired every page shows it, and Disconnect ends it at once.
- Agent Link is part of Pro, and free for the first day after installing.