71
/ 100
5 days ago
glama

Safaricom Daraja MCP Server

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.

Is this your MCP?

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.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 4 credentials: DARAJA_CONSUMER_KEY, DARAJA_CONSUMER_SECRET, DARAJA_SECURITY_CREDENTIAL, IOT_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
🔐 secretDARAJA_CONSUMER_KEY/ DARAJA_CONSUMER_SECRET OAuth (all APIs)
🔐 secretDARAJA_CONSUMER_SECRETDARAJA_CONSUMER_KEY / OAuth (all APIs)
configDARAJA_SHORTCODE/ DARAJA_PASSKEY STK Push
configDARAJA_PASSKEYDARAJA_SHORTCODE / STK Push
configDARAJA_ENVsandbox or production
configCALLBACK_PORTDefault 3000
configCALLBACK_HOST127.0.0.1 for local dev (avoids macOS bind errors)
configPUBLIC_URLHTTPS base URL Safaricom can reach (ngrok locally, Railway in prod)
configDARAJA_INITIATOR_NAMEInitiator APIs need , DARAJA_INITIATOR, and DARAJA_SECURITY_CREDENTIAL in .env.
configDARAJA_INITIATOR/ DARAJA_SECURITY_CREDENTIAL B2C, B2B, balance, status, reversal
🔐 secretDARAJA_SECURITY_CREDENTIALDARAJA_INITIATOR / B2C, B2B, balance, status, reversal
configDARAJA_B2C_SHORTCODE
configDARAJA_C2B_SHORTCODE
configDARAJA_RATIBA_BUYGOODS_SHORTCODE
configDARAJA_PULL_SHORTCODE
configDARAJA_PULL_NOMINATED_NUMBER
🔐 secretIOT_API_KEY
configIOT_MSISDN
configIOT_SOURCE_SYSTEM
configIOT_APP
configIOT_VPN_GROUP
configIOT_USERNAME
configIOT_MESSAGE_ID
configIOT_X_IDENTITY
configIOT_ACCEPT_LANGUAGE
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 4 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/mboya-daraja-mcp-uahhg4)](https://m8ven.ai/mcp/mboya-daraja-mcp-uahhg4)
commit: 38b72717c3d02d6a80eeae95cdaf092a29ccabbe
code hash: 6b66bc27db3af88b1b4df7e2c7876948218060d97b45b3679dfebf64426b736a
verified: 6/24/2026, 10:05:50 AM
view raw JSON →