MCP ServerSTDIOOfficialv0.1.2

mpesa-mcp MCP Server

M-Pesa + Africa's Talking MCP server — payments, SMS, airtime for AI agents in East Africa.

io.github.gabrielmahia/mpesa-mcp

Hosted URL

https://github.com/gabrielmahia/mpesa-mcp

Transport

STDIO

Auth

6 required env vars

Connect to mpesa-mcp

Hosted endpoint — paste into any MCP client.

https://github.com/gabrielmahia/mpesa-mcp

Environment variables

Configuration this server reads at startup.

  • MPESA_CONSUMER_KEYRequiredSecret

    Safaricom Daraja consumer key

  • MPESA_CONSUMER_SECRETRequiredSecret

    Safaricom Daraja consumer secret

  • MPESA_SHORTCODERequired

    M-Pesa shortcode (till or paybill number)

  • MPESA_PASSKEYRequiredSecret

    M-Pesa Lipa Na M-Pesa online passkey

  • AT_API_KEYRequiredSecret

    Africa's Talking API key

  • AT_USERNAMERequired

    Africa's Talking username (use 'sandbox' for testing)

  • MPESA_ENV

    Daraja environment: sandbox or production

Resources

Where to find authoritative docs and source for mpesa-mcp.

Try mpesa-mcp with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground