mpesa-daraja
Safaricom does not operate an official hosted/remote MCP server for Daraja. Community MCP servers exist (e.g. mboya/daraja-mcp on lobehub) but are not first-party. The tool list below is a CANDIDATE, derived one-to-one from the M-Pesa Daraja OpenAPI operations — a starting point for exposing Daraja to AI agents. Funds-movement tools (b2c, b2b, reversal, tax_remittance) move real money in KES and should require human-in-the-loop confirmation (see agentic-access/mpesa-agentic-access.yml).
One-click install for Cursor, VS Code, Claude, and 20+ other MCP clients, powered by API Commons MCP Install — visit install.apicommons.org for more information.
Descriptor
Candidate descriptor · transport http
Tools
generate_access_token— Mint a short-lived OAuth access token from consumer key/secret.stk_push— Initiate an M-Pesa Express (STK Push) PIN prompt to collect a payment.stk_push_query— Query the status of an STK Push request.c2b_register_url— Register C2B validation and confirmation callback URLs.c2b_simulate— Simulate an inbound C2B payment (sandbox only).b2c_payment_request— Disburse funds from a business shortcode to a customer wallet.b2b_payment_request— Move funds between two business shortcodes.b2b_express_checkout— Trigger a B2B Express Checkout USSD push to a till operator.transaction_status— Query the status of an M-Pesa transaction.account_balance— Query the balance of a business shortcode.reversal— Reverse an M-Pesa transaction.dynamic_qr— Generate a dynamic M-Pesa QR code.tax_remittance— Remit taxes to the Kenya Revenue Authority (KRA).create_standing_order— Create an M-Pesa Ratiba external standing order.
About MCP
The Model Context Protocol (MCP) is an open protocol Anthropic introduced for connecting LLM-based agents to external tools and data sources. Providers publish MCP servers that expose their API surface as structured, discoverable tools — an MCP-compatible client (Claude Desktop, Cursor, Cline, Continue, etc.) can connect to the server and call its tools without any per-provider integration code.
Browse every MCP server on the APIs.io network or compare with the broader Agent Skill surfaces of the same providers.