Finance · Developer Tools

M-Pesa (Safaricom Daraja API) logo

M-Pesa (Safaricom Daraja API)

jameskanyiri/darajamcp

A Model Context Protocol (MCP) server designed to integrate AI applications with Safaricom's Daraja API, enabling seamless interaction with M-Pesa services.

Install

Client configuration

{
  "mcpServers": {
    "daraja": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/DarajaMCP",
        "run",
        "main.py"
      ]
    }
  }
}
GitHub stars
8
Category
Finance, Developer Tools
License
MIT
Updated
Oct 6, 2026

About M-Pesa (Safaricom Daraja API)

This project has moved to a new repository. If you're looking to contribute or access the latest version, please visit:

Features

  • AI-Powered M-Pesa Transactions – Enable LLMs to handle B2C, C2B, and B2B payments

  • Standardized Integration – MCP ensures compatibility with multiple AI tools

  • Secure & Scalable – Implements OAuth authentication and supports enterprise-grade transaction handling

  • Flexible Automation – AI agents can query account balances, generate invoices, and automate reconciliation

Tools (11)

  • stk_push

    Initiate an M-Pesa STK push request to prompt the customer to authorize a payment on their mobile device.

  • generate_qr_code

    Generate a QR code for a payment request that customers can scan to make payments.

  • stk_push_prompt

    Generate a prompt for initiating an M-Pesa STK push payment request.

  • generate_qr_code_prompt

    Generate a prompt for creating an M-Pesa QR code payment request.

  • create_source

    Create a connector from data source to unstructured server for processing.

  • create_destination

    Create a connector from unstructured server to destination for data storage.

  • create_workflow

    Create a workflow to process data from source connector to destination connector.

  • run_workflow

    Execute a workflow.

  • get_workflow_details

    Get detailed information about a workflow.

  • fetch_documents

    Fetch documents analyzed during workflow execution.

  • create_and_run_workflow_prompt

    Generate a prompt to create and run a workflow for document processing.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Stripe Agent Toolkit logo

Stripe Agent Toolkit

stripe/agent-toolkit

677

It contains a collection of SDKs to help you integrate Stripe with LLMs and agent frameworks, including.

Finance
Awesome Web3 MCP Servers logo

Awesome Web3 MCP Servers

demcp/awesome-web3-mcp-servers

405

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.

Finance
Financial Datasets logo

Financial Datasets

financial-datasets/mcp-server

225

This is a Model Context Protocol (MCP) server that provides access to stock market data from Financial Datasets.

Finance
lyraios logo

lyraios

GalaxyLLMCI/lyraios

216

LYRAI is a Model Context Protocol (MCP) operating system for multi-AI AGENTs designed to extend the functionality of AI applications (such as Claude Desktop and Cursor) by enabling them to interact with financial networks and blockchain public chains.

Finance
EVM Blockchain logo

EVM Blockchain

mcpdotdirect/evm-mcp-server

216

A comprehensive Model Context Protocol (MCP) server that provides blockchain services across 60+ EVM-compatible networks. This server enables AI agents to interact with Ethereum, Optimism, Arbitrum, Base, Polygon, and many other EVM chains with a unified interface through 22 tools and 10 AI-guided prompts.

Finance
longport logo

longport

longportapp/openapi

206

Longport OpenAPI provides programmatic quote trading interfaces for investors with research and development capabilities and assists them to build trading or quote strategy analysis tools based on their own investment strategies. The functions fall into the following categories.

Finance