easypaydirect-mcp
Read-only MCP server for Easy Pay Direct / NMI payment gateway, enabling natural language queries of transactions, subscriptions, and customer vault records.
README
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-mcp
The server speaks MCP over stdio and expects two environment variables:
| Variable | Required | Description |
|---|---|---|
NMI_SECURITY_KEY |
✅ | Your gateway API security key (a read-only key is recommended). Merchant portal → Settings → Security Keys. |
NMI_API_URL |
— | Gateway API base URL. Defaults to https://secure.nmi.com. For EPD/white-labels, set this to your gateway's host. |
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-mcp
Full walkthrough: docs/getting-started.md.
Tools
All tools are read-only. Full reference in docs/tools.md.
| Tool | What it does |
|---|---|
get_transaction |
Fetch one transaction by gateway transaction ID. |
search_transactions |
Search transactions by date range + filters (condition, action type, payment type, source, email, order id). |
get_subscription |
Fetch one recurring subscription by ID. |
list_subscriptions |
List recurring subscriptions, optionally by created/updated date range. |
list_recurring_plans |
List recurring billing plans (or one by plan_id). |
get_customer_vault_record |
Fetch one stored Customer Vault record by ID. |
list_customer_vault |
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 only
Local run against the MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.js
Architecture 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。