
agentphone-ai/agentphone-mcp 是从 https://github.com/agentphone-ai/agentphone-mcp. 导入的 MCP 服务器候选
概览
agentphone-ai/agentphone-mcp 是从 https://github.com/agentphone-ai/agentphone-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
通过模型上下文协议,为AI代理提供真实电话号码、短信和语音通话。
AgentPhone 允许您的 AI 代理通过自然语言在光标、Claude Desktop 或任何兼容 MCP 的客户端中购买电话号码、发送/接收短信并拨打语音电话。
代理是核心概念——每个代理都有自己的电话号码、语音个性、系统提示和webhook。可以把代理看作是拥有自己电话线路的虚拟团队成员。你可以为不同目的(支持、销售、排班)创建代理,并配置他们在通话中的声音和行为。
快速启动
1.获取你的API密钥
在 agentphone.ai 注册,并从 设置创建 API 密钥。
2.通过MCP连接
选项A:远程服务器(推荐)
将MCP客户端指向托管端点——无需安装:
可支持任何支持可流式HTTP传输的MCP客户端(交换机、远程代理平台等)。
选项B:本地服务器(stdio)
本地通过npx运行——支持Cursor、Claude Desktop、Windsurf和Claude代码:
光标: 设置>MCP或~/.cursor/mcp.json
Claude Desktop: '~/Library/Application Support/Claude/claude_desktop_config.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
AgentPhone MCP Server
Give AI agents real phone numbers, SMS, and voice calls via the Model Context Protocol.
AgentPhone lets your AI agent buy phone numbers, send/receive SMS, and place voice calls — all through natural language in Cursor, Claude Desktop, or any MCP-compatible client.
Agents are the core concept — each agent gets its own phone numbers, voice personality, system prompt, and webhook. Think of an agent as a virtual team member with its own phone line. You can create agents for different purposes (support, sales, scheduling) and configure how they sound and behave on calls.
Quick Start
1. Get your API key
Sign up at agentphone.ai and create an API key from Settings.
2. Connect via MCP
Option A: Remote server (recommended)
Point your MCP client at the hosted endpoint — no install needed:
{
"mcpServers": {
"agentphone": {
"type": "streamable-http",
"url": "https://mcp.agentphone.ai/mcp",
"headers": {
"Authorization": "Bearer your_api_key_here"
}
}
}
}
Works with any MCP client that supports Streamable HTTP transport (Switchboard, remote agent platforms, etc.).
Option B: Local server (stdio)
Runs locally via npx — works with Cursor, Claude Desktop, Windsurf, and Claude Code:
Cursor: Settings > MCP or ~/.cursor/mcp.json
Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"agentphone": {
"command": "npx",
"args": ["-y", "agentphone-mcp"],
"env": {
"AGENTPHONE_API_KEY": "your_api_key_here"
}
}
}
}
Option C: Self-hosted HTTP server
Run your own HTTP MCP endpoint:
PORT=3000 npx agentphone-mcp --http
Then connect to http://localhost:3000/mcp and configure your MCP client to send
Authorization: Bearer with each request. A server-side
AGENTPHONE_API_KEY alone does not authorize HTTP callers.
Warning: AGENTPHONE_ALLOW_ANONYMOUS=true opts into using the server’s
AGENTPHONE_API_KEY for requests with no Authorization header, only when OAuth
is off. Anyone who can reach that endpoint can act as the account: only enable
this behind your own authentication. Malformed headers are rejected, and a
caller’s supplied bearer is never replaced by the server key.
What Can It Do?
Once configured, just ask your AI agent things like:
- “Buy me a phone number in the 415 area code”
- “Create a support agent that greets callers and helps with billing”
- “Call +14155551234 and have a conversation about scheduling a dentist appointment”
- “Text +14155551234 saying ‘Your appointment is confirmed for 3pm tomorrow’”
- “Show me my recent calls and transcripts”
- “List the available voices and switch my agent to a different one”
安装
npx -y agentphone-mcp配置
{
"mcpServers": {
"agentphone": {
"type": "streamable-http",
"url": "https://mcp.agentphone.ai/mcp",
"headers": {
"Authorization": "Bearer your_api_key_here"
}
}
}
}