@aisar-labs/2c2p-mcp
v0.1.2
Published
MCP server for 2C2P — payments across TH/SG/MY/ID/PH/VN
Downloads
276
Maintainers
Readme
2C2P MCP Server
Payments across TH/SG/MY/ID/PH/VN
Install
npx @aisar-labs/2c2p-mcpConfiguration
| 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
