Skip to main content
Glama
mboya

Safaricom Daraja MCP Server

by mboya

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DARAJA_ENVNoEnvironment: sandbox or productionsandbox
PUBLIC_URLNoHTTPS URL reachable by Safaricom for callbacks (e.g., ngrok URL)
CALLBACK_HOSTNoHost for callback server127.0.0.1
CALLBACK_PORTNoPort for callback server3000
DARAJA_PASSKEYYesPasskey from Daraja app
DARAJA_INITIATORNoInitiator username for B2C, B2B, balance, status, reversal
DARAJA_SHORTCODEYesBusiness Short Code (e.g., 174379 for sandbox)
DARAJA_CONSUMER_KEYYesConsumer Key from Daraja app
DARAJA_CONSUMER_SECRETYesConsumer Secret from Daraja app
DARAJA_SECURITY_CREDENTIALNoSecurity credential for initiator

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mboya/daraja-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server