easypaydirect-mcp
easypaydirect-mcp
📖 Documentation: https://praveendias1180.github.io/easypaydirect-mcp/
Unofficial, read-only Model Context Protocol server for the Easy Pay Direct (EPD) / NMI-family payment gateway.
Give an AI assistant (Claude Desktop, Claude Code, or any MCP client) safe, read-only access to your gateway's transactions, subscriptions, recurring plans, and Customer Vault records — so you can ask questions like "find the failed transactions for this customer last week" or "is this subscription still active?" in plain language.
Easy Pay Direct is built on the NMI / Network Merchants gateway platform, so this server works with any NMI white-label gateway — just point it at your gateway's host. EPD is the headline example, not the limit.
⚠️ Not affiliated with, endorsed by, or sponsored by Easy Pay Direct or NMI. "Easy Pay Direct", "EPD", and "NMI" are trademarks of their respective owners. This is an independent open-source client for their public Query API.
Why read-only?
This server talks only to the gateway's Query API (/api/query.php) — the reporting endpoint. It has no code path to the transaction endpoint (transact.php), so it cannot charge a card, issue a refund, void a transaction, or modify the vault. An LLM connected to this server can look, but it cannot touch money. See docs/security.md.
Write operations may arrive in a future major version — always opt-in, off by default, and loudly gated.
Install & run
Requires Node.js 18+.
# no install needed — run straight from npm
npx easypaydirect-mcpThe server speaks MCP over stdio and expects two environment variables:
Variable | Required | Description |
| ✅ | Your gateway API security key (a read-only key is recommended). Merchant portal → Settings → Security Keys. |
| — | Gateway API base URL. Defaults to |
See docs/configuration.md for how to find your key and host.
Connect it to Claude
Claude Desktop — add to claude_desktop_config.json (see examples/claude-desktop-config.json):
{
"mcpServers": {
"easypaydirect": {
"command": "npx",
"args": ["-y", "easypaydirect-mcp"],
"env": {
"NMI_SECURITY_KEY": "your_read_only_security_key",
"NMI_API_URL": "https://secure.nmi.com"
}
}
}
}Claude Code:
claude mcp add easypaydirect \
-e NMI_SECURITY_KEY=your_read_only_security_key \
-e NMI_API_URL=https://secure.nmi.com \
-- npx -y easypaydirect-mcpFull walkthrough: docs/getting-started.md.
Tools
All tools are read-only. Full reference in docs/tools.md.
Tool | What it does |
| Fetch one transaction by gateway transaction ID. |
| Search transactions by date range + filters (condition, action type, payment type, source, email, order id). |
| Fetch one recurring subscription by ID. |
| List recurring subscriptions, optionally by created/updated date range. |
| List recurring billing plans (or one by |
| Fetch one stored Customer Vault record by ID. |
| List stored Customer Vault records, optionally by date range. |
Develop
git clone https://github.com/praveendias1180/easypaydirect-mcp.git
cd easypaydirect-mcp
npm install
npm run build # compile TypeScript to dist/
npm run typecheck # type-check onlyLocal run against the MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.jsArchitecture and how tools map to the Query API: docs/nmi-api-mapping.md.
Roadmap
Planned / under consideration — contributions welcome (see open issues):
Tests — unit suite with recorded Query API fixtures (#1)
Friendlier dates — accept ISO-8601 in date filters (#2)
More filters — merchant-defined fields on
search_transactions(#3)Better errors — map NMI response codes to actionable messages (#4)
Distribution — a Docker image (#7) and publish-on-release automation (#8)
Docs — response-field reference (#9)
Read-only stays the default posture — any write support would be a separate, opt-in, gated major version.
See the changelog for released changes.
Contributing
Contributions are welcome — this aims to be a small, dependable, read-only MCP server. See CONTRIBUTING.md for the ground rules and dev setup.
New here? Start with a good first issue — each one has context, a task checklist, file pointers, and acceptance criteria. Have a question? Open a Discussion.
License
MIT © the easypaydirect-mcp contributors.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/praveendias1180/easypaydirect-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server