Daraja MCP

by jameskanyiri
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PASSKEYYesYour Safaricom API passkey (required for STK Push)
BASE_URLNoSafaricom API base URLhttps://sandbox.safaricom.co.ke
CALLBACK_URLNoCallback URL for notifications
PHONE_NUMBERNoYour phone number
TRANSACTION_DESCNoYour transaction description
TRANSACTION_TYPENoTransaction typeCustomerPayBillOnline
ACCOUNT_REFERENCENoYour account reference
BUSINESS_SHORTCODEYesYour M-Pesa till/paybill number
MPESA_CONSUMER_KEYYesYour Safaricom API consumer key
MPESA_CONSUMER_SECRETYesYour Safaricom API consumer secret

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

ID: ffit7efo74