Minia2a Mcp

uk.minia2a由 minia2a.uk 发布v1.2.17更新于 Nov 6, 2026

minia2a.uk — x402 pay-per-call APIs for AI agents, USDC on Base, 5 free trials per wallet.

发布方自己的服务:Minia2a Mcp Remote

概览

AI 生成的概览

面向 minia2a.uk x402 市场的 MCP 服务器,让助手发现、查看、试用并按次付费调用 API,以 Base 上的 USDC 结算。

可以做什么
  • 浏览并搜索 x402 服务目录,可按分类或关键词筛选
  • 查看单个服务的价格、端点、参数与使用说明
  • 读取平台统计,如服务数、代理数、交易量与在线率
  • 调用 x402 服务,使用钱包免费试用或返回的 402 支付指令
  • 注册自托管钱包以发布服务,或生成新钱包
  • 校验任意 x402 端点是否适合自主代理使用,并给出评分报告
适用场景
适合希望让助手按需查找并使用第三方付费 API、而不必持有订阅或 API 密钥的场景,也适合在启用自主代理前检查某个 x402 端点是否就绪。
运行要求
通过 npx 从 npm 包 minia2a-mcp 在本地运行,需要 Node.js 以及访问 minia2a.uk 的网络。未声明 API 密钥或账号。可选提供自托管钱包私钥,作为工具参数或 MINIA2A_PRIVATE_KEY 环境变量传入,用于免费试用和付费调用。
安装前请注意
付费调用会从钱包中花费真实的 Base 链 USDC,启用自主使用前应先设定支出上限。作为参数或通过 MINIA2A_PRIVATE_KEY 传入的私钥可控制资金;README 称其仅留在进程内,但仍应按高价值机密对待。注册工具可能生成钱包并返回其私钥。调用会把请求和支付数据发送至 minia2a.uk 及第三方端点。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Minia2a Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

minia2a-mcp

MCP server for minia2a.uk — the x402 micropayment marketplace for AI agents.

🚀 Claude Code auto-mode ready. Let your AI agent discover, call, and pay for 1,600+ services using the x402 protocol with built-in USDC micropayments. 5 free trial calls per signed wallet (self-custody wallet + EIP-191 signature, no registration) — no API keys, no subscriptions, pay-per-call. .agent-budget v1.1 support for safe autonomous spending.

Installation

bash
npm install -g minia2a-mcp

Usage

Claude Code

Add to your Claude Code MCP config (~/.claude/.mcp.json):

json
{  "mcpServers": {    "minia2a": {      "command": "npx",      "args": ["-y", "minia2a-mcp"]    }  }}

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "minia2a": {      "command": "npx",      "args": ["-y", "minia2a-mcp"]    }  }}

Tools (6)

minia2a_list_services

Browse available x402 services. Filter by category or search term.

minia2a_get_service

Get detailed info about a specific service — price, endpoint, schema, docs.

minia2a_get_stats

Platform statistics — total services, agents, transaction volume, uptime.

minia2a_register

Register a self-custody wallet to publish your own services (EIP-191 signature). Registration is for publishing — it is not required for trials: any wallet signed in minia2a_call_service already gets 5 free trial calls. If you don't supply a wallet, one is generated for you and the private key returned.

minia2a_call_service

Call any x402 service. Two access paths, in the order the gateway tries them:

  1. Wallet trials — pass privateKey (or set MINIA2A_PRIVATE_KEY) for your wallet's 5 free trial calls (no registration needed). The key stays in this process; it only signs the per-call message minia2a trial:<wallet>:<serviceId>:<unixSeconds>, and just the signature goes over the wire. wallet= on its own reaches nothing — the signature is what does.
  2. Payment — when the wallet's trials are spent the tool returns the 402 accepts[] array to settle.

The response reports trialMode (wallet / ip) and trialRemaining straight from the gateway's headers, so you can see which path actually paid for the call rather than inferring it.

minia2a_check_endpoint ← NEW in v1.1.3

Validate any x402 endpoint for autonomous-agent (Claude Code auto-mode) readiness. Checks 9 signals: HTTP reachability, JSON content-type, payment challenge (canonical PAYMENT-REQUIRED header or legacy x-402-* headers), payment amount, network, recipient, trial info, registration path, and /api/agent-ready handshake. Returns a scored report with per-check PASS/FAIL detail and the credit each check earned.

What is minia2a?

minia2a.uk is a marketplace where AI agents buy and sell services from each other. Built on the x402 protocol (HTTP 402 Payment Required), every API call includes automatic USDC micropayment — no subscriptions, no API keys, no monthly bills.

  • 1,600+ x402 services — crypto, web, AI, data, and more
  • USDC settlement on Base (eip155:8453) — every endpoint's 402 accepts[] states network, asset and payTo before you pay
  • 5 free trial calls per signed wallet (self-custody wallet + EIP-191 signature, no registration)
  • Claude Code auto-mode ready — .agent-budget v1.1 support, machine-readable 402 body

Claude Code Auto Mode

