MCP & integrations/GitHub/MCP
mpesa-daraja-skills-and-mcp
by Mr-Macharia·Last observed 2026-10-26
★ 3 stars⑂ 3 forks
M-Pesa Daraja Agent Kit combines reusable agent skills with an MCP server for Safaricom Daraja integrations and operations. Skills guide code generation with tested scripts; MCP tools call Daraja for tasks such as payments, transaction lookups, and reconciliation.
Useful for
- Use the skills to build an STK checkout with a callback, then use the MCP server to send a sandbox payment and check its outcome.
Key features
- Includes skills for major Daraja APIs and helper topics, with scripts for validating requests, building STK passwords, encrypting credentials, and parsing callbacks.
- The MCP server offers tools for STK Push, payouts, transaction status, balance checks, reversals, QR, standing orders, and Bill Manager.
- Money requests use idempotency keys, and the server reports success only after a callback or status query confirms it.
Requirements & limitations
- The setup requires Node.js 22.20 or later for the skills installer and uv for the MCP server; a Daraja developer account and sandbox app provide credentials.
- Requests start in the sandbox; real money movement requires production credentials and explicit configuration.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.