{
  "slug": "io-github-mr-macharia-mpesa-daraja-mcp",
  "name": "io.github.Mr-Macharia/mpesa-daraja-mcp",
  "title": "M-Pesa Daraja",
  "description": "Safaricom M-Pesa Daraja tools: STK Push, C2B, B2C, B2B, QR, Ratiba. Sandbox-first, idempotent.",
  "version": "0.1.4",
  "publishedAt": "2026-10-24T21:47:11.53154Z",
  "updatedAt": "2026-10-24T21:47:11.53154Z",
  "repoUrl": "https://github.com/Mr-Macharia/mpesa-daraja-skills-and-mcp",
  "websiteUrl": null,
  "namespace": {
    "type": "github",
    "owner": "Mr-Macharia"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "mpesa-daraja-mcp",
      "version": "0.1.4",
      "transport": "stdio",
      "runtimeHint": "uvx"
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "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",
      "isSecret": false,
      "isRequired": false,
      "description": "sandbox (default) or production"
    },
    {
      "name": "DARAJA_SHORTCODE",
      "isSecret": false,
      "isRequired": false,
      "description": "Paybill / store number (174379 in sandbox)"
    },
    {
      "name": "DARAJA_PASSKEY",
      "isSecret": true,
      "isRequired": false,
      "description": "M-Pesa Express passkey (STK Push)"
    },
    {
      "name": "DARAJA_INITIATOR_NAME",
      "isSecret": false,
      "isRequired": false,
      "description": "API operator username (B2C, B2B, status, balance, reversal)"
    },
    {
      "name": "DARAJA_SECURITY_CREDENTIAL",
      "isSecret": true,
      "isRequired": false,
      "description": "Encrypted initiator password"
    },
    {
      "name": "DARAJA_CALLBACK_BASE_URL",
      "isSecret": false,
      "isRequired": false,
      "description": "Public HTTPS base for callback URLs"
    },
    {
      "name": "DARAJA_CALLBACK_LISTEN",
      "isSecret": false,
      "isRequired": false,
      "description": "host:port for the built-in callback receiver"
    },
    {
      "name": "DARAJA_CALLBACK_TOKEN",
      "isSecret": true,
      "isRequired": false,
      "description": "16+ random characters; secret path for callbacks"
    },
    {
      "name": "DARAJA_TOOLSETS",
      "isSecret": false,
      "isRequired": false,
      "description": "Comma list: stk,c2b,payouts,ops,qr,ratiba,billmanager"
    },
    {
      "name": "DARAJA_ALLOW_LIVE_MONEY_MOVEMENT",
      "isSecret": false,
      "isRequired": false,
      "description": "true to allow production charges and payouts"
    },
    {
      "name": "DARAJA_INITIATOR_PASSWORD",
      "isSecret": true,
      "isRequired": false,
      "description": "Initiator password, encrypted into SecurityCredential at startup (alternative to DARAJA_SECURITY_CREDENTIAL)"
    },
    {
      "name": "DARAJA_CERT_PATH",
      "isSecret": false,
      "isRequired": false,
      "description": "Path to Safaricom's public certificate, used with DARAJA_INITIATOR_PASSWORD"
    },
    {
      "name": "DARAJA_STATE_DB",
      "isSecret": false,
      "isRequired": false,
      "description": "Path of the SQLite file that stores request state and callbacks"
    },
    {
      "name": "DARAJA_OUTPUT_DIR",
      "isSecret": false,
      "isRequired": false,
      "description": "Directory where generated QR PNGs are saved"
    },
    {
      "name": "DARAJA_CONFIG_DIR",
      "isSecret": false,
      "isRequired": false,
      "description": "Directory holding the saved config (default: user config dir)"
    },
    {
      "name": "DARAJA_DOTENV",
      "isSecret": false,
      "isRequired": false,
      "description": "Path of a .env file to load instead of the project one"
    }
  ],
  "category": "other",
  "subcategory": "more",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/Mr-Macharia/mpesa-daraja-skills-and-mcp"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "warn",
      "detail": "Asks for 6 secrets: DARAJA_CONSUMER_KEY, DARAJA_CONSUMER_SECRET, DARAJA_PASSKEY, DARAJA_SECURITY_CREDENTIAL, DARAJA_CALLBACK_TOKEN, DARAJA_INITIATOR_PASSWORD"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account Mr-Macharia"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "mpesa-daraja-mcp 0.1.4 has no setup.py; nothing runs at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 19 files in mpesa-daraja-mcp 0.1.4: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 19 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (pypi)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"mpesa-daraja-mcp\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"mpesa-daraja-mcp==0.1.4\"\n      ],\n      \"env\": {\n        \"DARAJA_CONSUMER_KEY\": \"<your value>\",\n        \"DARAJA_CONSUMER_SECRET\": \"<your value>\"\n      }\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 3,
  "archived": false,
  "pushedAt": "2026-10-29T03:44:27Z",
  "health": {
    "score": 51,
    "parts": {
      "popularity": 0.3211445143885911,
      "activity": 0.6,
      "issues": null,
      "security": 0.8
    },
    "fail": 0,
    "warn": 1,
    "raw": {
      "stars": 3,
      "forks": 3,
      "downloads": 459,
      "hn": null,
      "issuesOpen": 4,
      "issuesClosed": 0,
      "prsMerged": 29,
      "commits90": 0,
      "release": "2026-10-29T00:53:22Z",
      "pushed": "2026-10-29T03:44:27Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:35:52.424Z"
  }
}
