
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

An MCP server that offers blockchain payment capabilities such as balance queries, token transfers, transaction tracking, gas estimation, and wallet management across multiple networks.
Blockchain payment MCP server is cataloged as an MCP server attributed to logos-42. An MCP server that offers blockchain payment capabilities such as balance queries, token transfers, transaction tracking, gas estimation, and wallet management across multiple networks. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Blockchain payment MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports Base Sepolia, Base Mainnet, Ethereum Sepolia, Ethereum Mainnet, BSC, Polygon, Avalanche, and Solana networks.
Yes, the server has a built-in maximum transaction value limit, defaulting to 10 ETH.
README.md · 3aaabc8fb1d6 · Fetched 2026-11-13 11:23:36 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
基于Base网络的区块链支付MCP(Model Context Protocol)服务器,提供完整的区块链支付功能。
pip install blockchain-payment-mcp
项目根目录的 mcp_config.json 文件已经配置好了MCP服务器:
{
"mcpServers": {
"blockchain-payment": {
"command": "blockchain-payment-mcp",
"args": [],
"env": {
"PRIVATE_KEY": "your-private-key-here",
"DEFAULT_NETWORK": "base_sepolia",
"DEBUG": "true",
"MAX_TRANSACTION_VALUE": "10",
"PYTHONPATH": "."
}
}
}
}
在 mcp_config.json 中配置以下环境变量:
PRIVATE_KEY: 你的私钥(用于发送交易)DEFAULT_NETWORK: 默认网络(base_sepolia, ethereum_mainnet 等)DEBUG: 调试模式(true/false)MAX_TRANSACTION_VALUE: 最大交易金额限制get_balance - 查询指定地址的余额
address (必需), token_symbol (可选), network (可选)get_network_info - 获取当前网络信息
network (可选)get_supported_tokens - 获取支持的代币列表
random_string (必需,用于无参数工具)validate_address - 验证以太坊地址格式
address (必需)send_transaction - 发送代币转账交易
to_address (必需), amount (必需), token_symbol (可选), network (可选)get_transaction_status - 查询交易状态和详情
tx_hash (必需), network (可选)estimate_gas_fees - 估算Gas费用
to_address (可选), amount (可选), token_symbol (可选), network (可选)create_wallet - 创建新的钱包地址和私钥
label (可选)set_user_wallet - 设置用户钱包私钥
private_key (必需), label (可选)list_wallets - 列出所有已添加的钱包
random_string (必需)switch_wallet - 切换当前使用的钱包
label (必需)remove_wallet - 移除指定标签的钱包
label (必需)base_sepolia - Base Sepolia 测试网base_mainnet - Base 主网ethereum_mainnet - 以太坊主网ethereum_sepolia - 以太坊 Sepolia 测试网bsc_mainnet - BSC 主网bsc_testnet - BSC 测试网polygon_mainnet - Polygon 主网polygon_amoy - Polygon Amoy 测试网avalanche_mainnet - Avalanche 主网avalanche_fuji - Avalanche Fuji 测试网solana_mainnet - Solana 主网solana_devnet - Solana 开发网ETH - 以太币USDC - USD CoinUSDC_BASE - Base 网络上的 USDCUSDC_BSC - BSC 网络上的 USDCUSDC_POLYGON - Polygon 网络上的 USDCDAI - Dai 稳定币DAI_BASE - Base 网络上的 DAIDAI_BSC - BSC 网络上的 DAIDAI_POLYGON - Polygon 网络上的 DAIWETH - Wrapped EtherWETH_BASE - Base 网络上的 WETHpip install -r requirements.txt
# 私钥(用于发送交易,可选)
PRIVATE_KEY=your_private_key_here
# 默认网络(默认为base_sepolia)
DEFAULT_NETWORK=base_sepolia
# 最大交易金额限制(默认10 ETH)
MAX_TRANSACTION_VALUE=10
# 调试模式
DEBUG=false
在Cursor的mcp.json中添加:
{
"mcpServers": {
"blockchain-payment": {
"command": "python",
"args": ["-m", "blockchain_payment_mcp.server"],
"env": {
"PRIVATE_KEY": "your_private_key_here",
"DEFAULT_NETWORK": "base_sepolia",
"DEBUG": "false",
"MAX_TRANSACTION_VALUE": "10"
},
"cwd": "/path/to/blockmcp"
}
}
}
## 🛠️ 可用工具
### `get_balance`
查询指定地址的余额
**参数:**
- `address`: 钱包地址(必需)
- `token_symbol`: 代币符号,如"USDC"、"DAI"(可选)
- `network`: 网络名称(可选,默认base_sepolia)
**示例:**
```python
# 查询ETH余额
{"address": "0x742d..."}
# 查询USDC余额
{"address": "0x742d...", "token_symbol": "USDC"}
send_transaction发送代币转账交易
参数:
to_address: 接收方地址(必需)amount: 转账金额(必需)token_symbol: 代币符号(可选,默认"ETH")network: 网络名称(可选)private_key: 发送方私钥(可选,如未提供则使用环境变量)示例:
# 发送0.01 ETH
{"to_address": "0x...", "amount": "0.01"}
# 发送100 USDC
{"to_address": "0x...", "amount": "100", "token_symbol": "USDC"}
get_transaction_status查询交易状态
参数:
tx_hash: 交易哈希(必需)network: 网络名称(可选)estimate_gas_fees估算Gas费用
参数:
to_address: 接收方地址(可选)amount: 转账金额(可选)token_symbol: 代币符号(可选)network: 网络名称(可选)create_wallet创建新的钱包地址和私钥
参数: 无
get_network_info获取当前网络信息
参数:
network: 网络名称(可选)get_supported_tokens获取支持的代币列表
参数: 无
validate_address验证以太坊地址格式
参数:
address: 要验证的地址(必需)运行测试脚本验证功能:
python test_mcp.py
测试包括:
请帮我查询地址 0x742d... 的USDC余额
请发送0.001 ETH到地址 0x123456789...
请查询交易 0xabcdef... 的状态
请在Base Sepolia测试网上查询地址 0x742d35cc6585c5d74b3c9e5c29ae4eeaae27b76d 的ETH余额
请在Ethereum Sepolia测试网上发送0.001 ETH到地址 0x1234567890123456789012345678901234567890
# 直接调用MCP工具
from blockchain_payment_mcp.server import handle_get_balance
result = await handle_get_balance({
"address": "0x742d35cc6585c5d74b3c9e5c29ae4eeaae27b76d",
"token_symbol": "USDC",
"network": "ethereum_sepolia"
})
print(result)
blockmcp/
├── blockchain_payment_mcp/
│ ├── __init__.py
│ ├── server.py # MCP服务器主文件
│ ├── blockchain.py # 区块链交互层
│ ├── wallet.py # 钱包和签名器
│ └── config.py # 配置管理
├── requirements.txt # Python依赖
├── pyproject.toml # 项目配置
├── test_mcp.py # 测试脚本
└── README.md # 说明文档
本系统支持在多个测试链上进行支付操作,包括:
要获取测试链上的代币用于测试,请访问相应的水龙头:
Ethereum Sepolia:
Base Sepolia:
BSC Testnet:
Polygon Amoy:
Avalanche Fuji:
欢迎提交Issue和Pull Request!
MIT License
本软件仅用于教育和开发目的。使用前请充分测试,作者不承担任何资金损失责任。在主网使用前请确保充分的安全测试。
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Blockchain payment MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/blockchain-payment-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.