Agentic Commerce Mcp Server avatar
Agentic Commerce Mcp Server

Pricing

Pay per usage

Go to Apify Store
Agentic Commerce Mcp Server

Agentic Commerce Mcp Server

MCP server for AI agents to complete e-commerce purchases on Shopify, WooCommerce & BigCommerce. Unique: M-Pesa, MTN Mobile Money & Flutterwave support for 30+ African countries. 10 tools for product discovery, checkout & payments.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Eliud Munyala

Eliud Munyala

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Share

The only MCP server with M-Pesa, MTN Mobile Money, and Flutterwave support for emerging markets.

Enable AI agents (Claude, GPT, Gemini) to complete purchases across Shopify, WooCommerce, and BigCommerce - including mobile money payments for 500M+ users in Africa.

Why This Actor?

FeatureACP/UCP OnlyThis Actor
Shopify, WooCommerce, BigCommerceYesYes
Card payments (SPT)YesYes
M-Pesa (Kenya, 50M users)NoYes
MTN Mobile Money (Ghana, Uganda)NoYes
Airtel MoneyNoYes
USSD (Nigeria, no internet needed)NoYes
30+ African countriesNoYes

Supported Mobile Money (Unique!)

MethodCountryCurrencyUsers
M-PesaKenyaKES50M+
M-PesaTanzaniaTZS15M+
MTN Mobile MoneyGhanaGHS20M+
MTN Mobile MoneyUgandaUGX10M+
MTN Mobile MoneyRwandaRWF5M+
Airtel MoneyUgandaUGX8M+
Airtel MoneyGhanaGHS5M+
Vodafone CashGhanaGHS8M+
USSDNigeriaNGN100M+

Powered by Flutterwave - processing $16B+ annually across Africa.

10 MCP Tools

Discovery (2 tools)

ToolDescription
discover_productsSearch products across platforms
get_merchant_infoGet store capabilities

Checkout (4 tools)

ToolDescription
create_checkout_sessionStart checkout with items
update_checkoutAdd buyer info, shipping
get_checkout_statusCheck session state
complete_checkoutPay with card (SPT)

Mobile Money (3 tools) - NEW!

ToolDescription
initiate_mobile_paymentStart M-Pesa/MTN/Airtel payment
get_supported_payment_methodsList methods by country
check_mobile_payment_statusPoll async payment status

Orders (1 tool)

ToolDescription
get_order_statusTrack fulfillment

Two Payment Flows

Flow 1: Card Payment (Global)

create_checkout_session → update_checkout → complete_checkout(payment_token)

Flow 2: Mobile Money (Africa)

create_checkout_session → update_checkout → initiate_mobile_payment(phone) → check_mobile_payment_status

Quick Start

Mobile Money Example (Kenya M-Pesa)

# 1. Create checkout
session = create_checkout_session(
merchant_url="store.example.com",
items=[{"variant_id": "123", "quantity": 1}]
)
# 2. Add buyer info
update_checkout(
session_id=session["session_id"],
buyer_email="customer@example.com",
shipping_address1="Kimathi Street",
shipping_city="Nairobi",
shipping_country="KE",
shipping_zip="00100"
)
# 3. Check available payment methods for Kenya
methods = get_supported_payment_methods(country_code="KE")
# Returns: [{"method_id": "mpesa", "display_name": "M-Pesa Kenya", ...}]
# 4. Initiate M-Pesa payment
payment = initiate_mobile_payment(
session_id=session["session_id"],
payment_method="mpesa",
phone_number="+254712345678"
)
# Customer receives M-Pesa prompt on their phone
# 5. Poll for completion
status = check_mobile_payment_status(
transaction_id=payment["transaction_id"],
session_id=session["session_id"]
)
# Returns: {"status": "successful", "order_id": "..."}

Card Payment Example (Global)

# 1-2. Same as above...
# 3. Complete with Shared Payment Token
result = complete_checkout(
session_id=session["session_id"],
payment_token="spt_xxx..." # From AI agent platform
)

Supported Platforms

PlatformMarket ShareProtocolStatus
Shopify28%UCP nativeReady
WooCommerce43%ACP pluginReady
BigCommerce3%ACP nativeReady

Configuration

Input Schema

FieldDescriptionRequired
flutterwaveSecretKeyFlutterwave API key for mobile moneyFor mobile payments
flutterwaveWebhookSecretWebhook verificationOptional
stripeTestKeyStripe test keyFor testing

Get Flutterwave Keys

  1. Sign up at flutterwave.com
  2. Get test keys: FLWSECK_TEST-xxxxx
  3. Test mode auto-approves all payments (no real phone needed)

Tool Reference

initiate_mobile_payment

Start a mobile money payment. Customer receives a push notification to authorize.

{
"session_id": "cs_abc123",
"payment_method": "mpesa",
"phone_number": "+254712345678"
}

Supported payment_method values:

  • mpesa - M-Pesa Kenya (KES)
  • mpesa_tanzania - M-Pesa Tanzania (TZS)
  • mtn_ghana - MTN Ghana (GHS)
  • mtn_uganda - MTN Uganda (UGX)
  • mtn_rwanda - MTN Rwanda (RWF)
  • airtel_uganda - Airtel Uganda (UGX)
  • airtel_ghana - Airtel Ghana (GHS)
  • airtel_rwanda - Airtel Rwanda (RWF)
  • vodafone_ghana - Vodafone Ghana (GHS) - requires voucher
  • ussd_nigeria - USSD Nigeria (NGN)

get_supported_payment_methods

Get available mobile payment methods for a country.

{
"country_code": "KE"
}

Returns:

{
"methods": [
{
"method_id": "mpesa",
"display_name": "M-Pesa Kenya",
"currency": "KES",
"requires_phone": true
}
]
}

check_mobile_payment_status

Poll for mobile payment completion (async flow).

{
"transaction_id": "flw_123456",
"session_id": "cs_abc123"
}

Returns:

{
"status": "successful",
"order_id": "flw_123456",
"amount": 1000,
"currency": "KES"
}

Security

  • No Raw Card Data: Uses Shared Payment Tokens (SPT)
  • No Merchant Credentials: Public Storefront APIs only
  • PCI Compliant: Payment processing by merchant gateway
  • Mobile Money: Flutterwave handles all sensitive data

Pricing

Free to try! Pay only for what you use.

EventPrice
Product Search$0.01
Checkout Session$0.02
Mobile Payment$0.03
Order Status$0.01

Testing

# Run tests
pytest tests/ -v
# 120 tests passing

License

MIT License