Skip to main content
Glama
paybridgenp

PayBridgeNP MCP Server

by paybridgenp

@paybridge-np/mcp

ネパールの決済ゲートウェイ PayBridgeNP の公式 Model Context Protocol サーバーです。

Claude、ChatGPT、Cursor、Claude Code、VS Code など、MCP 対応の AI アシスタントが、自然言語を通じて PayBridgeNP アカウントを読み取り、操作できるようにします。返金の発行、支払いリンクの作成、サブスクリプションの管理、失敗した Webhook の調査、KPI の取得などを、チャットで行うことができます。

69 個のツール。6 個の組み込みプロンプトテンプレート。スコープ付きトークン。利用上限設定。完全な監査証跡。

インストール

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) または %APPDATA%\Claude\claude_desktop_config.json (Windows) に追加します:

{
  "mcpServers": {
    "paybridge": {
      "command": "npx",
      "args": ["-y", "@paybridge-np/mcp@latest"],
      "env": {
        "PAYBRIDGE_API_KEY": "sk_live_..."
      }
    }
  }
}

Claude Desktop を再起動します。

Cursor

.cursor/mcp.json または設定 → MCP から同じ JSON を追加します。

Claude Code

claude mcp add paybridge \
  --env PAYBRIDGE_API_KEY=sk_live_... \
  -- npx -y @paybridge-np/mcp@latest

VS Code

.vscode/mcp.json:

{
  "servers": {
    "paybridge": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@paybridge-np/mcp@latest"],
      "env": { "PAYBRIDGE_API_KEY": "sk_live_..." }
    }
  }
}

PayBridgeNP ダッシュボード からスコープ付き MCP トークンを生成してください。フルアクセスの REST キーを貼り付けないでください。

Related MCP server: PayArk MCP Server

ツール (69)

読み取り (31)

カテゴリ

ツール

アカウント

get_account

支払い

list_payments, get_payment

返金

list_refunds, get_refund

セッション

list_checkout_sessions, get_checkout_session

支払いリンク

list_payment_links, get_payment_link

Webhook

list_webhook_endpoints, list_webhook_deliveries

プラン

list_plans, get_plan

顧客

list_customers, get_customer

サブスクリプション

list_subscriptions, get_subscription

請求書

list_invoices, get_invoice

クーポン

list_coupons, get_coupon

プロモーション

list_promotion_codes, get_promotion_code, validate_promotion_code

税金

get_tax_settings

督促

list_dunning_policies, get_dunning_invoice_status

利用状況

preview_subscription_proration, get_subscription_usage_summary, list_usage_records

分析

get_analytics_overview

書き込み (38)

資金を移動するツール (create_refund, cancel_subscription, delete_*) は、実行前にホスト UI で明示的な確認が必要です。

カテゴリ

ツール

支払い

create_checkout_session

返金

create_refund

支払いリンク

create_payment_link, update_payment_link, cancel_payment_link, delete_payment_link

Webhook

create_webhook_endpoint, update_webhook_endpoint, delete_webhook_endpoint

プラン

create_plan, update_plan

顧客

create_customer, update_customer, add_customer_credit

サブスクリプション

create_subscription, pause_subscription, resume_subscription, cancel_subscription, change_subscription_plan, end_trial, extend_trial

請求書

create_invoice_item, delete_invoice_item

クーポン

create_coupon, deactivate_coupon

プロモーション

create_promotion_code, deactivate_promotion_code, apply_coupon_to_subscription, remove_subscription_discount

税金

update_tax_settings

督促

create_dunning_policy, update_dunning_policy, set_subscription_dunning_policy, stop_invoice_dunning, retry_invoice_dunning_now

利用状況

report_subscription_usage, update_subscription_quantity

プロンプト

6 個の組み込みプロンプトテンプレート — Claude Desktop および Cursor でスラッシュコマンドとして表示されます (/ → paybridge と入力):

プロンプト

機能

daily_summary

1日のまとめ:収益、支払い、返金、チェックアウトの状況、Webhook の失敗

monthly_reconciliation

会計士と共有するための月次照合テーブル。オプションの month 引数 (例: 2026-04) を受け取ります

investigate_failed_payment

支払いが失敗した理由を診断 — オプションの payment_id または customer_email を受け取ります

onboard_customer

顧客作成とプランへのサブスクリプションを一度に行います。email, name, plan_id、オプションの coupon_code を受け取ります

review_dunning

期限切れの請求書をすべてリストアップし、再試行/停止/待機に分類して、確認の上で実行します

apply_discount

プロモーションコードを検証してサブスクリプションに適用し、適用前後の価格を表示します

セキュリティ

  • スコープ付きトークン — 読み取り/書き込み/機密の 3 つにグループ化された 16 個のスコープ。デフォルトは読み取り専用で、書き込みはカテゴリごとにオプトインされます。PII (メールアドレス、電話番号) は独自のスコープです。

  • 確認ゲート — 返金や大規模なチェックアウトセッションは、実行前にホスト UI で明示的な確認が必要です。

  • 24 時間の利用上限 — トークンごとの返金およびチェックアウトセッションに対する厳格なローリング上限。書き込みトークンにはデフォルトで 50,000 ルピーが設定されています。

  • トークンごとのレート制限 — 全体で 60 回/60秒、破壊的な操作は 6 回/60秒、確認が必要な操作は 2 回/60秒。

  • プロンプトインジェクション対策 — 顧客が制御するフィールドは <untrusted> データとしてラップされます。ゼロ幅文字は削除されます。シークレットは出力時にパターンで隠蔽されます。

  • 完全な監査証跡 — すべてのツール呼び出しはトークン ID とアシスタント名とともに記録され、/dashboard/mcp で確認できます。

  • オープンソース — キーに対して何が実行されているかを github.com/paybridgenp/paybridgenp-mcp で正確に監査できます。

設定

環境変数

必須

デフォルト

PAYBRIDGE_API_KEY

はい

—

PAYBRIDGE_API_BASE_URL

いいえ

https://api.paybridgenp.com

CLI 引数として --api-key=sk_live_... を渡すこともできます。

ライセンス

MIT — LICENSE を参照してください。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to interact with Juspay's payment processing APIs and merchant dashboard for managing orders, transactions, refunds, customers, gateways, and reporting through natural language.
    21
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Connects AI agents to Nepal's payment infrastructure through the PayArk API. It enables users to monitor transaction history, manage projects, and generate hosted checkout links using natural language.
    9 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to interact with the full range of Paystack APIs, allowing operations like transaction management, customer creation, and payments through natural language.
    2
    41 npm
    55
    MIT