Safaricom Daraja MCP Server
by mboya
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DARAJA_ENV | No | Environment: sandbox or production | sandbox |
| PUBLIC_URL | No | HTTPS URL reachable by Safaricom for callbacks (e.g., ngrok URL) | |
| CALLBACK_HOST | No | Host for callback server | 127.0.0.1 |
| CALLBACK_PORT | No | Port for callback server | 3000 |
| DARAJA_PASSKEY | Yes | Passkey from Daraja app | |
| DARAJA_INITIATOR | No | Initiator username for B2C, B2B, balance, status, reversal | |
| DARAJA_SHORTCODE | Yes | Business Short Code (e.g., 174379 for sandbox) | |
| DARAJA_CONSUMER_KEY | Yes | Consumer Key from Daraja app | |
| DARAJA_CONSUMER_SECRET | Yes | Consumer Secret from Daraja app | |
| DARAJA_SECURITY_CREDENTIAL | No | Security credential for initiator |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues