@chainpayto/mcp-server
OfficialProvides AI agents on Coze with tools to interact with ChainPay cryptocurrency payment system, including creating payment orders, querying order status, checking balances, and managing withdrawals.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@chainpayto/mcp-serverCreate a 50 USDT TRON payment order"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@chainpayto/mcp-server
ChainPay MCP Server — 让 AI Agent 直接操作 ChainPay 加密货币收款系统。
支持 Claude Desktop、Cursor、Dify、Coze 等任何兼容 Model Context Protocol 的 AI 平台。
功能
工具 | 说明 |
| 查询支持的链和代币(含费率、最低金额) |
| 创建支付订单,获取收款地址和支付链接 |
| 查询指定订单详情和状态 |
| 分页查询订单列表 |
| 查询商户账户余额 |
| 发起提现申请 |
Related MCP server: MCP Bitnovo Pay
快速配置
获取 API 凭证
进入 API Keys 页面,创建一个 API Key
复制
API Key和API Secret明文(Secret 只显示一次,请妥善保存)直接把明文填入下面的
CHAINPAY_API_SECRET,不要再做 SHA256 哈希
⚠️ 升级提示:早期版本要求提前
sha256sum处理 Secret,现已废弃。当前后端用明文 HMAC-SHA256 签名,Secret 明文保存在后台数据库。如果你之前用哈希版配好了,需要到后台 重置 API Key,用新 Secret 明文重新填入环境变量。
Claude Desktop
编辑 ~/.config/claude/claude_desktop_config.json(macOS/Linux)
或 %APPDATA%\Claude\claude_desktop_config.json(Windows):
{
"mcpServers": {
"chainpay": {
"command": "npx",
"args": ["-y", "@chainpayto/mcp-server"],
"env": {
"CHAINPAY_API_URL": "https://api.chainpay.to",
"CHAINPAY_API_KEY": "your_api_key",
"CHAINPAY_API_SECRET": "your_api_secret_plaintext"
}
}
}
}Cursor
编辑 ~/.cursor/mcp.json:
{
"mcpServers": {
"chainpay": {
"command": "npx",
"args": ["-y", "@chainpayto/mcp-server"],
"env": {
"CHAINPAY_API_KEY": "your_api_key",
"CHAINPAY_API_SECRET": "your_api_secret_plaintext"
}
}
}
}全局安装(可选)
如果不想每次都用 npx,可以全局安装:
npm install -g @chainpayto/mcp-server安装后配置中将 "command": "npx", "args": ["-y", "@chainpayto/mcp-server"] 改为:
{
"command": "chainpay-mcp",
"args": []
}环境变量
变量名 | 必填 | 说明 | 默认值 |
| ✅ | 商户 API Key | — |
| ✅ | API Secret 明文(不是哈希) | — |
| 可选 | API 地址(私有部署时修改) |
|
使用示例
配置完成后,在 AI 对话中直接说:
"帮我创建一个 50 USDT 的 TRON 链支付订单,订单号 ORDER-001"
"查询一下 CP20260418163248523136 订单的状态"
"我的账户余额是多少?"
"帮我把 100 USDT (BSC) 提现到绑定的地址"
技术要求
Node.js >= 18
无其他系统依赖,
npx自动处理
链接
License
MIT
Available Tools
6 toolschainpay_create_orderA
Create a new cryptocurrency payment order. Returns a payment URL and wallet address for the payer. Supported chains: TRON / BSC / POLYGON. Call chainpay_get_supported_chains first to check minimum amounts.
| Name | Required | Description | Default |
|---|---|---|---|
| merchant_order_no | Yes | Your unique order identifier (max 64 chars) | |
| chain | Yes | Blockchain network: "TRON" / "BSC" / "POLYGON" | |
| token | Yes | Token symbol: "USDT" or "USDC" (availability depends on chain) | |
| amount | Yes | Payment amount in USD, e.g. "100.00" | |
| callback_url | No | Webhook URL for payment status notifications | |
| redirect_url | No | URL to redirect payer after successful payment |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions the creation action, return values, and supported chains, but does not disclose rate limits, authentication needs, or potential side effects like fund holds.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, each earning its place: purpose, return info, supported chains, and a prerequisite. No fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema, but description mentions return values (payment URL and wallet address) and a prerequisite. For a creation tool with 6 parameters, it covers essential aspects, though error handling or idempotency details are missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, with each parameter described. The description adds value by noting that the chain parameter corresponds to TRON/BSC/POLYGON and that minimum amounts should be checked, which is not in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Create a new cryptocurrency payment order' and specifies it returns a payment URL and wallet address. It distinguishes from siblings like chainpay_create_withdrawal by describing a different action.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit guidance to 'Call chainpay_get_supported_chains first to check minimum amounts' provides a clear prerequisite. While it does not explicitly state when not to use, the sibling names and context imply distinct use cases.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
chainpay_create_withdrawalA
Submit a withdrawal request to transfer funds to the merchant's bound withdrawal address. Requires a withdrawal address to be configured in the merchant dashboard. May require admin approval.
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Withdrawal amount, e.g. "50.00" | |
| chainId | Yes | Chain ID from chainpay_get_supported_chains | |
| tokenSymbol | Yes | Token symbol, e.g. "USDT" or "USDC" |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that admin approval may be required, which is a key behavioral trait beyond a simple 'create' operation. However, it does not specify return format or error behavior, but for a submission tool this is reasonable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description consists of two short sentences, with the main purpose front-loaded in the first sentence. It is efficient, contains no unnecessary text, and each sentence adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the absence of an output schema and annotations, the description provides the essential purpose and conditions. However, it lacks information about the response (e.g., whether a withdrawal ID is returned) and error scenarios. It is adequate but not fully comprehensive for a mutation tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema covers all three parameters with complete descriptions (100% coverage). The description adds little beyond the schema, only implying the amount and token symbol form. Since the schema already documents the parameters well, the description's marginal value is minimal.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Submit a withdrawal request'), the resource ('funds to the merchant's bound withdrawal address'), and distinguishes from sibling tools like chainpay_create_order (order creation) and chainpay_get_balance (balance query). It is specific and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description includes prerequisites ('Requires a withdrawal address to be configured') and a condition ('May require admin approval'), guiding the agent on when the tool is applicable. It does not explicitly mention alternatives or when not to use, but the context and sibling names make the use case clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
chainpay_get_balanceA
Get the merchant account balance including total balance, frozen amount, and available balance.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the full burden. It discloses the returned balance components, which is useful, but does not mention whether the operation is read-only, any authorization requirements, or rate limits. The basic behavior is described but with gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that immediately states the tool's purpose and key details, with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has no parameters and no output schema, the description adequately lists the three balance components returned. However, it could mention the currency or format to be fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are zero parameters, so baseline is 4. The description adds no extra meaning beyond the schema, which is acceptable for a parameterless tool.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the verb 'Get' explicitly naming the resource 'merchant account balance' and lists the specific sub-balances (total, frozen, available), clearly distinguishing this from sibling tools which deal with orders, withdrawals, and chains.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. While the context makes it fairly obvious, the description does not include any explicit usage directions or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
chainpay_get_orderA
Get details and current status of a specific payment order.
| Name | Required | Description | Default |
|---|---|---|---|
| order_no | Yes | ChainPay order number (starts with "CP") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It indicates a read operation without destructive effects, but does not disclose behaviors like error handling, authentication, or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no wasted words, front-loaded with verb and resource. Perfectly concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Lacks output schema, description does not mention what 'details and current status' include (e.g., status, amount, timestamps). Minimal but adequate for a simple read tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with clear parameter description. The tool description adds no additional meaning beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states verb 'get' and resource 'specific payment order', distinguishing it from sibling tools like list_orders (multiple orders) and create_order (creation).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use or when-not-to-use guidance. Purpose is clear enough for simple cases, but lacks differentiation advice vs similar tools like chainpay_list_orders.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
chainpay_get_supported_chainsA
Get all blockchain networks and tokens supported by ChainPay, including fee rates and minimum amounts. Call this before creating orders to get valid chain/token values.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Without annotations, the description carries the full burden. It explicitly states this is a read operation ('Get all ...') and discloses the output includes fee rates and minimum amounts. It doesn't mention potential rate limits or pagination, but for a simple list tool with no parameters, this is adequate. A higher score would require more detail on edge cases or response format.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences: the first defines purpose and output, the second gives usage guidance. No unnecessary words. Front-loaded with the main action. Perfectly concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no parameters and no output schema, the description provides essential information: what data is returned (chains, tokens, fees, minimum amounts) and when to use it (before creating orders). This is sufficient for an agent to understand and correctly invoke the tool. No gaps identified.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the input schema is empty. Schema coverage is 100% by definition. Description cannot add parameter semantics because there are none. Baseline for 0 params is 4, and the description does not detract from this.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool gets all supported blockchain networks and tokens, including fee rates and minimum amounts. It uses a specific verb (Get) and identifies the resource (supported chains/tokens). This distinguishes it from sibling tools like chainpay_create_order which perform actions on the data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly advises 'Call this before creating orders to get valid chain/token values.' This provides clear guidance on when to use the tool and its role as a prerequisite for order creation. While it doesn't mention withdrawals, it covers the primary use case effectively.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
chainpay_list_ordersA
List payment orders with pagination and optional status filter.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (starts from 1) | |
| pageSize | No | Orders per page, default 20 | |
| status | No | Filter by order status |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions pagination and status filter but fails to disclose key behaviors such as default sort order, result set scope (user-specific or global), rate limits, or permission requirements. This is minimal and leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence of 9 words, perfectly front-loaded and efficient. Every word earns its place, with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the low complexity (list with pagination and filter), the description is adequate for basic use. However, it lacks details on default values, output format, error handling, and sorting order. For a complete understanding, the agent may need to infer or experiment.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions for all three parameters. The description adds no extra meaning beyond the schema; it simply reiterates 'pagination and optional status filter'. Baseline of 3 is appropriate for high schema coverage without additional insights.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists payment orders with pagination and optional status filter. It uses a specific verb and resource, distinguishing it from sibling tools like chainpay_create_order (create) and chainpay_get_order (single order).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for listing orders but does not explicitly state when to use this tool versus alternatives (e.g., chainpay_get_order for a single order). No exclusions or when-not-to-use guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
All tools have unique purposes with no overlap. Creating orders, creating withdrawals, checking balance, retrieving orders, listing orders, and fetching supported chains are all distinct operations.
All tools follow a consistent 'chainpay_verb_noun' pattern (e.g., create_order, get_balance, list_orders), with uniform snake_case naming.
Six tools is well-scoped for a cryptocurrency payment server, covering order management, withdrawal, balance, and chain info without being excessive.
Covers core order lifecycle (create, get, list) and balance/chain info, but lacks a tool to get withdrawal status or list withdrawals, which is a minor gap.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Let AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.
Non-custodial crypto payments for AI assistants: balances, payments, and create payment links.
Keyless non-custodial crypto payments for AI agents: payment links and tip jars, no API key.
Stripe payments for AI agents. Create links, verify, manage customers.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to interact with BlindPay's stablecoin payment infrastructure, allowing users to create receivers, process payouts and payins across multiple blockchains, manage virtual accounts and wallets, and configure payment operations through natural language.409MIT

MCP Bitnovo Payofficial
AlicenseAqualityCmaintenanceEnables AI agents to create cryptocurrency payments, check payment status, generate QR codes, and manage transactions through Bitnovo Pay API integration with automatic webhook support.5194MIT- AlicenseAqualityDmaintenanceEnables AI agents to manage Bitcoin and USDC payments by checking balances, sending funds, and generating receive addresses through the PayPls platform. It facilitates secure financial automation with features like transaction tracking and configurable human approval limits.6MIT
- FlicenseNot gradedqualityDmaintenanceConnects the Payoza crypto payments API to AI assistants, enabling users to manage transactions, subscriptions, and payment links across multiple blockchains. It provides a comprehensive suite of tools for handling checkout sessions, customers, and real-time revenue analytics through natural language commands.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chainpayto/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server