Cursor + AgentLine
Give your Cursor agent its own phone number
Cursor already edits the repo. Add AgentLine and it can provision a number, place a call, and read the transcript from the same session that writes your app.
One skill file
Point Cursor at https://agentline.cloud/skill.md or add the MCP server in ~/.cursor/mcp.json. After AGENTLINE_API_KEY is set, 'call this number' is a normal tool use.
Get yourself a phone number and call me. Follow https://agentline.cloud/skill.mdWhy Cursor needs its own number
MCP or skill, your choice
Use the skill file, or https://api.agentline.cloud/mcp with a bearer header. Same API underneath.
Calls from the repo you are already in
Cursor can create the agent, buy a number, and dial as part of the same session that ships the feature.
Cloud agents included
The same skill works in local Cursor and in Cursor cloud agents. The number follows the agent, not the laptop.
Prompt
Paste this to your Cursor agent. It tells the agent how to use its number.
Get yourself a phone number and call me. Follow https://agentline.cloud/skill.mdSet up Cursor
How the skill and the service land on this runtime.
1. Add the MCP server
Add this to ~/.cursor/mcp.json (or Settings → MCP), then restart Cursor.
{
"mcpServers": {
"agentline": {
"command": "npx",
"args": ["-y", "mcp-remote@latest", "https://api.agentline.cloud/mcp", "--header", "Authorization: Bearer $AGENTLINE_API_KEY"]
}
}
}2. Install the relay service
For live inbound turns inside Cursor terminal sessions. Cursor has no built-in harness, so --handler must be a shell command that reads a caller prompt on stdin and prints the reply — without it the relay installs but cannot answer calls.
python -c "import urllib.request; urllib.request.urlretrieve('https://api.agentline.cloud/static/agentline_relay.py','agentline_relay.py')"
python agentline_relay.py install --agent-id agt_xxx --runtime custom --handler "YOUR_HANDLER_COMMAND"