JSPM

@aisar-labs/2c2p-mcp

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q76732F
  • License MIT

MCP server for 2C2P — payments across TH/SG/MY/ID/PH/VN

Package Exports

  • @aisar-labs/2c2p-mcp
  • @aisar-labs/2c2p-mcp/build/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aisar-labs/2c2p-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

2C2P MCP Server

Payments across TH/SG/MY/ID/PH/VN

Install

npx @aisar-labs/2c2p-mcp

Configuration

Variable Required Description
TWO_C_TWO_P_MERCHANT_ID Yes 2C2P Merchant ID
TWO_C_TWO_P_SECRET_KEY Yes 2C2P Secret Key
TWO_C_TWO_P_SANDBOX No Enable sandbox mode

Tools

Tool Description
create_payment_token Create payment token
payment_inquiry Check payment status
void_payment Void payment
refund_payment Refund payment
create_payout Create payout
verify_webhook Verify webhook

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "2c2p": {
      "command": "npx",
      "args": ["-y", "@aisar-labs/2c2p-mcp"],
      "env": {
        "TWO_C_TWO_P_MERCHANT_ID": "your-merchant-id",
        "TWO_C_TWO_P_SECRET_KEY": "your-secret-key"
      }
    }
  }
}

License

MIT