Skip to main content
Glama

microtap-mcp

一个用于 MicroTap 的 MCP 服务器 — 19 个按次付费 API(Polymarket 和 Kalshi 预测市场、DeFi/加密货币数据、多链链上读取、实时天气、实时网络搜索),通过 x402 协议 自动以 USDC 支付。无需注册、无需 API 密钥、无需控制面板 — 安装它,存入少量资金到本地钱包,你的 AI 助手就能自行调用付费端点。

快速开始

将其添加到你的 MCP 客户端配置中。首次运行时,它会自动生成一个本地 EVM 钱包 — 你无需自己创建。

Claude Desktop / Claude Code

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

Cursor / Windsurf

配置格式相同 — 将上述代码块添加到你的客户端所使用的 mcpServers 配置文件下。

添加后,重启客户端,然后在服务器的启动日志中(在 Claude Desktop 中:设置 → 开发者 → microtap → 日志)查找类似以下的行:

[microtap-mcp] wallet address: 0xabc123...
[microtap-mcp] fund this address with a small amount of USDC on Base mainnet to pay for calls

向该地址发送几美元的 USDC(Base 主网)— 每次调用 $0.001–$0.05,这将覆盖数百次调用。现在,你的助手可以使用以下 19 个工具中的任何一个;每个工具都会自动为自己支付费用。

Related MCP server: agentsvc-mcp

功能说明

每次工具调用:

  1. 调用 x402tap.com 上的相应路由。

  2. 如果服务器返回 402 Payment Required(第一次总是如此),则使用钱包私钥对请求的确切金额进行 USDC 签名支付 — 完全在本地完成,除了签名支付本身外,不会发送任何内容到任何地方。

  3. 携带支付信息重试请求,并返回真实响应。

私钥永远不会离开你的机器。它不会被发送到 MicroTap、LLM 提供商或其他任何地方 — 它仅在本地签署支付消息,与此生态系统中其他 x402 MCP 服务器(例如 BlockRun 的)使用的非托管模式相同。

工具

工具

路由

价格

get_protected_content

/protected

$0.001

get_weather

/api/weather

$0.001

generate_text

/api/generate

按用量计费,最高 $0.05

get_trend_insights

/api/insights

$0.001–$0.005

ping_heartbeat

/api/ping

$0.001

search_polymarket_markets

/api/polymarket-markets

$0.003

get_polymarket_market

/api/polymarket-market

$0.002

search_kalshi_markets

/api/kalshi-markets

$0.003

get_kalshi_market

/api/kalshi-market

$0.002

get_defi_protocol_tvl

/api/defi-tvl

$0.003

rank_chains_by_defi_tvl

/api/defi-chains

$0.002

get_crypto_price

/api/crypto-price

$0.001

get_crypto_market_data

/api/crypto-market

$0.002

get_crypto_trending

/api/crypto-trending

$0.001

web_search

/api/web-search

$0.003

call_multichain_rpc

/api/rpc

$0.003

get_wallet_balance

/api/wallet-balance

$0.002

get_gas_price

/api/gas-price

$0.001

resolve_ens

/api/ens-resolve

$0.002

每个路由的完整参数文档: x402tap.com/openapi.json

配置(全部可选)

如果需要覆盖默认值,可以在 MCP 客户端的服务器配置中将以下变量设置为环境变量("env": { ... }"command"/"args" 并列):

变量

默认值

说明

MICROTAP_MCP_PRIVATE_KEY

(自动生成)

使用你自己的 EVM 私钥,而不是自动生成的钱包

MICROTAP_MCP_MAX_VALUE_USDC

0.10

安全上限 — 拒绝为单次调用自动支付超过此金额

MICROTAP_BASE_URL

https://x402tap.com

覆盖 API 基础 URL(主要用于本地开发/测试)

自动生成的钱包密钥存储在 ~/.microtap-mcp/wallet.json(权限为 0600 — 仅你的用户可读)。

本地开发

npm install
npm run build
npm start   # runs the compiled server over stdio

安全说明

  • 钱包密钥仅用于在本地签署支付消息(Base 主网上的 EIP-712 exact 方案)— 永远不会传输到任何地方。

  • MICROTAP_MCP_MAX_VALUE_USDC(默认 $0.10)意味着,即使某个路由的广告价格有误或意外偏高,此服务器也会拒绝为单次调用自动批准超过该金额的支付。

  • 所有 19 个工具对 MicroTap 的 API 表面都是只读的 — 它们都不能转移资金、签署交易或写入链上状态(/api/rpc 在服务器端被限制为只读 JSON-RPC 方法的白名单)。

许可证

MIT

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    22 MCP tools for AI agents: crypto prices and trading signals (53 coins), stock prices and company financials, forex rates and conversion, and web scraping with AI summaries. All powered by x402 USDC micropayments on Base. $0.01-$0.25 per request.
    22
    19
    MIT
  • F
    license
    -
    quality
    F
    maintenance
    20 pay-per-call utility tools for AI agents via x402 USDC micropayments on Base. Screenshots, OCR, PDF, web scraping, weather, forex rates, crypto/stock prices, DNS, geocoding, translation, and more. $0.001–$0.008 per call. No API keys, no signup.
    1
  • A
    license
    A
    quality
    C
    maintenance
    Pay-per-call x402 data products on Base mainnet — sanctions screening, aviation weather, mortgage rates, US property dossier, title chain, wallet balance, and agent session auth. Every call settles in USDC with an on-chain receipt, no accounts or API keys.
    7
    68
    MIT

View all related MCP servers

Related MCP Connectors

  • 30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.

  • MCP marketplace: agents pay per call in USDC via x402. Plus Base chain data and a USDC<->bank ramp.

  • 63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.

View all MCP Connectors

Latest Blog Posts

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/swaltersjrtest/microtap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server