加载中…
Safaricom M-Pesa Daraja 工具: STK Push、C2B、B2C、B2B、QR、Ratiba。Sandbox-first、idempotent。
M-Pesa Daraja 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 78/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 M-Pesa Daraja 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
uvx mpesa-daraja-mcp==0.1.4运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-10-24T21:47:11.53154Z",
"publishedAt": "2026-10-24T21:47:11.53154Z",
"statusChangedAt": "2026-10-24T21:47:11.53154Z"
}
},
"server": {
"name": "io.github.Mr-Macharia/mpesa-daraja-mcp",
"title": "M-Pesa Daraja",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.1.4",
"packages": [
{
"version": "0.1.4",
"transport": {
"type": "stdio"
},
"identifier": "mpesa-daraja-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"environmentVariables": [
{
"name": "DARAJA_CONSUMER_KEY",
"isSecret": true,
"isRequired": true,
"description": "Daraja app Consumer Key"
},
{
"name": "DARAJA_CONSUMER_SECRET",
"isSecret": true,
"isRequired": true,
"description": "Daraja app Consumer Secret"
},
{
"name": "DARAJA_ENV",
"description": "sandbox (default) or production"
},
{
"name": "DARAJA_SHORTCODE",
"description": "Paybill / store number (174379 in sandbox)"
},
{
"name": "DARAJA_PASSKEY",
"isSecret": true,
"description": "M-Pesa Express passkey (STK Push)"
},
{
"name": "DARAJA_INITIATOR_NAME",
"description": "API operator username (B2C, B2B, status, balance, reversal)"
},
{
"name": "DARAJA_SECURITY_CREDENTIAL",
"isSecret": true,
"description": "Encrypted initiator password"
},
{
"name": "DARAJA_CALLBACK_BASE_URL",
"description": "Public HTTPS base for callback URLs"
},
{
"name": "DARAJA_CALLBACK_LISTEN",
"description": "host:port for the built-in callback receiver"
},
{
"name": "DARAJA_CALLBACK_TOKEN",
"isSecret": true,
"description": "16+ random characters; secret path for callbacks"
},
{
"name": "DARAJA_TOOLSETS",
"description": "Comma list: stk,c2b,payouts,ops,qr,ratiba,billmanager"
},
{
"name": "DARAJA_ALLOW_LIVE_MONEY_MOVEMENT",
"description": "true to allow production charges and payouts"
},
{
"name": "DARAJA_INITIATOR_PASSWORD",
"isSecret": true,
"description": "Initiator password, encrypted into SecurityCredential at startup (alternative to DARAJA_SECURITY_CREDENTIAL)"
},
{
"name": "DARAJA_CERT_PATH",
"description": "Path to Safaricom's public certificate, used with DARAJA_INITIATOR_PASSWORD"
},
{
"name": "DARAJA_STATE_DB",
"description": "Path of the SQLite file that stores request state and callbacks"
},
{
"name": "DARAJA_OUTPUT_DIR",
"description": "Directory where generated QR PNGs are saved"
},
{
"name": "DARAJA_CONFIG_DIR",
"description": "Directory holding the saved config (default: user config dir)"
},
{
"name": "DARAJA_DOTENV",
"description": "Path of a .env file to load instead of the project one"
}
]
}
],
"repository": {
"url": "https://github.com/Mr-Macharia/mpesa-daraja-skills-and-mcp",
"source": "github",
"subfolder": "mcp-server"
},
"description": "Safaricom M-Pesa Daraja tools: STK Push, C2B, B2C, B2B, QR, Ratiba. Sandbox-first, idempotent."
}
}