MM

magnetai/mcp-free-usdc-transfer

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

21 stars 9 forks 质量 57 趋势 10MIT

MCP(模型上下文协议)服务器——由Coinbase CDP支持的免费USDC转账

概览

一个MCP服务器实现,支持通过MPC钱包集成实现免费USDC转账。 - 免费USDC转账:向Base上的任意地址或ENS/BaseName域名发送USDC——无手续费,仅简单转账- Coinbase MPC钱包:创建和管理您的Coinbase MPC钱包,实现安全且无费用的交易- 名称解析:自动支持和域名 - 描述:分析已购商品的价值,并通过基链将USDC转账给收款人。由于区块链交易时间不确定,交易仅在此安排,不会等待交易完成。- 输入:- usdc_amount(数字):USDC金额,大于0。- 接收者(字符串):收款人的链上地址或ENS域名(例如example.eth)。- 行为:- 验证收款人地址或解析ENS域名。- 在基础链上安排USDC转账。- 提供查看BaseScan交易详情的链接。 - 说明:创建一个Coinbase MPC钱包地址。

概述(AI 翻译)

一个MCP服务器实现,支持在Base上免费转账USDC,支持Coinbase CDP MPC钱包集成。

特色

  • 免费USDC转账:向Base上的任何地址或ENS/BaseName域名发送USDC——无手续费,只需简单转账即可
  • Coinbase MPC 钱包:创建并管理您的 Coinbase MPC 钱包,实现安全且无费用的交易
  • 名称解析:自动支持 ENS 和 BaseName 域名

功能

tranfer-usdc

  • 说明:分析已购商品的价值,并通过基链将USDC转账给收款人。由于区块链交易时间不确定,交易仅在此安排,不会等待交易完成。
  • 输入:
  • usdc_amount(数字):USDC金额,大于0。
  • 接收者(字符串):接收者的链上地址或ENS域名(例如example.eth)。
  • 行为:
  • 验证接收方地址或解析ENS域名。
  • 在基础链上安排USDC转账。
  • 提供查看BaseScan交易详情的链接。

create_coinbase_mpc_wallet

  • 说明:创建一个Coinbase MPC钱包地址。
  • 行为:

本页由 AI 翻译,技术细节请以原文为准。

README

Free USDC Transfer MCP Server

An MCP server implementation enabling free USDC transfers on Base with Coinbase CDP MPC Wallet integration.

Features

  • Free USDC Transfers: Send USDC to any address or ENS/BaseName domain on Base - no fees, just simple transfers
  • Coinbase MPC Wallet: Create and manage your Coinbase MPC wallet for secure, feeless transactions
  • Name Resolution: Automatic support for ENS and BaseName domains

Functions

tranfer-usdc

  • Description: Analyze the value of the purchased items and transfer USDC to the recipient via the Base chain. Due to the uncertainty of blockchain transaction times, the transaction is only scheduled here and will not wait for the transaction to be completed.
  • Inputs:
    • usdc_amount (number): USDC amount, greater than 0.
    • recipient (string): Recipient’s on-chain address or ENS domain (e.g., example.eth).
  • Behavior:
    • Verifies the recipient’s address or resolves ENS domains.
    • Schedules a USDC transfer on the Base chain.
    • Provides a link to view transaction details on BaseScan.

create_coinbase_mpc_wallet

  • Description: Create a Coinbase MPC wallet address.
  • Behavior:
    • Creates a new Coinbase MPC wallet and saves the seed to a secure file.
    • If a wallet already exists, returns the existing wallet address.
    • The seed file for Coinbase MPC wallets is stored in the Documents directory under the file name mpc_info.json.

Configuration

Getting an API Key

  1. Sign up for a Coinbase CDP account
  2. Generate your API key from the developer dashboard

Usage with Claude Desktop

  1. Add this to your claude_desktop_config.json:
{
  "mcpServers": {
    "free-usdc-transfer": {
      "command": "npx",
      "args": [
        "-y",
        "@magnetai/free-usdc-transfer"
      ],
      "env": {
        "COINBASE_CDP_API_KEY_NAME": "YOUR_COINBASE_CDP_API_KEY_NAME",
        "COINBASE_CDP_PRIVATE_KEY": "YOUR_COINBASE_CDP_PRIVATE_KEY"
      }
    }
  }
}
  1. Or install the server with magnet-desktop

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.


Crafted by Magnet Labs with our vibrant AI & Crypto community

在 GitHub 查看完整 README

安装

npx -y @magnetai/free-usdc-transfer
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "free-usdc-transfer": { "command": "npx", "args": [ "-y", "@magnetai/free-usdc-transfer" ], "env": { "COINBASE_CDP_API_KEY_NAME": "YOUR_COINBASE_CDP_API_KEY_NAME", "COINBASE_CDP_PRIVATE_KEY": "YOUR_COINBASE_CDP_PRIVATE_KEY" } } } }