HitPay MCP server
Commit 30 Okt 2026Memungkinkan AI client untuk mengelola pembayaran HitPay, invoice, dan saldo akun melalui akses API live dan scaffolding integrasi otomatis.
Juga dikenal sebagai hit-pay/claude-code-plugin, claude-code-plugin
- Stars
- 1
- Tools
- 20
- Unduhan, 30 hari
- —
- Versi terbaru
- 1.0.0
- Commit terakhir
- 30 Okt 2026
- Lisensi
- MIT
Apa itu HitPay MCP?
HitPay adalah MCP server. Memungkinkan AI client untuk mengelola pembayaran HitPay, invoice, dan saldo akun melalui akses API live dan scaffolding integrasi otomatis. Server ini menyediakan 20 tool, seperti get_account_status, get_balances, get_payment_request.
Ringkasan dibuat dari README proyek
Tentang HitPay MCP server
Mengelola integrasi pembayaran dan transaksi bisnis di Asia Tenggara menjadi lebih praktis melalui HitPay MCP Server. Developer dapat menggunakan tool ini untuk melakukan scaffolding kode yang siap produksi untuk alur checkout, penanganan webhook, dan metode pembayaran di berbagai pasar seperti Singapura, Malaysia, dan Filipina. Tool ini menyediakan pemahaman mendalam tentang pola HitPay untuk membantu membangun integrasi Next.js atau form pembayaran yang dapat disematkan menggunakan HitPay.js.
User dapat terhubung melalui setup lokal yang memerlukan environment variables HITPAY_API_KEY dan HITPAY_SALT, atau menggunakan versi hosted yang menggunakan OAuth untuk pemilik bisnis dan admin. Versi lokal memungkinkan tugas teknis seperti menghasilkan payload webhook test dengan /hitpay:webhook-test atau melakukan scaffolding project dengan /hitpay:init. Server hosted memungkinkan query untuk data penjualan live, transaksi, dan saldo akun.
Melalui MCP tools tertentu, server ini menangani operasi read seperti get_balances dan list_invoices, serta operasi create seperti create_payment_request dan create_recurring_billing. Keamanan tetap terjaga dengan mengecualikan tindakan destruktif seperti refund atau pembatalan dari automated skills miliknya.
Apa yang bisa Anda lakukan dengannya
- 1Scaffold integrasi pembayaranMenghasilkan integrasi pembayaran Next.js yang lengkap untuk pasar spesifik seperti Singapura atau Malaysia.
- 2Test keamanan webhookMembuat payload webhook test dan perintah curl untuk memverifikasi notifikasi pembayaran.
- 3Kelola keuangan bisnisMelakukan query pada data penjualan live, transaksi, payout, dan saldo akun melalui koneksi OAuth.
- 4Generate pembayaran QRMembuat halaman pembayaran QR yang dapat dipindai untuk nominal dan mata uang tertentu.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal HitPay MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal HitPay MCP di Claude Code
$ claude mcp add --transport http claude-code-plugin https://mcp.hit-pay.com/Instal HitPay MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"claude-code-plugin": {
"url": "https://mcp.hit-pay.com/"
}
}
}Instal HitPay MCP di VS Code
.vscode/mcp.json
{
"servers": {
"claude-code-plugin": {
"type": "http",
"url": "https://mcp.hit-pay.com/"
}
}
}Instal HitPay MCP di VS Code CLI
$ code --add-mcp '{"name":"claude-code-plugin","type":"http","url":"https://mcp.hit-pay.com/"}'Instal HitPay MCP di Codex
$ codex mcp add claude-code-plugin --url https://mcp.hit-pay.com/Instal HitPay MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.claude-code-plugin] url = "https://mcp.hit-pay.com/"
Instal HitPay MCP di Gemini CLI
$ gemini mcp add -s user --transport http claude-code-plugin https://mcp.hit-pay.com/Instal HitPay MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"claude-code-plugin": {
"url": "https://mcp.hit-pay.com/",
"type": "http"
}
}
}Tool HitPay MCP 20
Terdeteksi dari READMEget_account_statusget_balancesget_payment_requestlist_payment_requestslist_chargesget_charge_detaillist_customersget_customerlist_invoiceslist_subscription_planslist_static_qrsget_supported_qr_methods
| get_account_status | — | |
| get_balances | — | |
| get_payment_request | — | |
| list_payment_requests | — | |
| list_charges | — | |
| get_charge_detail | — | |
| list_customers | — | |
| get_customer | — | |
| list_invoices | — | |
| list_subscription_plans | — | |
| list_static_qrs | — | |
| get_supported_qr_methods | — |
Tampilkan semua 20 toolTampilkan lebih sedikit tool
get_account_infocreate_payment_requestcreate_customercreate_invoicecreate_embedded_qrcreate_static_qrcreate_webhook_eventcreate_recurring_billing
| get_account_info | — | |
| create_payment_request | — | |
| create_customer | — | |
| create_invoice | — | |
| create_embedded_qr | — | |
| create_static_qr | — | |
| create_webhook_event | — | |
| create_recurring_billing | — |
Konfigurasi
HITPAY_API_KEYHITPAY_SALT
| Nama | Deskripsi | Tipe |
|---|---|---|
| HITPAY_API_KEY | — | |
| HITPAY_SALT | — |
Pengecekan otomatis
Berjalan 13 Nov 2026Laporan lengkap →Belum diverifikasi. Sebuah server memerlukan skor 80, tidak ada temuan serius, dan data yang cukup untuk kami periksa. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkauhit-pay/claude-code-plugin is public and reachablegithub.com/hit-pay/claude-code-plugin ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernyaTidak diperiksa
- Provenance build (atestasi Sigstore)Tidak diperiksa
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-10-30github.com/hit-pay/claude-code-plugin ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerTidak diperiksa
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model20 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelNo tool named like delete, drop or execLolos
- Endpoint remote merespons handshake MCPHTTPS endpoint answered 401 (sign-in required)Lolos
README
Lihat di GitHubHitPay Plugin for Claude Code
Zero-config SEA payment integration for Claude Code. Gives Claude deep knowledge of HitPay's payment gateway plus live API access — so when developers ask for payment integration, Claude scaffolds production-ready code with the right payment methods, webhook handling, and checkout flows.
What's Inside
| Layer | What It Does | Files |
|---|---|---|
| MCP Server | Live API access — create payments, check statuses, query account | .mcp.json |
| Skills | Teach Claude correct code patterns for HitPay integration | skills/ (5 skills) |
| Commands | Developer actions — scaffold, lookup, test, QR checkout | commands/ (4 commands) |
Installation
Via Marketplace (recommended)
/plugin marketplace add hit-pay/claude-code-plugin
/plugin install hitpay@hitpay-plugins
Local Development
git clone https://github.com/hit-pay/claude-code-plugin.git hitpay-plugin
claude --plugin-dir ./hitpay-plugin
Setup
Set your HitPay API credentials:
export HITPAY_API_KEY=your_api_key_here
export HITPAY_SALT=your_webhook_salt_here
Get these from your HitPay Dashboard under Settings > Payment Gateway > API Keys.
Skills
Skills are auto-invoked when Claude detects relevant context in your conversation.
| Skill | Triggers On | What It Teaches |
|---|---|---|
| payment-integration | "add HitPay", "payment checkout", "accept payments" | API routes, redirect/QR/selector flows, auth headers, test cards |
| webhook-handler | "webhook signature", "payment notification", "verify webhook" | HMAC-SHA256 verification, event types, IP allowlisting, idempotency |
| payment-methods | "methods in Malaysia", "which payment methods", "supported methods" | Country-to-method mapping, API values, currencies, unavailable methods |
| drop-in-ui | "embed payment form", "HitPay.js", "checkout popup" | HitPay.js script, init options, Next.js integration, event handling |
| qr-checkout | "QR checkout page", "QR payment page", "show QR code for PayNow" | Pre-rendered QR images, local HTML page, offline-capable, no CDN |
Commands
| Command | Description | Example |
|---|---|---|
/hitpay:init |
Scaffold a complete integration | /hitpay:init nextjs sg,my |
/hitpay:methods |
Look up payment methods by country | /hitpay:methods ph |
/hitpay:webhook-test |
Generate test webhook payload + curl | /hitpay:webhook-test charge.created |
/hitpay:qr-checkout |
Generate QR payment page with scannable codes | /hitpay:qr-checkout 100 sgd paynow |
MCP Tools
When HITPAY_API_KEY is set, Claude can use these tools during development:
Read Operations
get_account_status— Check KYC and enabled providersget_balances— Current account balancesget_payment_request— Payment request detailslist_payment_requests— List payment requestslist_charges— List charges with filtersget_charge_detail— Charge detailslist_customers— List customersget_customer— Customer detailslist_invoices— List invoiceslist_subscription_plans— Subscription planslist_static_qrs— Static QR codesget_supported_qr_methods— Available QR methodsget_account_info— Account summary
Create Operations
create_payment_request— Create payment with checkout URLcreate_customer— Create customer recordcreate_invoice— Create invoicecreate_embedded_qr— Generate QR for payment collectioncreate_static_qr— Create permanent QR (POS)create_webhook_event— Register webhook URLcreate_recurring_billing— Set up subscription
Hosted HitPay MCP Server
HitPay also runs an official MCP server at https://mcp.hit-pay.com/ for querying and acting on your live HitPay business: sales, transactions, payouts and balances, plus creating payment links, invoices, products and recurring plans. It signs you in with your HitPay login over OAuth, so there is no API key to set. Only business owners and admins can authorize it.
claude mcp add --transport http hitpay https://mcp.hit-pay.com/
Then run /mcp and choose hitpay to sign in. See the MCP server docs.
Supported Markets
| Market | Currency | Key Methods |
|---|---|---|
| Singapore | SGD | PayNow, GrabPay, ShopeePay, Cards |
| Malaysia | MYR | GrabPay, ShopeePay, Touch 'n Go, FPX |
| Philippines | PHP | QR Ph, GCash, ShopeePay |
| Thailand | THB | PromptPay, TrueMoney |
| Vietnam | VND | VietQR, ZaloPay |
| India | INR→SGD | UPI |
| Australia | AUD | PayTo |
| Cross-border | Auto FX | 9 borderless QR methods |
Security
This plugin follows a safe-by-default approach:
- Included: Read operations + payment creation (reversible/safe)
- Excluded from skills: Refunds, deletions, transfers, cancellations (destructive/financial operations)
- Webhook verification: All generated webhook handlers include HMAC-SHA256 signature checks
- API keys: Never exposed client-side in generated code
License
MIT
Pertanyaan tentang HitPay MCP
Bagaimana cara menambahkan HitPay MCP ke Claude Code?
Jalankan claude mcp add --transport http claude-code-plugin https://mcp.hit-pay.com/ di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan HitPay MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Tool apa yang disediakan HitPay MCP?
Server ini menyediakan 20 tool, termasuk get_account_status, get_balances, get_payment_request, list_payment_requests, list_charges.