momo-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
momo-mcp
MTN Mobile Money sandbox tools for AI agents, over MCP.
momo-mcp lets Claude Code, Cursor, Codex and other MCP clients test MTN MoMo
flows without reading a 200-page API spec first. It runs in demo mode by
default: no credentials, no network calls, no real money.
Ask your agent:
Create a sandbox collection of 100 EUR for +237650000000, then check its status.
The agent gets a reference id, a PENDING status, and a clear next step. The first status check moves the demo transaction to SUCCESSFUL so the full flow is visible without any network call.
Why
AI agents are good at calling tools, but payment APIs are still awkward:
authentication, product-specific endpoints, reference ids, status polling and
sandbox setup. momo-mcp exposes a small, safe tool surface so an agent can:
inspect the active product and configuration;
list MoMo products and capabilities;
read a balance;
check whether a number is active;
create a sandbox collection request;
read a transaction status;
verify the amount, currency and external id before delivering goods.
It is built on top of the published
mtn-momo-collection SDK.
Related MCP server: momo-mcp
Quick start
uvx momo-mcpThe server speaks MCP over stdio. It starts in demo mode. To work from source:
git clone https://github.com/G2on61/momo-mcp.git
cd momo-mcp
uv run momo-mcpClaude Desktop / Cursor
Add this to your MCP client configuration:
{
"mcpServers": {
"momo": {
"command": "uvx",
"args": ["momo-mcp"],
"env": {
"MOMO_MCP_MODE": "demo"
}
}
}
}Tools
Tool | What it does |
| Shows mode, product and whether live credentials are present. |
| Lists collections, disbursements and remittances capabilities. |
| Reads the active product balance. |
| Checks whether a number is active. |
| Creates a collection request and returns a reference id. |
| Reads a collection, disbursement or remittance status. |
| Verifies amount, currency and external id before fulfillment. |
| Lists transactions created in the current demo process. |
Demo mode vs live sandbox
Demo mode is the default and is intentionally fake:
MOMO_MCP_MODE=demo uv run momo-mcpLive sandbox mode calls the MTN sandbox API. You need a subscription key and sandbox API user/key:
export MOMO_MCP_MODE=live
export MOMO_PRODUCT=collections
export MOMO_SUBSCRIPTION_KEY="..."
export MOMO_API_USER="..."
export MOMO_API_KEY="..."
export MOMO_TARGET_ENVIRONMENT="sandbox"
uv run momo-mcpLive mode only accepts MOMO_TARGET_ENVIRONMENT=sandbox. Any other target is
refused unless MOMO_MCP_ALLOW_PRODUCTION=1 is set explicitly. Collection
amounts are capped by MOMO_MCP_MAX_AMOUNT, which defaults to 1000.00.
Optional variables:
Variable | Default | Description |
|
|
|
|
| MTN target environment. |
| MTN sandbox URL | Override the API base URL. |
|
| Request timeout in seconds. |
|
| Retry count for transient failures. |
|
| Maximum collection amount accepted by this server. |
| unset | Must be |
Security
Demo mode is the default. It never contacts MTN and never moves money.
Live mode refuses non-sandbox targets unless
MOMO_MCP_ALLOW_PRODUCTION=1.Collection amounts are capped by
MOMO_MCP_MAX_AMOUNT(default1000.00).Secrets are read from environment variables and are never returned by tools.
momo_get_configreports whether credentials exist, not their values.momo_verify_transactiononly returnsverified: truewhen MTN reportsSUCCESSFULand the amount, currency andexternal_idmatch the expected order.If a live collection request loses its response, the tool returns the original
reference_idwithstatus: UNKNOWNand tells the agent to verify that reference id instead of creating a second request.A rejected request returns
status: FAILEDand must not be polled.Do not point this server at production without an explicit review of limits, approvals, idempotency and audit logging.
Development
uv sync --extra dev
uv run ruff check .
uv run mypy
uv run pytestLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-to-business commerce sandbox: intents, offers, bookings. Demo data, ed25519-signed calls.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Email inboxes, webhook URLs, mock APIs and 170+ tools for coding agents over one MCP connection.
Test-only preflight MCP server; fake payment only, no production payments.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to request policy-governed payments through MCP tools, with server-side enforcement of spending limits, merchant allow-lists, Pix BR Code validation, approval thresholds, and hash-chained audit logging in a sandbox. It lets agents check wallets, create card or Pix payment intents, and poll or list payments while keeping approval and limit changes out of agent control.Apache 2.0
- AlicenseAqualityCmaintenanceIt enables AI assistants to request payments, check account balances and status, and track transactions over MTN Mobile Money. It runs locked to MTN's sandbox unless a production country is explicitly selected and separately acknowledged.7MIT
- AlicenseAqualityBmaintenanceSynthetic sandbox for onboarding, payout and account-change failure/callback branches. Five read-only MCP tools plus 14 Agent Skills. No live identity verification.5182 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceEnables an agent to list and read sample accounts and transfers and to request transfers in a simulated payments API, where each request waits for a person to approve or reject it on a web page before anything posts. Includes browser approval and recovery pages, an audit download, and evaluation cases, all against sample data with no real money.MIT