M-Pesa Daraja Agent Kit
Integrate Safaricom M-Pesa Daraja payment workflows and manage transactions using Agent Skills and MCP tools.
M-Pesa Daraja Agent Kit equips AI coding assistants and autonomous agents with the capabilities required to build, test, and operate Safaricom's M-Pesa Daraja API. By combining ready-to-use Agent Skills with a dedicated MCP server, it enables agents to generate robust payment integration code as well as execute operational payment tasks directly from chat. It supports end-to-end payment operations—including STK Push, B2C payouts, C2B simulations, transaction status lookups, and recurring billing—while enforcing strict safeguards like sandbox defaults, transaction idempotency, approval limits, and read-only modes to prevent duplicate charges or accidental live money transfers.