magpipe-mcp-server
v0.1.5
Published
MCP server for Magpipe — manage agents, calls, SMS, contacts, and phone numbers from AI coding tools
Readme
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-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"
}
}
}
}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.jsLicense
MIT
