Back to MCP Servers
Daraja MCP

Daraja MCP

Public
jameskanyiri/DarajaMCP

Model Context Protocol server enabling AI applications to seamlessly integrate with Safaricom's Daraja API for secure, scalable M-Pesa transactions, automated financial workflows, and standardized AI-driven payment processing.

python
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with Daraja MCP

MCP Server

Unlock the full potential of Daraja MCP through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Configuration Requirements
none
Configure authentication and required variables to access this MCP server
Required Environment Variables
PHONE_NUMBER
Optional
string

Your phone number

BUSINESS_SHORTCODE
Optional
string

Your M-Pesa till/paybill number

TRANSACTION_TYPE
Optional
string

Transaction type

Default: CustomerPayBillOnline
PASSKEY
Optional
string

Your Safaricom API passkey (required for STK Push)

ACCOUNT_REFERENCE
Optional
string

Your account reference

BASE_URL
Optional
string

Safaricom API base URL

Default: https://sandbox.safaricom.co.ke
CALLBACK_URL
Optional
string

Callback URL for notifications

TRANSACTION_DESC
Optional
string

Your transaction description

MPESA_CONSUMER_SECRET
Optional
string

Your Safaricom API consumer secret

MPESA_CONSUMER_KEY
Optional
string

Your Safaricom API consumer key

Security Notice

Your environment variables and credentials are securely stored and encrypted. LangDB never shares these configuration values with third parties.

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs0

No related MCPs found.

This server doesn't have any related MCP connections.