Cursor
Applies to AgentLink 0.4.8. The settings come from Cursor's documentation. We have not yet tried this in the app itself.
This page sets up AgentLink in Cursor, as its own ID next to your other AI apps. You need Node.js 22.14 or newer (check with node --version) and Cursor.
1. Install it
Run this in your own terminal. It shows the exact change to Cursor's settings file and asks y/N. Nothing is written before you confirm:
npx -y @4thtech-io/agentlink@latest init --agent cursor --harness cursorCheck that the package name is exactly @4thtech-io/agentlink, so you do not install a look-alike. AgentLink adds one entry named agentlink to ~/.cursor/mcp.json, and keeps a backup of your old file. Restart Cursor afterwards.
2. Protect your approvals
If this is your first AgentLink ID on this computer, init run in a terminal you opened opens the setup page in your browser (0.3.0); or run npx -y @4thtech-io/agentlink@latest owner init in that terminal. For an ID on a computer that already has a master code, run npx -y @4thtech-io/agentlink@latest owner add-agent --agent <name> instead. Both are on Protect your approvals; never through your AI.
3. Check it works
Ask Cursor: "What's my AgentLink status?" If not, run npx -y @4thtech-io/agentlink@latest doctor in your own terminal.
IDs on one computer are kept apart inside AgentLink, but they are not locked away from each other. See Protect your approvals.
Next: Pair with someone
Last updated
