- Home
- MCP servers
- Yeepay
Yeepay
- typescript
1
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"yop-platform-yeepay-mcp": {
"command": "pnpm",
"args": [
"dlx",
"yeepay-mcp"
],
"env": {
"YOP_APP_KEY": "Your application AppKey",
"YOP_NOTIFY_URL": "https://your-domain.com/yeepay/notify",
"YOP_MERCHANT_NO": "Your merchant number",
"YOP_APP_PRIVATE_KEY": "Your private key",
"YOP_PARENT_MERCHANT_NO": "Your parent merchant number"
}
}
}
}You can use the Yeepay MCP Server to integrate Yeepay services with your MCP-enabled tools. It provides actions to create webpage Yeepay payments and to query payment status, all through the MCP protocol for easy integration and orchestration across your systems.
How to use
You will run one or more MCP service runners that connect to Yeepay through MCP. Start the MCP service locally or via an automation tool, then issue MCP requests to invoke Yeepay payment actions. The service exposes actions like creating a Yeepay payment order and checking its status, so your workflows can orchestrate payments without embedding API calls directly in each client.
How to install
Prerequisites: Node.js (LTS version recommended) and a package manager such as npm or pnpm.
-
Clone the Yeepay MCP repository and navigate into the project folder.
-
Install dependencies.
-
Create a configuration file by copying the example and filling in your values.
Additional configuration and usage notes
Configuration relies on environment variables that you supply in a .env file in the service working directory. The required variables are: YOP_PARENT_MERCHANT_NO, YOP_MERCHANT_NO, YOP_APP_PRIVATE_KEY, YOP_APP_KEY, YOP_NOTIFY_URL.
Development and production run options include running in development mode with hot reloading, or building and starting the production server. You can also run the service through MCP-compatible runners or via package runners that invoke the MCP package.
Environment variables
The following environment variables are required for authentication and notification configuration. Replace placeholder values with your actual credentials and URLs.
Available tools
create_webpage_yeepay_payment
Create Yeepay webpage payment orders with required parameters: orderId, amount, goodsName, userIp.
query_yeepay_payment_status
Query Yeepay payment orders by orderId to retrieve current status.