M-Pesa Daraja
io.github.Mr-Macharia/mpesa-daraja-mcp
Safaricom M-Pesa Daraja tools: STK Push, C2B, B2C, B2B, QR, Ratiba. Sandbox-first, idempotent.
Connect this server
Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.
{
"mcpServers": {
"mpesa-daraja-mcp": {
"command": "uvx",
"args": [
"mpesa-daraja-mcp"
],
"env": {
"DARAJA_CONSUMER_KEY": "<your DARAJA_CONSUMER_KEY>",
"DARAJA_CONSUMER_SECRET": "<your DARAJA_CONSUMER_SECRET>",
"DARAJA_PASSKEY": "<your DARAJA_PASSKEY>",
"DARAJA_SECURITY_CREDENTIAL": "<your DARAJA_SECURITY_CREDENTIAL>",
"DARAJA_CALLBACK_TOKEN": "<your DARAJA_CALLBACK_TOKEN>",
"DARAJA_INITIATOR_PASSWORD": "<your DARAJA_INITIATOR_PASSWORD>",
"DARAJA_MCP_TOKEN": "<your DARAJA_MCP_TOKEN>",
"DARAJA_FORWARD_SECRET": "<your DARAJA_FORWARD_SECRET>"
}
}
}
}- DARAJA_CONSUMER_KEYrequiredsecretDaraja app Consumer Key
- DARAJA_CONSUMER_SECRETrequiredsecretDaraja app Consumer Secret
- DARAJA_PASSKEYsecretM-Pesa Express passkey (STK Push)
- DARAJA_SECURITY_CREDENTIALsecretEncrypted initiator password
- DARAJA_CALLBACK_TOKENsecret16+ random characters; secret path for callbacks
- DARAJA_INITIATOR_PASSWORDsecretInitiator password, encrypted into SecurityCredential at startup (alternative to DARAJA_SECURITY_CREDENTIAL)
- DARAJA_MCP_TOKENsecretBearer token for HTTP mode (32+ random characters)
- DARAJA_FORWARD_SECRETsecretHMAC secret for forwarded callbacks (16+ characters)
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Developer Tools
- Version
- 0.1.6
- Registry
- active
- Published
- 10/29/2026
More Developer Tools servers
Browse all Developer Tools →StaleDocs
mr-min-max
Finds documentation that no longer matches your code. Deterministic AST check; no API key.
io.github.mr-rahulmaurya/NOC.McpServer
nice-one-code
MCP server exposing NiceOneCode's JSON-to-C# converter as an AI-callable tool.
io.github.MrBridgeHQ/mcp-server-vivino
MrBridgeHQ
Vivino wine data for AI assistants: search, explore, wine details and meal-aware recommendations
io.github.MrCartographer/crypto-analysis-human-mcp
MrCartographer
Human-curated crypto signals, altcoin analysis, and airdrop alpha. x402 payments.
SyncytiumMD
mrcbrbn5361
One canonical context transpiled into Cursor, Claude, Copilot, Cline and more, with agent handoff.
AgentCanary
MrCerq
Retired compatibility stub for AgentCanary MCP. Daily briefs continue on X and Telegram.
Add the badge to your site
Show visitors that M-Pesa Daraja is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-mr-macharia-mpesa-daraja-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="M-Pesa Daraja — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-mr-macharia-mpesa-daraja-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.