paystack-mcp-server
Enables interaction with Paystack via MCP tools to get total transactions, create checkout links, and verify transactions.
README
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.
📦 Installation
git clone "https://github.com/JohnnieEmmanuel/paystack-mcp-server.git"
cd <project-folder>
npm install
🚀 Usage
Build the project:
npm run build
Run the server:
node build/index.js
Ensure 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]
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
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.