A Model Context Protocol (MCP) server that integrates Safaricom's M-PESA Daraja API with Claude, enabling natural language payment processing and real-time transaction notifications.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.DARAJA_CONSUMER_KEY— / DARAJA_CONSUMER_SECRET OAuth (all APIs)DARAJA_CONSUMER_SECRET— DARAJA_CONSUMER_KEY / OAuth (all APIs)DARAJA_SHORTCODE— / DARAJA_PASSKEY STK PushDARAJA_PASSKEY— DARAJA_SHORTCODE / STK PushDARAJA_ENV— sandbox or productionCALLBACK_PORT— Default 3000CALLBACK_HOST— 127.0.0.1 for local dev (avoids macOS bind errors)PUBLIC_URL— HTTPS base URL Safaricom can reach (ngrok locally, Railway in prod)DARAJA_INITIATOR_NAME— Initiator APIs need , DARAJA_INITIATOR, and DARAJA_SECURITY_CREDENTIAL in .env.DARAJA_INITIATOR— / DARAJA_SECURITY_CREDENTIAL B2C, B2B, balance, status, reversalDARAJA_SECURITY_CREDENTIAL— DARAJA_INITIATOR / B2C, B2B, balance, status, reversalDARAJA_B2C_SHORTCODEDARAJA_C2B_SHORTCODEDARAJA_RATIBA_BUYGOODS_SHORTCODEDARAJA_PULL_SHORTCODEDARAJA_PULL_NOMINATED_NUMBERIOT_API_KEYIOT_MSISDNIOT_SOURCE_SYSTEMIOT_APPIOT_VPN_GROUPIOT_USERNAMEIOT_MESSAGE_IDIOT_X_IDENTITYIOT_ACCEPT_LANGUAGE[](https://m8ven.ai/mcp/mboya-daraja-mcp-uahhg4)