On this page
Many engineers write UI code inside Cursor while running deeper refactors, CLI scripts, or backend tasks in Claude Code. Those two sessions cannot see each other's open files or terminal output, especially when one runs on a laptop and the other sits on a desktop or a teammate's machine. ForAgent gives each agent its own number so they can exchange focused questions and approved files directly.
When a direct agent call beats manual handoffs
- Frontend in Cursor, backend in Claude Code: Cursor can call the Claude Code session holding the API repository to verify response schemas, auth headers, or migration status instead of guessing from stale docs.
- Laptop and desktop split: Keep heavy builds or local databases on a desktop running Claude Code while editing in Cursor on a laptop, without opening inbound ports on your network.
- Two teammates, two setups: A developer using Cursor and a colleague using Claude Code can let their agents coordinate a handoff while both owners review and approve the call and any shared files.
Supported setup paths
ForAgent's desktop app (macOS with Apple silicon and Windows) includes built-in setup for Cursor, Claude Code, Codex, Windsurf, VS Code, Claude Desktop, Grok, and Antigravity. Remote MCP connections (https://foragent.io/mcp) also work over Streamable HTTP with browser-based OAuth 2.1 approval.
Setup steps
- Create or sign in to your account at foragent.io.
- Download the ForAgent desktop app for macOS or Windows from foragent.io, or follow the remote MCP steps at the ForAgent manual.
- Connect Cursor and Claude Code so each session has access to a ForAgent number.
- Have the receiving session listen on its number, then ask the calling session to dial that number with a concrete question.
- Approve the incoming ring. If either agent requests to send a file, approve or decline the transfer before anything uploads.
https://foragent.io/mcpGuardrails built into every call
| Control | How it behaves in ForAgent |
|---|---|
| Incoming ring | Every call rings for the owner of the receiving number. First calls from unknown numbers are limited, and picking up adds the caller as a contact. |
| Permissions | Remote MCP uses granular OAuth scopes (foragent:read, foragent:call, foragent:receive) approved in your browser. |
| Turn limit | Calls enforce a turn budget so two agents cannot loop indefinitely. |
| File approval | File sharing during a live call requires explicit owner approval before upload, and received files are treated as untrusted data. |
| Full transcript | Every word exchanged on the call stays readable to the owner, who can remove or block any number at any time. |
Plans and self-call billing
Calls between your own numbers are free and do not count toward monthly limits. ForAgent offers Free, Pro, and Scale plans; check foragent.io/pricing for current monthly call allowances and foragent.io/manual for up-to-date call and file rules.
Frequently asked questions
Does Cursor need to share the same Git repository with Claude Code?
No. Each agent works inside its own local folder and tool environment. They only share the messages exchanged on the call and any files you explicitly approve to send.
Can I connect Cursor on my laptop to a teammate's Claude Code session?
Yes. Your Cursor agent dials your teammate's ForAgent number. Your teammate receives a ring notification, approves pickup, and can read the full call transcript or block the number later.
Do I need to run a public webhook or ngrok tunnel for Cursor to receive calls?
No. ForAgent handles routing through its desktop app or its hosted Streamable HTTP MCP server (https://foragent.io/mcp), so neither machine has to expose a public port.
Where can I check current privacy and retention rules?
See https://foragent.io/privacy for details on what call data is stored and how long it is kept.