MCP server
PayLink
Open-source framework with MCP servers that let AI agents initiate mobile money payments, starting with M-Pesa STK Push via Safaricom's Daraja API.
Repository and documentation last checked Built from public product pages and documentation. SourcesClaim this listing
ecommerceguide summary
PayLink is an open-source Python framework that gives AI agents a payment interface through the Model Context Protocol. Its M-Pesa MCP server calls Safaricom's Daraja API to initiate STK Push payment requests, so an agent can trigger a mobile money prompt as part of a workflow. You run it locally over stdio, via Docker Compose or uv, with provider credentials supplied in an .env file. Airtel Money, Equity Bank and KCB are listed as coming soon. MIT licensed.
Why it stands out
Open-source MIT framework whose MCP server initiates M-Pesa STK Push payment requests through Safaricom's Daraja API.
What PayLink does
ecommerceguide editorial- M-Pesa MCP server initiates STK Push through Safaricom's Daraja API
- Runs locally over stdio via Docker Compose or uv
- Provider credentials set through .env, described as secure credential management
- Written in Python, MIT licensed, maintained by the PayLink community project
- Airtel Money, Equity Bank and KCB listed on the roadmap
- Repository also ships an example MCP server for reference
How ecommerce teams could use it
ecommerceguide editorialIllustrative scenarios written by ecommerceguide from the product's documented capabilities. They are not customer case studies.
A Kenyan online retailer collecting payment through M-Pesa
Building an assistant that asks a shopper to authorise payment during a conversation
Intended outcomeThe agent calls the M-Pesa MCP server to initiate an STK Push request to the shopper's phone.
A developer team building an internal agent on top of mobile money rails
Wiring payment initiation into an agent without writing provider-specific code
Intended outcomePayLink exposes the M-Pesa payment call as an MCP tool, run locally over stdio with credentials from .env.
Who it suits
ecommerceguide editorialBest for
You collect payment through M-Pesa and want an agent to initiate STK Push requests from a locally run, MIT-licensed MCP server.
Probably not for
You need Airtel Money, Equity Bank or KCB support today, hosted remote access, or anything beyond initiating M-Pesa STK Push requests.
- Business size
- Any stageNo pricing or stated audience; the project is a self-hosted open-source framework run from source.
Technical details
From the vendor's own pagesFrom the server's repository, documentation and MCP directory listings.
- What an agent can do
- Payments
- Transport
- stdio (local)
- Authentication
- API keyServer directories include .env.example for provider credentials; README cites 'Secure credential management'.
- Package
- None published; build from source
- Language
- Python
- Licence
- MIT
- Repository last updated
- 30 Nov 2025
Connect PayLink
Third-party datagit clone https://github.com/paylinkmcp/paylink.git && cd paylink && docker compose up --buildCommand as listed on the repository README, not tested by ecommerceguide. Check the official documentation (opens in a new tab) for configuration and credentials before running it.
Categories and use cases
Alternatives to PayLink
Listings that share this one's category, platforms or use cases. Ordered by how many relationships they share, not by quality or payment.
- SHShopifymanage shopify products, orders, customers, and inventory via graphql in claude or cursor
- MNMnemoPayTrust and reputation layer for AI agents that handle money.
- SAStripe ACPE-commerce management for orders, products, inventory, and shipping via the VTEX API.
- USUCP ShoppingMCP server letting Claude and other AI assistants browse, checkout, and pay at UCP-enabled stores
- ZPZen7 Payment AgentNext-generation intelligent payment infrastructure
Sources
ecommerceguide profiles are built from public product information and written for ecommerce teams. We do not test products, and paying never changes where a listing ranks.
- GitHub repositorygithub.com (opens in a new tab)
- GitHub repositorygithub.com (opens in a new tab)
- Documentationpaylink-platform.vercel.app (opens in a new tab)
Also listed on mcpservers.org.
See something incorrect? Report an update