mcpField
M
Mock Monster Pay So

Mock Monster Pay So

Local
github.com/alfred-yzFinance0Updated 25w ago

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

  1. 01Provides Mock Monster Pay payment capabilities
  2. 02Configured in Cursor
  3. 03Requires a merchant private key

Use cases

  1. 01Configure payment tools in a Cursor project
  2. 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.

mcp.json · Universal config
{
"mcpServers": {
"mock-monster-pay": {
"command": "npx",
"args": [
"-y",
"mock-monster-pay"
]
}
}
}
Run commandnpx -y mock-monster-pay

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmock-monster-pay

Tools

4

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
merchantNostringYesMerchant number, 大魔王 merchant number, up to 32 characters
timeOutnumberNoOrder timeout, in seconds, up to 10 digits
tradeAmtnumberYesTransaction amount, in fen (Note: In the test environment, do not exceed 20 fen for Alipay and WeChat, or the payment cannot be refunded)
operatorstringNoOperator ID, shown in the reconciliation file, up to 32 characters
subjectstringYesOrder subject, up to 128 characters. The ASCII characters ()<>{}' cannot be sent
notifyUrlstringNoCallback notification URL for asynchronously receiving payment result notifications, up to 256 characters
goodsInfostringNoProduct information, up to 256 characters
riskInfostringNoRisk control information; see Appendix 4.6, “Risk Control Parameter Description,” for details. Up to 1024 characters
ledgerAccountstringNoSplit settlement information; see Appendix 4.3, “Split Settlement Information List Description,” for details. Up to 256 characters
tradeFrontInfostringNoTransaction front-end information. See the appendix “Transaction Front-End Information Field Description”. Maximum 256 characters.
appIdstringNoApplication ID, required when the transaction scenario is APP/SMALLPAY. Maximum 32 characters.
storeCodestringNoStore number, required for store marketing. Maximum 32 characters.
storeNamestringNoStore name, required for store marketing. Maximum 256 characters.
goodsDetailsstringNoProduct details. See 4.10 “Product Information Description”. Maximum 6000 characters.
userCodestringNoUser ID, required when the payment platform is not 大魔王 (called openid in WeChat and userid in Alipay). Maximum 64 characters.
provinceCodestringNoProvince; provide the actual Chinese characters.
cityCodestringNoCity; provide the actual Chinese characters.
areaCodestringNoDistrict/county; provide the actual Chinese characters.
remarkstringNoRemarks. Maximum 32 characters.
returnUrlstringNoRedirect URL after successful payment. Required for H5/PC and mobile Super Cashier scenarios. Maximum 256 characters.
productModestringNoProduct mode. For delayed split orders, always pass: DELAYED_SPLIT

Details

From the project README
  1. 使用和配置 要使用工具的大部分支付能力,你需要先成为开放平台的收款商户,获取商户私钥。

在 Cursor 中使用 在 Cursor 项目中的 .cursor/mcp.json 加入如下配置:

{
  "mcpServers": {
    "mock-monster-pay": {
      "command": "npx",
      "args": [
        "-y",
        "mock-monster-pay"
      ],
      "env": {
       
      }
    }
  }
}

Comments

Markdown supported

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.