About Mock Monster Pay So
An MCP server for accessing Mock Monster Pay payment capabilities, aimed at developers configuring payment tools in Cursor. Most payment features require an open-platform merchant account and merchant private key.
Key features
- 01Provides Mock Monster Pay payment capabilities
- 02Configured in Cursor
- 03Requires a merchant private key
Use cases
- 01Configure payment tools in a Cursor project
- 02Use the open platform's payment capabilities
MCP support
This is an MCP server, configured in Cursor through `.cursor/mcp.json` as shown in the README.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
4Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| merchantNo | string | Yes | Merchant number, 大魔王 merchant number, up to 32 characters |
| timeOut | number | No | Order timeout, in seconds, up to 10 digits |
| tradeAmt | number | Yes | Transaction amount, in fen (Note: In the test environment, do not exceed 20 fen for Alipay and WeChat, or the payment cannot be refunded) |
| operator | string | No | Operator ID, shown in the reconciliation file, up to 32 characters |
| subject | string | Yes | Order subject, up to 128 characters. The ASCII characters ()<>{}' cannot be sent |
| notifyUrl | string | No | Callback notification URL for asynchronously receiving payment result notifications, up to 256 characters |
| goodsInfo | string | No | Product information, up to 256 characters |
| riskInfo | string | No | Risk control information; see Appendix 4.6, “Risk Control Parameter Description,” for details. Up to 1024 characters |
| ledgerAccount | string | No | Split settlement information; see Appendix 4.3, “Split Settlement Information List Description,” for details. Up to 256 characters |
| tradeFrontInfo | string | No | Transaction front-end information. See the appendix “Transaction Front-End Information Field Description”. Maximum 256 characters. |
| appId | string | No | Application ID, required when the transaction scenario is APP/SMALLPAY. Maximum 32 characters. |
| storeCode | string | No | Store number, required for store marketing. Maximum 32 characters. |
| storeName | string | No | Store name, required for store marketing. Maximum 256 characters. |
| goodsDetails | string | No | Product details. See 4.10 “Product Information Description”. Maximum 6000 characters. |
| userCode | string | No | User ID, required when the payment platform is not 大魔王 (called openid in WeChat and userid in Alipay). Maximum 64 characters. |
| provinceCode | string | No | Province; provide the actual Chinese characters. |
| cityCode | string | No | City; provide the actual Chinese characters. |
| areaCode | string | No | District/county; provide the actual Chinese characters. |
| remark | string | No | Remarks. Maximum 32 characters. |
| returnUrl | string | No | Redirect URL after successful payment. Required for H5/PC and mobile Super Cashier scenarios. Maximum 256 characters. |
| productMode | string | No | Product mode. For delayed split orders, always pass: DELAYED_SPLIT |
Details
From the project README- 使用和配置 要使用工具的大部分支付能力,你需要先成为开放平台的收款商户,获取商户私钥。
在 Cursor 中使用 在 Cursor 项目中的 .cursor/mcp.json 加入如下配置:
{
"mcpServers": {
"mock-monster-pay": {
"command": "npx",
"args": [
"-y",
"mock-monster-pay"
],
"env": {
}
}
}
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.