Connect Your AI Agent
Add phone calls, SMS, and iMessage to your AI agent. One config block and your agent can buy numbers, make calls, read texts, and manage voice agents — all through natural language.
AgentPhone ships an MCP server that works with any MCP-compatible client: Claude Code, Cursor, Windsurf, Claude Desktop, OpenClaw, Hermes, GBrain, and more. Quickstarts for each are below. The config block is the same everywhere — only where you put it changes.
Claude Code
Option A: MCP Server
Then set your API key:
Option B: Skill (slash command)
Then use /agentphone in any conversation:
The MCP server exposes the full set of phone tools your agent can call autonomously. The skill wraps the same tools behind a /agentphone command. Pick whichever style you prefer.
Cursor
Add to your Cursor MCP settings (Settings > MCP or ~/.cursor/mcp.json):
Restart Cursor. In Composer or Chat, try:
“Create an agent and buy it a phone number, then call me at +14155551234 to test it.”
Windsurf
Add the same block to your Windsurf MCP configuration:
Claude Desktop
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
OpenClaw
OpenClaw supports MCP servers natively. Add the block to your OpenClaw MCP configuration:
“Buy me a US number and create a voice agent that answers calls as my personal assistant, then call +14155551234 to test it.”
Hermes
Hermes reads MCP servers from its config.yaml:
Restart Hermes, then:
“Buy a number and create a voice agent, then call +14155551234 and schedule a dentist appointment for Thursday.”
GBrain
GBrain is MCP-native — add AgentPhone alongside your brain so the agent has both context and a phone:
“Create a voice agent called Brain that greets callers warmly, buy it a 415 number, then call me at +14155551234.”
Handling inbound calls & texts
The MCP server is perfect for agent-initiated actions (buying numbers, making calls, sending texts). To have your agent respond to inbound calls and messages in real time, point an AgentPhone webhook at your server — every inbound message and call transcript is delivered as an event. See the Webhooks guide.
What your agent can do
Once configured, your agent has the full AgentPhone toolset:
Real-world examples
Customer research from your IDE
Test your app’s phone integration
Set up a phone agent for your project
Get your API key
Sign up at agentphone.ai and grab your key from Settings. No Twilio account, no server, no ngrok needed.

