paystack-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@paystack-mcp-servershow my total transactions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Paystack Server
This project is a ModelContextProtocol (MCP) compatible server for Paystack, enabling you to interact with your Paystack account using MCP tools and LLMs. It is built with Node.js, *TypeScript
🔧 Features
get-total-transactions: Get the total number and amount of all your Paystack transactions.create-checkout-link: Instantly generate a Paystack payment link for a customer to pay a specified amount.verify-transaction: Verify the status of a transaction using its reference code.
Related MCP server: PayFast MCP
📦 Installation
git clone "https://github.com/JohnnieEmmanuel/paystack-mcp-server.git"
cd <project-folder>
npm install🚀 Usage
Build the project:
npm run buildRun the server:
node build/index.jsEnsure the MCP consumer you're connecting to is set up to use STDIO transport.
🛠 Tools
1️⃣ get-total-transactions
Fetches the total number and amount of all your Paystack transactions.
Input:
{
"apiKey": "sk_test_xxx"
}Output (MCP):
Text block summarizing total transactions and total amount.
2️⃣ create-checkout-link
Generates a Paystack payment link for a customer.
Input:
{
"apiKey": "sk_test_xxx",
"amount": 5000,
"email": "customer@email.com",
"metadata": { "orderId": "1234" }
}Amount is in Naira (₦).
Output (MCP):
The payment/checkout link URL.
3️⃣ verify-transaction
Verifies a transaction by its reference code.
Input:
{
"apiKey": "sk_test_xxx",
"reference": "transaction_ref"
}Output (MCP):
Status and details of the transaction.
🧱 Tech Stack
Node.js + TypeScript
Zod for schema validation
node-fetch for HTTP requests
MCP SDK for server integration and transport
📄 License
MIT License
🧠 Credits
Built by [John Emmanuel || Red John || https://github.com/JohnnieEmmanuel]
This server cannot be deployed
Maintenance
Related MCP Connectors
Pay-per-call MCP tools via x402 USDC: ZAR prices, data extraction, Python sandbox, SA flights.
Read payment settings, orders and receipts, create payment links and API keys.
Create and manage checkout pages, event ticketing, forms, customers, payments and subscriptions.
Remote MCP for ifthenpay payments: Multibanco, MB WAY and Payshop.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceCentralizes payment gateway integrations for Pagar.me (customers, recipients, Pix, credit card, splits, charges) and Woovi/OpenPix (Pix charges, refunds, webhook verification) through MCP tools.3 npmMIT
- AlicenseBqualityDmaintenanceEnables interaction with the South African PayFast payment gateway to manage transactions, subscriptions, and refunds. It allows users to create payments, query transaction statuses, and check settlement balances through the MCP protocol.816 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to accept payments, verify transactions, and manage customers via Paystack API through natural language.MIT
- AlicenseBqualityDmaintenanceEnables AI agents to manage Paystack payments, products, customers, and transactions through natural language.288 npm9MIT