magpipe-mcp-server
MCP server for Magpipe โ manage agents, calls, SMS, contacts, and phone numbers from AI coding tools like Claude Code and Cursor.
Install
npm install -g magpipe-mcp-server
Or run directly with npx:
Setup
1. Get an API key
Go to magpipe.ai/settings โ API tab โ Generate New Key.
Claude Code
Add to ~/.claude.json:
{
"mcpServers": {
"magpipe": {
"command": "npx",
"args": ["-y", "magpipe-mcp-server"],
"env": {
"MAGPIPE_API_KEY": "mgp_your_key_here"
}
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"magpipe": {
"command": "npx",
"args": ["-y", "magpipe-mcp-server"],
"env": {
"MAGPIPE_API_KEY": "mgp_your_key_here"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|
MAGPIPE_API_KEY | Yes | API key starting with mgp_ |
MAGPIPE_API_URL | No | Override API base URL (default: https://api.magpipe.ai/functions/v1) |
Agents
list_agents โ List all agents with optional filters
get_agent โ Get full agent details including assigned phone numbers, custom functions, knowledge sources, and dynamic variables
create_agent โ Create a new agent
update_agent โ Update agent configuration
delete_agent โ Delete an agent
Calls
list_calls โ List call records with filters
get_call โ Get call details, transcript, and summary
initiate_call โ Place an outbound call
terminate_call โ End an active call
get_recording โ Get a signed recording URL
Messages
list_messages โ List SMS messages
get_message โ Get a single message
send_sms โ Send an SMS
Phone Numbers
list_phone_numbers โ List provisioned numbers
search_phone_numbers โ Search available numbers to purchase
provision_phone_number โ Purchase a number
release_phone_number โ Release a number
list_contacts โ List contacts with search and filters
get_contact โ Get contact details
create_contact โ Create a contact
update_contact โ Update a contact
delete_contact โ Delete a contact
Knowledge Base
list_knowledge_sources โ List knowledge sources for an agent
add_knowledge_source โ Add URL-based knowledge
add_knowledge_manual โ Add manual text knowledge
delete_knowledge_source โ Delete a knowledge source
sync_knowledge_source โ Re-crawl a URL source
Voices
list_voices โ List available voices
delete_voice โ Delete a cloned voice
Calendar
get_calendar_slots โ Get available booking slots
create_booking โ Create a booking
cancel_booking โ Cancel a booking
API Keys
manage_api_keys โ Generate, list, revoke, or update API keys
Other
list_models โ List available LLM models
chat_with_agent โ Send a text message to an agent
list_chat_sessions โ List chat sessions
list_custom_functions โ List custom functions
create_custom_function โ Create a custom function
manage_dynamic_variables โ Manage data extraction variables
list_scheduled_actions โ List scheduled actions
Development
cd packages/mcp-server
npm install
npm run build
MAGPIPE_API_KEY=mgp_xxx node dist/index.js
License
MIT