Claude Code auto mode is the default. Agents can now autonomously discover, trial, and pay for APIs — with hard budget caps, classifier safety checks, and machine-readable payment headers.

minia2a is auto-mode ready:

  • /api/agent-ready — machine-readable handshake with payment info, registration endpoint, and quickstart
  • 402 body: accepts[] array (amount/asset/network/payTo/scheme) — agent parses full payment instruction (x402 V2)
  • .agent-budget v1.1 — 7-field autonomous-purchasing controls (per-call / per-task / confirmation / dedupe / settlement / audit)
  • 5 free trial calls per signed wallet (no registration) — spend them across the catalog. Not every endpoint is trial-eligible: premium / contract-audit / ai / deepseek and ≥$2 services may be pay-only. The endpoint's own 402 is the gate, not the category.
json
{  "version": "1.1",  "daily_limit_usdc": 5,  "max_per_call_usdc": 1,  "per_task_limit_usdc": 3,  "confirmation_threshold_usdc": 0.5,  "idempotency_key": "required",  "verify_settlement": true,  "audit_trail": true}

Quickstart guide →

What is x402?

x402 is an open protocol that extends HTTP 402 Payment Required for machine-to-machine micropayments. Services declare their price in HTTP response headers, and clients pay in USDC on Base. No intermediaries, no settlement delays. x402 Foundation launched July 2026 under the Linux Foundation with 40+ founding members including Visa, Mastercard, Stripe, and Cloudflare.

Learn more at x402.org.

Ecosystem

minia2a offers multiple integration paths depending on your stack:

PackageUse CaseInstall
minia2a-mcp (this)MCP server for Claude, Cursor, Codexnpm i -g minia2a-mcp
@minia2a/sdkCLI for @x402/express developersnpm i -g @minia2a/sdk
@minia2a/elizaos-plugin-minia2aElizaOS agent pluginnpm i @minia2a/elizaos-plugin-minia2a
minia2aGeneral-purpose SDKnpm i minia2a

Links

License

MIT

来源:README.md,提交 69b9d6a

工具

6

minia2a_list_services

List available x402 services on minia2a.uk — the micropayment marketplace for AI agents. Returns service name, description, price, and endpoint for each service. Use this to discover what capabilities are available before calling them.

输入参数limitsearchcategory

minia2a_get_service

Get detailed information about a specific x402 service on minia2a.uk: price, endpoint URL, what parameters it takes (read from the service's own 402 example — one unpaid GET, nothing charged), and usage instructions. Use this before calling a service to understand what it needs.

输入参数serviceId必填

minia2a_get_stats

Get current platform statistics for minia2a.uk — total services, registered agents, transaction volume, uptime, and more. Useful for understanding the marketplace's scale and health.

无需输入参数。

minia2a_register

Register a self-custody wallet on minia2a.uk to publish your own services (EIP-191 signature). Registration is for publishing — it is NOT required for trials: any wallet signed in minia2a_call_service already gets 5 free trial calls. If you don't provide a wallet+signature, this tool generates a fresh wallet, signs 'minia2a register: <your-wallet>' with EIP-191, registers it, and returns the private key — store it, the platform never holds it.

输入参数name必填walletsignature

minia2a_call_service

Call an x402 service on minia2a.uk. Three access paths: (1) omit everything for the paid 402 path (sign a wallet for 5 free trial calls — no registration); (2) pass privateKey (or set MINIA2A_PRIVATE_KEY) for your wallet's own 5 trials — the key never leaves this process, it only signs the per-call trial message; (3) when both are exhausted the endpoint returns HTTP 402 with a machine-readable accepts[] array — pay in USDC and retry with a PAYMENT-SIGNATURE header (x402 V2). Set autoPay:true together with privateKey to have a 402 paid automatically in USDC on Base and the call retried — the wallet must hold USDC or the call still returns payment_required (never charges silently). Note that wallet= on its own does NOT reach the wallet bucket; the signature is what does. Service parameters go INSIDE `params`; a top-level key that is not one of the five declared names is rejected by name rather than dropped.

输入参数paramswalletautoPayserviceId必填privateKey

minia2a_check_endpoint

Validate any x402 endpoint for autonomous-agent (Claude Code auto-mode) readiness. Checks 9 signals: HTTP reachability, JSON content-type, payment challenge (canonical PAYMENT-REQUIRED header or legacy x-402-* headers), payment amount, network, recipient, trial info, registration path, and /api/agent-ready handshake. Returns a score (0-100%) with per-check PASS/FAIL detail. Use this before calling a paid endpoint to verify it works with autonomous agents.

输入参数endpointUrl必填

版本历史

11
  1. v1.2.17最新Nov 5, 2026
  2. v1.2.12Oct 23, 2026
  3. v1.2.10Oct 20, 2026
  4. v1.2.9Sep 26, 2026
  5. v1.2.7Sep 26, 2026
  6. v1.2.6Sep 25, 2026
  7. v1.2.5Sep 25, 2026
  8. v1.2.4Sep 24, 2026
  9. v1.2.2Sep 19, 2026
  10. v1.2.1Sep 18, 2026
  11. v1.1.25Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Minia2a 集成