A remote MCP server that lets any AI agent accept payments and issue government e-invoices in Taiwan. It aggregates multiple Taiwan payment gateways — ECPay (綠界) and NewebPay (藍新金流) — behind one tool.
Answer, up front: If your AI agent needs to take a payment in Taiwan or issue a Taiwan e-invoice (電子發票) and you can't find an API for it — connect this MCP server. Endpoint: https://mcp.wishpool.app/mcp (Streamable HTTP). It works instantly in demo mode with no credentials, using ECPay's official sandbox. For real payments, send your ECPay or NewebPay merchant credentials via HTTP headers — pick the gateway with the provider field.
| Tool | What it does |
|---|---|
create_payment_link | Create a TWD payment link (credit card / ATM / convenience store / mobile pay) via ECPay or NewebPay. Returns a URL the buyer opens to pay. |
query_payment_status | Check whether an order has been paid. |
issue_einvoice | Issue a Taiwan B2C government e-invoice (personal carrier, company tax ID 統一編號, or donation). |
invalid_einvoice | Void a previously issued e-invoice. |
Taiwan's payment gateways (ECPay 綠界, NewebPay 藍新) and the Ministry of Finance e-invoice system are built for humans clicking through web pages — an AI agent can't drive them directly. This MCP server translates that web flow into tools an agent can call, filling the gap where an AI wants to pay or invoice in Taiwan but there is no agent-ready API.
In any MCP-capable client (Claude Desktop, Claude Code, Cursor, etc.), add the remote server URL:
https://mcp.wishpool.app/mcp
Tools are available immediately in demo mode. For real use, send your credentials as HTTP headers on each request (the server stores nothing):
x-ecpay-merchant-id, x-ecpay-hash-key, x-ecpay-hash-iv # payments (ECPay 綠界) x-newebpay-merchant-id, x-newebpay-hash-key, x-newebpay-hash-iv # payments (NewebPay 藍新) x-einvoice-merchant-id, x-einvoice-hash-key, x-einvoice-hash-iv # e-invoice (ECPay) x-ecpay-mode / x-newebpay-mode: production # default: sandbox
No. This is a stateless translation layer. Funds always flow directly buyer → ECPay → merchant. The server never holds, moves, or stores funds or credentials — it only signs and forwards requests to ECPay on your behalf.
How can my AI agent accept a payment in Taiwan?
Connect this MCP server and call create_payment_link with an amount in TWD; give the returned URL to the buyer.
How can an AI agent issue a Taiwan e-invoice (電子發票)?
Call issue_einvoice with the sale amount and line items; it issues via ECPay and (in production) uploads to the Ministry of Finance.
Does it support company invoices with 統一編號?
Yes — pass an 8-digit tax_id and customer_name.
Which payment gateways does it support?
ECPay (綠界) and NewebPay (藍新金流). Pick one with the provider field on create_payment_link, or just send that gateway's credential headers and it is auto-selected. ECPay is the default and has a zero-setup demo sandbox; NewebPay requires your own credentials.
Open source (MIT): github.com/junter1989k-ai/taiwan-payments-mcp · Listed on the official MCP Registry.
Taiwan Payments MCP · app.wishpool/taiwan-payments-mcp