paystack-readonly-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.
paystack-readonly-mcp
A read-only MCP server for Paystack that works with live keys. Ask Claude, Cursor, Gemini CLI or any MCP client things like "did this customer's payment go through?", "why didn't this subscription renew?" or "what did we settle this week?", against your real account, with no way for the AI to move money.
Paystack's official MCP server only accepts test keys, because it can call every endpoint, including refunds and transfers. This one takes the opposite approach: it can read your live data, and it physically cannot do anything else.
What makes it safe on a live key
Fixed allowlist of 19 read endpoints. There is no generic "make a request" tool. It cannot charge, refund, transfer, create, update or cancel anything, whatever arguments it is given.
"GET" is not trusted on its own. Some Paystack GET endpoints change state (
/bulkcharge/pause/{code},/bulkcharge/resume/{code}), so they are not on the list.Card authorization codes are masked (
authorization_code,signature) in every response. With your secret key, an authorization code can charge a saved card, so it should never end up in a chat log. Last4, card type and bank still show.Your key only goes to
api.paystack.co. It is scrubbed from error messages and never returned.Ids are validated (no
/, no..), and unknown arguments are dropped.Runs on your machine. Your key never touches anyone else's server.
Every tool description starts with [Paystack live, read-only] or [Paystack test, read-only], so you
always know which account you're reading.
Related MCP server: klarna-mcp
Tools
Area | Tools |
Transactions |
|
Customers |
|
Subscriptions |
|
Money |
|
Problems |
|
Amounts are in the smallest currency unit (kobo for NGN: ₦1 = 100). Endpoints and parameters follow Paystack's own OpenAPI spec.
Setup
You need Node.js 20 or newer and a Paystack secret key (Settings → API Keys & Webhooks).
Store the key in a file that holds only the key, outside any git repo, for example
~/.paystack/live_key (Windows: C:\Users\you\.paystack\live_key). That keeps it out of your MCP
config files. You can also pass it as PAYSTACK_SECRET_KEY instead.
Claude Code
claude mcp add paystack --scope user \
-e PAYSTACK_KEY_FILE=/home/you/.paystack/live_key \
-- npx -y paystack-readonly-mcpClaude Desktop, Cursor, and other JSON configs
{
"mcpServers": {
"paystack": {
"command": "npx",
"args": ["-y", "paystack-readonly-mcp"],
"env": { "PAYSTACK_KEY_FILE": "/home/you/.paystack/live_key" }
}
}
}Codex CLI (~/.codex/config.toml)
[mcp_servers.paystack]
command = "npx"
args = ["-y", "paystack-readonly-mcp"]
env = { PAYSTACK_KEY_FILE = "/home/you/.paystack/live_key" }Restart your client, then try: "List my last 5 successful Paystack transactions."
Things to know
Responses include your customers' names and emails, so the conversation that uses this tool contains customer data. Use it with an AI provider and account you trust with that.
Refunds, cancellations and payouts stay in the Paystack dashboard, where you approve them yourself.
PAYSTACK_BASE_URLexists only for tests and only acceptslocalhost.
Development
npm install
npm test # 30 checks against a local stand-in for Paystack; never calls the real APILicense
MIT © Simon Olawuyi. Not affiliated with or endorsed by Paystack.
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
Read transactions; manage customers, checkouts, payment requests and subscriptions in Paystack.
1Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Query 40 databases from Claude, ChatGPT, or Cursor — on any device. Read-only, encrypted, audited.
Connect your ads, shop, analytics, social, CRM and finance platforms once, then let Claude, ChatGPT, Cursor or any MCP client read, join and explain your numbers. Public statistics from the World Bank, IMF, Eurostat, OECD, WHO and SEC filings come as context, searchable and chartable from the same tools. Read-only by design, every number carries its source.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to query Stripe operations such as customers, recent charges, duplicate charges, and revenue summaries through read-only MCP tools.4MIT
- AlicenseAqualityCmaintenanceEnables MCP clients such as Claude, Cursor and Claude Code to read Klarna merchant data — order status and captures, refunds, payouts, settlement transactions and reports, disputes, and payment sessions — with capture, refund, cancel and authorization tools available only when writes are explicitly enabled. Read-only by default, with idempotency keys on writes and credentials kept out of the conversation.13MIT
- AlicenseBqualityCmaintenanceEnables MCP clients such as Claude Code, Claude Desktop, and Cursor to read a user's own Open Finance Brasil data through Meu Pluggy — accounts, balances, transactions, card bills, investments, and spending by category — while remaining strictly read-only and never moving money or storing data.7MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to create Paystack checkout links, verify payments, read transaction history, and list supported banks across African markets, with test-mode enforcement and safety guards for live payments.6MIT