mpesa-mcp

v0.7.3
io.github.gabrielmahia/mpesa-mcp Checked 2 days ago Published 22 days ago

M-Pesa Daraja and Africa's Talking MCP server: 24 tools; live payments and SMS need confirmation.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mpesa-mcp -- uvx mpesa-mcp==0.7.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mpesa-mcp": {
      "args": [
        "mpesa-mcp==0.7.3"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mpesa-mcp": {
      "args": [
        "mpesa-mcp==0.7.3"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mpesa-mcp": {
      "args": [
        "mpesa-mcp==0.7.3"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mpesa-mcp]
command = "uvx"
args = ["mpesa-mcp==0.7.3"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: mpesa_stk_push, mpesa_stk_query, mpesa_ratiba_create, mpesa_b2c, mpesa_business_paybill, mpesa_business_buygoods, mpesa_business_pochi, mpesa_transaction_status, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json