
Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
agentphone-ai/agentphone-mcp — это кандидат на сервер MCP, импортированный из https://github.com/agentphone-ai/agentphone-mcp.
Обзор
agentphone-ai/agentphone-mcp — это кандидат на сервер MCP, импортированный из https://github.com/agentphone-ai/agentphone-mcp.
Обзор (машинный перевод)
Дайте агентам ИИ реальные номера телефонов, SMS и голосовые звонки через протокол Model Context Protocol.
AgentPhone позволяет вашему AI-агенту покупать номера телефонов, отправлять/принимать SMS и совершать голосовые звонки — всё это на естественном языке в Cursor, Claude Desktop или любом клиенте, совместимом с MCP.
Агенты — это основная концепция: каждый агент получает свои номера телефона, голосовую личность, системный запрос и вебхук. Представьте агента как виртуального члена команды с собственной телефонной линией. Вы можете создавать агентов для разных целей (поддержка, продажи, планирование) и настраивать их звучание и поведение на звонках.
Быстрый старт
1. Получите свой API-ключ
Зарегистрируйтесь в agentphone.ai и создайте API-ключ из Настройки.
2. Подключитесь через MCP
Вариант A: Удалённый сервер (рекомендуется)
Направьте ваш MCP-клиент на размещённую конечную точку — установка не требуется:
Работает с любым MCP-клиентом, поддерживающим потоковый HTTP-транспорт (коммутатор, удалённые платформы агентов и т.д.).
Вариант B: Локальный сервер (stdio)
Работает локально через npx — работает с Cursor, Claude Desktop, Windsurf и Claude Code:
Курсор: Настройки > MCP или ~/.cursor/mcp.json
Claude Desktop: '~/Library/Application Support/Claude/claude_desktop_config.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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"
}
}
}
}