lipila-mcp
MCP server for the Lipila payment gateway, enabling AI agents to initiate mobile money and card collections, disburse funds, check transaction statuses, and verify webhook callbacks.
README
lipila-mcp
MCP Server + Agent Skills for the Lipila payment gateway.
What's Included
MCP Server (index.js)
Expose Lipila payment tools to any MCP-compatible AI agent.
Tools:
| Tool | Description |
|---|---|
lipila_collect_mobile |
Initiate MoMo collection (MTN, Airtel, Zamtel) |
lipila_collect_card |
Initiate card payment (Visa, MC, Amex) |
lipila_disburse |
Send money to mobile wallet |
lipila_check_status |
Check transaction status |
lipila_webhook_verify |
Parse webhook callback payload |
Agent Skill (skills/SKILL.md)
Full API reference, workflows, and error handling for Hermes Agent.
Setup
1. Install dependencies
npm install
2. Get your API key
- Sandbox: https://dashboard.lipila.dev
- Production: https://dashboard.lipila.io
3. Configure your agent
Hermes Agent — add to config.yaml:
mcp_servers:
lipila:
command: node
args: ["/path/to/lipila-mcp/index.js"]
env:
LIPILA_API_KEY: "lsk_your_key_here"
LIPILA_ENV: "production" # or "sandbox"
Claude Code — add to ~/.claude/settings.json:
{
"mcpServers": {
"lipila": {
"command": "node",
"args": ["/path/to/lipila-mcp/index.js"],
"env": {
"LIPILA_API_KEY": "lsk_your_key_here",
"LIPILA_ENV": "production"
}
}
}
}
Codex — add to ~/.codex/config.toml:
[mcp_servers.lipila]
command = "node"
args = ["/path/to/lipila-mcp/index.js"]
[mcp_servers.lipila.env]
LIPILA_API_KEY = "lsk_your_key_here"
LIPILA_ENV = "production"
Antigravity — add to ~/.gemini/antigravity-ide/mcp_config.json:
{
"mcpServers": {
"lipila": {
"command": "node",
"args": ["/path/to/lipila-mcp/index.js"],
"env": {
"LIPILA_API_KEY": "lsk_your_key_here",
"LIPILA_ENV": "production"
}
}
}
}
4. Restart your agent
API Reference
Base URLs
- Sandbox:
https://api.lipila.dev/api/v1 - Production:
https://blz.lipila.io/api/v1
Authentication
All requests use x-api-key header.
Collections — Mobile Money
POST /collections/mobile-money
| Field | Type | Required |
|---|---|---|
| referenceId | string | Yes |
| amount | number | Yes |
| narration | string | Yes |
| accountNumber | string | Yes |
| currency | string | Yes |
| string | No |
Collections — Card
POST /collections/card
Same fields as mobile money.
Disbursements
POST /disbursements/mobile-money
Same fields as collections.
Transaction Status
GET /transactions/{referenceId}
Webhooks
Lipila sends callbacks with:
{
"referenceId": "...",
"amount": 1.75,
"currency": "ZMW",
"status": "Successful",
"paymentType": "Card",
"type": "Collection",
"accountNumber": "260xxxxxxxxxx",
"identifier": "TXN123456789",
"message": "Payment completed successfully.",
"externalId": "MP250000987654321"
}
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.