iAutoPay MCP Service

iAutoPay MCP Service

iautopay•bynewblock

An MCP service that lets AI agents automatically pay for purchases, supporting EVM-compatible public chains and USDC payments.

License: Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Exposes an MCP tool to buy API keys with selectable 1, 7, or 30 day durations.
  • •Provides an info tool to retrieve server information such as API Key stock, prices and network config.
  • •Offers a guide tool displaying the complete usage guide.
  • •Includes a refresh_pricing tool to refresh prices from the server.

BEST FOR

  • •AI agents that need to automatically purchase paid AI-related services and data.
  • •Users wanting to buy API keys via USDC payments on Base networks.

ABOUT IAUTOPAY

iAutoPay MCP Service is cataloged as an MCP server attributed to newblock. An MCP service that lets AI agents automatically pay for purchases, supporting EVM-compatible public chains and USDC payments. 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.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for iAutoPay MCP Service 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.

FREQUENTLY ASKED QUESTIONS

Which networks does iAutoPay support for payments?

It lists a testnet, Base Sepolia (84532), and a mainnet, Base Mainnet (8453).

What API key durations can be purchased?

The buy_apikey tool supports 1, 7, and 30 day durations.

上游原版 README

在 GitHub 查看同一版本原文

README.md · f638724dda22 · 采集于 2026-11-13 12:49:15 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

iAutoPay MCP Service

iAutoPay is an MCP (Model Context Protocol) service that enables AI agents to automatically pay for purchases. It supports all EVM-compatible public chains and USDC payments. Agents can use it to automatically purchase paid AI-related services and data.

Installation

No installation required! Just run:

npx @newblock/iautopay-mcp

This will automatically download and cache the package.

Option 2: Global Install

npm install -g @newblock/iautopay-mcp

Configuration

OpenCode Configuration

Add to your opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "autopay": {
      "type": "local",
      "command": ["npx", "-y", "@newblock/iautopay-mcp"],
      "enabled": true,
      "environment": {
        "BUYER_PRIVATE_KEY": "0xEVM_wallet_private_key"
      }
    }
  }
}

Claude CLI Configuration

For detailed instructions on using Claude CLI with MCP, see CLAUDE_CLI_MCP_SETUP.md.

Quick Setup

# Install and add to Claude CLI
BUYER_PRIVATE_KEY="your_private_key" claude mcp add autopay \
  -e BUYER_PRIVATE_KEY="your_private_key" \
  -- npx -y @newblock/iautopay-mcp

# Use with MCP config
claude --mcp-config mcp-config.json

Claude Code Configuration

Add to your ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "autopay": {
      "command": "npx",
      "args": ["-y", "@newblock/iautopay-mcp"],
      "env": {
        "BUYER_PRIVATE_KEY": "0xEVM_wallet_private_key"
      }
    }
  }
}

Basic Knowledge About Cryptocurrency and Wallets

Before using iAutoPay, you need to understand some basic cryptocurrency concepts:

  • Wallet Private Key: A key similar to a password, used to sign transactions. Keep it safe and never share it with anyone!
  • Testnet: A network for testing where test coins can be obtained for free from faucets
  • Mainnet: The official network that requires real funds
  • USDC: A stablecoin pegged to US dollar (1 USDC ≈ 1 USD)

How to get test coins:

  1. Visit the Base Sepolia faucet: https://sepoliafaucet.com/
  2. Enter your wallet address
  3. Get free test USDC

Security tips:

  • Never share your private key
  • Test thoroughly on testnet before using mainnet
  • Use a dedicated wallet, don't store large amounts of funds

For more blockchain basics, refer to: https://www.wtf.academy/zh/course/ethers101/HelloVitalik

opencode autopay command loading success

MCP usage screenshot

MCP Tools Usage

Quick Commands Configuration

Add these shortcuts to your opencode.json for faster access:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "autopay": {
      "type": "local",
      "command": ["npx", "-y", "@newblock/iautopay-mcp"],
      "enabled": true,
      "environment": {
        "BUYER_PRIVATE_KEY": "0xEVM_wallet_private_key"
      }
    }
  },
   "command": {
     "autopay_buy_apikey_1day": {
      "template": "Use buy_apikey tool to buy 1-day API Key, params: {\"duration\": 1}",
      "description": "Buy 1-day API Key (0.09 USDC)"
    },
    "autopay_buy_apikey_7days": {
      "template": "Use buy_apikey tool to buy 7-day API Key, params: {\"duration\": 7}",
      "description": "Buy 7-day API Key (0.49 USDC)"
    },
    "autopay_get_info": {
      "template": "Use info tool to get server information (API Key stock, prices, network config)",
      "description": "Get iAutoPay server information"
    },
    "autopay_guide": {
      "template": "Use guide tool to show iAutoPay usage guide",
      "description": "Show iAutoPay usage guide"
    }
  }
}

Opencode Quick Commands Usage Examples

1: /autopay_guide

Output:

iAutoPay Usage Guide Available Tools

  • guide - Display complete usage guide
  • info - Get server information (stock, prices, network config)
  • buy_apikey - Buy API key (supports 1/7/30 day durations)
  • refresh_pricing - Refresh prices from server Quick Commands
  • autopay_buy_apikey_1day - Buy 1-day API Key (0.1 USDC)
  • autopay_buy_apikey_7days - Buy 7-day API Key (0.9 USDC)
  • autopay_get_info - Quick get server information Network Information
  • Testnet: Base Sepolia (84532)
  • Mainnet: Base Mainnet (8453)
  • Current Network: Base Sepolia (84532) Pricing
  • 1 day: 0.1 USDC
  • 7 days: 0.9 USDC Environment: dev

2: /autopay_buy_apikey_1day

Output:

Purchasing 1-day API Key... Price: 0.09 USDC Processing payment... Transaction hash: 0xghi789... Purchase successful!

Your API Key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Valid for: 1 day

👉 Check LLM Services Guide to learn how to use the API Key to access supported models

License

Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) - see LICENSE file for details.

Repository

https://github.com/newblock/iautopay

Support

For issues and questions, please use the GitHub Issues.

Documentation

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for iAutoPay MCP Service from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/iautopay)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

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

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

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.

0
Finance & Analytics

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.

Repository stats unavailable
Finance & Analytics