
Easypaydirect Mcp
io.github.praveendias1180由 GitHub 帳號 praveendias1180 發布v0.1.3更新於 Oct 24, 2026
Read-only MCP server for the Easy Pay Direct (EPD) / NMI-family payment gateway Query API.
概覽
唯讀 MCP 伺服器,讓助理查詢 Easy Pay Direct / NMI 系列支付閘道的交易、訂閱、循環方案與客戶保管庫紀錄。
- 可以做什麼
- 依交易 ID、日期範圍、狀態、操作類型、付款類型、來源、電子郵件或訂單編號查詢與搜尋交易。取得並列出循環訂閱,可依建立或更新時間範圍篩選。列出循環計費方案,或依方案 ID 取得單一方案。取得或列出已儲存的客戶保管庫紀錄,可依日期範圍篩選。
- 適用情境
- 適合以自然語言詢問閘道的付款紀錄,例如找出某位客戶上週失敗的交易,或確認某個訂閱是否仍有效,而不必登入商戶後台。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 18+;也可用 Docker 容器執行並保持標準輸入開啟。需要環境變數 NMI_SECURITY_KEY(建議使用唯讀金鑰),可選 NMI_API_URL,預設指向 NMI 主機,可設為 EPD 或白標閘道主機。需要能連線至閘道的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Easypaydirect Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
easypaydirect-mcp
[npm] [CI] [docs] [good first issues] [license: MIT]
📖 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+.
The server speaks MCP over stdio and expects two environment variables:
See docs/configuration.md for how to find your key and host.
Run with Docker
No local Node.js needed. Build the image from the repository root, then run it with -i — MCP talks over stdio, so the container needs stdin kept open:
Or keep the variables in an env file (--env-file .env). .env is already git-ignored — never commit a real key.
Connect it to Claude
Claude Desktop — add to claude_desktop_config.json (see examples/claude-desktop-config.json):
Claude Code:
To use the Docker image instead, swap the command — a bare -e NAME forwards the variable into the container:
Full walkthrough: docs/getting-started.md.
Claude Code plugin (server + skill)
The plugin installs the MCP server and an Agent Skill that teaches Claude how to read gateway data correctly — for example that a successful ACH sale is only submitted, not paid, and that EPD timestamps are UTC.
Set the key in your shell (the plugin reads it from the environment), then install:
Using another client? The skill is a plain SKILL.md — add it to any tool that supports Agent Skills.
Tools
All tools are read-only. Full reference in docs/tools.md.
Develop
Local run against the MCP Inspector:
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 — 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.
來源:README.md,提交 0bd2a9d
工具
0版本歷史
2- v0.1.3最新Sep 18, 2026
- v0.1.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分