
magpipe-mcp-server
MCP server for Magpipe โ manage agents, calls, SMS, contacts, and phone numbers from AI coding tools like Claude Code and Cursor.
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) |
Available Tools
Agents
list_agentsโ List all agents with optional filtersget_agentโ Get full agent details including assigned phone numbers, custom functions, knowledge sources, and dynamic variablescreate_agentโ Create a new agentupdate_agentโ Update agent configurationdelete_agentโ Delete an agent
Calls
list_callsโ List call records with filtersget_callโ Get call details, transcript, and summaryinitiate_callโ Place an outbound callterminate_callโ End an active callget_recordingโ Get a signed recording URL
Messages
list_messagesโ List SMS messagesget_messageโ Get a single messagesend_smsโ Send an SMS
Phone Numbers
list_phone_numbersโ List provisioned numberssearch_phone_numbersโ Search available numbers to purchaseprovision_phone_numberโ Purchase a numberrelease_phone_numberโ Release a number
Contacts
list_contactsโ List contacts with search and filtersget_contactโ Get contact detailscreate_contactโ Create a contactupdate_contactโ Update a contactdelete_contactโ Delete a contact
Knowledge Base
list_knowledge_sourcesโ List knowledge sources for an agentadd_knowledge_sourceโ Add URL-based knowledgeadd_knowledge_manualโ Add manual text knowledgedelete_knowledge_sourceโ Delete a knowledge sourcesync_knowledge_sourceโ Re-crawl a URL source
Voices
list_voicesโ List available voicesdelete_voiceโ Delete a cloned voice
Calendar
get_calendar_slotsโ Get available booking slotscreate_bookingโ Create a bookingcancel_bookingโ Cancel a booking
API Keys
manage_api_keysโ Generate, list, revoke, or update API keys
Other
list_modelsโ List available LLM modelschat_with_agentโ Send a text message to an agentlist_chat_sessionsโ List chat sessionslist_custom_functionsโ List custom functionscreate_custom_functionโ Create a custom functionmanage_dynamic_variablesโ Manage data extraction variableslist_scheduled_actionsโ List scheduled actions
Development
cd packages/mcp-server
npm install
npm run build
MAGPIPE_API_KEY=mgp_xxx node dist/index.jsCopy & paste โ that's it
npm install -g magpipe-mcp-serverBefore it works, you'll need: MAGPIPE_API_KEY
Install
npm install -g magpipe-mcp-serverOr run directly with npx:
npx magpipe-mcp-serverSetup
1. Get an API key
Go to magpipe.ai/settings โ API tab โ Generate New Key.
2. Configure your AI tool
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"
}
}
}
}No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
License
MIT