DM
Daraja MCP
repo →integrate M-Pesa, Airtel Money, and East African mobile payments into AI agents
stdio· API key· uv
> install
uvx daraja-mcpDaraja MCP connects AI agents and LLM-based applications to Safaricom's Daraja API, the gateway to M-Pesa mobile money services across Kenya and East Africa. Developers building commerce agents, checkout bots, or automated reconciliation workflows can invoke STK Push, C2B, B2C, and transaction status calls through the Model Context Protocol. The target buyer is a CTO or engineering lead at an African ecommerce or fintech operator already running M-Pesa rails.
> what it does
- Exposes Daraja endpoints as MCP tools for LLM agents
- Supports STK Push, C2B, B2C, and transaction queries
- Handles OAuth token lifecycle for Safaricom sandbox and production
- Lets AI agents trigger M-Pesa payments inside chat workflows
- Open-source implementation hosted on GitHub for self-deployment
> also under
> alternatives to daraja mcp
by surface + editorial> daraja mcp pairs well with
GorgiasHandle post-payment support tickets while Daraja MCP triggers refunds or status checks via agent.paid
Tidio ‑ Live Chat & AI ChatbotChat widget captures intent; Daraja MCP completes STK Push checkout inside the conversation.freemium
eDesk ‑ AI, Helpdesk & ChatSupport agents resolve payment disputes using reconciliation data pulled through Daraja MCP calls.paid