
Interswitch Mcp Server
io.github.Dairus01Published by GitHub account Dairus01v0.1.3Updated Oct 27, 2026
MCP server for Interswitch APIs: payments, transfers, Verve cards, airtime, and paycodes.
Overview
Local MCP server exposing Interswitch payment, transfer, card, airtime, paycode, lending and agency banking APIs to an AI assistant.
- What you can do
- Initialize payments, create payment links, check transaction status, fetch transactions by reference and initiate or check refunds
- List billers and packages, validate customers, pay bills and VAS bills, recharge airtime and request ePINs
- Send single or bulk bank transfers, resolve bank accounts, list bank codes and requery transfers
- Create, check and deactivate cardless paycodes, including bulk creation
- Search transactions, fetch transaction details, and run Card 360 card creation, PIN, block/unblock, balance and card lookup operations
- Request nano loans, salary lending and value financing, run credit inquiries, and read customer demographics and financial history
- When to use it
- Useful when you need an assistant to work with Interswitch payment and fintech APIs from a desktop MCP client, for example checking transaction status, resolving accounts, or testing payment flows in the sandbox before touching production.
- Requirements
- Runs locally via npx or a global npm install; needs Node.js v18+ and network access to Interswitch. Requires INTERSWITCH_CLIENT_ID and INTERSWITCH_CLIENT_SECRET, plus domain-specific identifiers such as merchant, payable, initiating entity and terminal codes; Card 360, Transaction Search and Agency Banking need their own credentials. INTERSWITCH_ENV selects sandbox (default) or production.
Installation
In SourceWeft
- Open Interswitch Mcp Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Interswitch MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with Interswitch APIs for payments, transfers, VAS, cardless paycodes, Transaction Search, Card 360, lending, payouts, agency banking, and fintech card-processing utilities.
[!WARNING] Public Preview: This MCP server is currently in public preview. It supports both Interswitch sandbox and production environments, so use cautiously, start with read-only mode, and report any issues you encounter.
Quick Start
Install and run via npm (recommended):
Or install globally:
Or for local development, clone and build:
Then configure your MCP client to use the server (see Client Integration).
Requirements
- Node.js v18+
- npm or yarn
- Interswitch API credentials for the domains you want to use
- Required Interswitch merchant, payable, initiating entity, terminal, or domain-specific identifiers for your use case
Configuration Options
You can select the API environment with INTERSWITCH_ENV:
- Sandbox (default):
INTERSWITCH_ENV=sandbox - Production:
INTERSWITCH_ENV=production
Security note: Production mode uses real Interswitch production endpoints. If
INTERSWITCH_ENV=production, valid production credentials are configured,INTERSWITCH_READ_ONLY=false, and a write tool is called withconfirm: true, the server can make real production API calls.
For safer first-time setup, start in read-only mode:
When you are authorized and ready to allow live writes, set:
Client Integration
The Interswitch MCP Server works with any MCP-compatible client. Below is the standard configuration schema used by most clients (Claude Desktop, ChatGPT Desktop, Cursor, Windsurf, VS Code, Claude Code, etc.).
Using npm (recommended)
For npm-installed server:
For production, change the environment values intentionally:
Using a local build
If you've cloned and built the server locally:
[!IMPORTANT] When setting
command: "node", you should ensure you're using Node v18+. If you are using a package manager, you might need to get the path of your Node binary by running this command in your CLI:Linux and MacOS
Windows
Once you have the path, use it as the value of the MCP Server command in the JSON configuration. e.g.,
command: "path/to/installation/bin/node"
Where to add this configuration
How It Works
The Interswitch MCP Server exposes Interswitch API domains to AI assistants through dedicated MCP tools. The server does not parse an OpenAPI file at runtime; instead, it provides curated, typed tools for the supported Interswitch domains.
Architecture Diagram
Each tool:
- Validates its input with a strict schema
- Applies confirmation and read-only safety gates
- Selects the configured sandbox or production base URL
- Uses the correct authentication system for the domain
- Calls the Interswitch API only when the tool is invoked
- Redacts sensitive fields from returned data
- Returns a normalized MCP response
Authentication systems
Available Tools
Available Resources
Example
When you ask your AI assistant something like "Use Interswitch to initialize a 5000 NGN payment for [email protected]", here's what happens behind the scenes:
- The assistant selects
isw_initialize_payment - It passes explicit money input such as
amountNaira: 5000 - For write operations, it must include
confirm: true - The server validates the request, converts the amount safely where required, authenticates with Interswitch, and calls the configured sandbox or production endpoint
- You get a normalized response with redacted raw data
Prompt recommendation
To get the best results when using this MCP server, be specific in your prompts and always include "Interswitch" in your requests.
Good prompts:
- "Initialize an Interswitch payment for 50000 NGN for [email protected]."
- "Check the Interswitch transaction status for reference order-1001."
- "Resolve Interswitch bank account 0123456789 with bank code 058."
- "Send an Interswitch single transfer for 1000 NGN with confirm true."
- "Read the Interswitch response code resource."
Less effective prompts:
- "List my transactions" (unclear which service and reference/search criteria to use)
- "Send money" (missing beneficiary, bank, amount, and confirmation details)
- "Pay this bill" (missing biller, package, customer, and amount details)
Being explicit ensures the LLM narrows down to the right tool quickly and reduces ambiguity.
Production Safety
This server can route to production Interswitch endpoints when INTERSWITCH_ENV=production is set. Production readiness depends on correct credentials, Interswitch account permissions, and your organization's operational controls.
Safety behavior built into the server:
- Write tools require
confirm: true - High-risk sensitive read tools require
confirm: true INTERSWITCH_READ_ONLY=trueblocks all writes before any external API call- Low-risk reads do not require confirmation
- Raw responses are redacted before being returned
- Tokens and secrets are never intentionally returned in tool output
- Card PIN payloads are encrypted locally when the required RSA public key is configured
- Production startup warnings are written to stderr instead of silently hiding risky configuration
Recommended production rollout:
- Configure production credentials but keep
INTERSWITCH_READ_ONLY=true - Verify startup warnings and config summary
- Test safe read-only tools first
- Confirm domain credentials for the exact tools you intend to use
- Switch
INTERSWITCH_READ_ONLY=falseonly when live writes are authorized - Require human review before prompts that include
confirm: true
Development
Run locally (without building)
For local development and testing, you can run the TypeScript source directly:
Run with MCP Inspector
Build
Run tests
Type-check
Preview npm package contents
Troubleshooting
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
See CONTRIBUTING.md for more details.
License
MIT
Source: README.md at commit c10b0cc
Tools
0Version history
1- v0.1.3LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts