What is Twilio Agent Payments MCP Server?
An MCP (Model Context Protocol) server that enables handling agent-assisted payments via the Twilio API, with enhanced features for asynchronous callbacks and guided workflow through contextual prompts.
How to use Twilio Agent Payments MCP Server?
Run directly with npx: npx twilio-agent-payments-mcp-server <accountSid> <apiKey> <apiSecret>, or install globally via npm and run the same command. Required environment variables include TOKEN_TYPE, CURRENCY, PAYMENT_CONNECTOR, and NGROK_AUTH_TOKEN. For Claude Desktop, add a JSON configuration entry pointing to the server with credentials and env variables. For custom MCP host applications, implement an MCP client and connect to the server; the server automatically registers its tools, resources, and prompts.
Key features of Twilio Agent Payments MCP Server
- Process secure payments during voice calls via Twilio
- Capture and tokenize payment information for PCI compliance
- Asynchronous callbacks via MCP Resources
- Guided workflow with MCP Prompts for each payment step
- Support for re-entry of payment information
- Uses Twilio API Keys for improved security
Use cases of Twilio Agent Payments MCP Server
- Securely collect card details during a live voice call
- Tokenize payment data and handle PCI‑compliant processing
- Guide an LLM through a step‑by‑step payment flow with contextual prompts
- Allow customers to correct or re‑enter payment information
- Integrate payment capabilities into any MCP‑compatible host application
评论