Back to Browse

Easypaydirect MCP Server

Developer ToolsModerate5.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Read-only MCP server for the Easy Pay Direct (EPD) / NMI-family payment gateway Query API.

About

Read-only MCP server for the Easy Pay Direct (EPD) / NMI-family payment gateway Query API.

Security Report

5.2
Moderate5.2Moderate Risk

This is a well-designed read-only MCP server for querying payment gateway data. The codebase demonstrates strong security discipline: authentication is required via environment variables, all operations are strictly read-only (no write endpoints), and permissions are appropriately scoped to the Query API. Minor quality improvements around error handling and input validation are recommended, but do not present security risks. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.

7 files analyzed ยท 8 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Gateway API security key (a read-only key is recommended).Required

Environment variable: NMI_SECURITY_KEY

Gateway API base URL; defaults to https://secure.nmi.com. Set to your EPD / white-label host.Optional

Environment variable: NMI_API_URL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-praveendias1180-easypaydirect-mcp": {
      "env": {
        "NMI_API_URL": "your-nmi-api-url-here",
        "NMI_SECURITY_KEY": "your-nmi-security-key-here"
      },
      "args": [
        "-y",
        "easypaydirect-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub 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+.

# no install needed โ€” run straight from npm
npx easypaydirect-mcp

The server speaks MCP over stdio and expects two environment variables:

VariableRequiredDescription
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.

ToolWhat it does
get_transactionFetch one transaction by gateway transaction ID.
search_transactionsSearch transactions by date range + filters (condition, action type, payment type, source, email, order id).
get_subscriptionFetch one recurring subscription by ID.
list_subscriptionsList recurring subscriptions, optionally by created/updated date range.
list_recurring_plansList recurring billing plans (or one by plan_id).
get_customer_vault_recordFetch one stored Customer Vault record by ID.
list_customer_vaultList 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.

Reviews

No reviews yet

Be the first to review this server!

Easypaydirect MCP Server - Read-only MCP server for the Easy Pay Direct (EPD) / | MCP Marketplace