Agentcash

merit-systems/agentcash-skills/plugin/skills/agentcash

作者 merit-systems522d5da81af6无许可证22 个星标收录于 2026年10月8日更新于 2026年10月8日仓库7周前更新

Pay-per-call x402/MPP APIs (USDC on Base, Solana, Tempo). No API keys—wallet pays per request. If the task matches a SERVICES origin below, SKIP search and go straight to discover → fetch. Only search when NO listed origin fits. SERVICES: stableenrich (people/company, web search, scraping, Maps, LinkedIn, email verify, news), stablesocial (TikTok, Instagram, YouTube, Facebook, Reddit, LinkedIn, GitHub), stablestudio (AI image/video), stableupload (file/site hosting), stableemail (email, inboxes, subdomains), stablephone (AI calls, phone numbers), stablejobs (jobs), stabletravel (travel), stablebrowser (browser automation). TRIGGERS: research, enrich, scrape, search the web, generate image, video, social media, send email, phone call, travel, jobs, find contact, find API, x402, mpp, agentcash

仅含说明AI & Agents
AI 生成的概览

使用 USDC 钱包调用按次付费的 x402/MPP API,支持接口发现、结构查询与自动付款。

功能
AgentCash 让智能体无需 API 密钥即可调用受 x402 或 MPP 保护的 API,并按请求以钱包中的 USDC 付费。它提供查询余额、列出充值地址、兑换邀请码、搜索 API、发现端点与结构,以及发起付费 GET 或 POST 请求的工具。付款自动完成:先收到 402 质询,再签名支付凭证并重试,仅在请求成功时结算。它还列出一组合作服务来源,涵盖数据丰富、社交数据、媒体生成、托管、邮件、电话、招聘、旅行和浏览器自动化。
适用场景
当任务需要受 x402 或 MPP 保护、且没有 API 密钥的付费第三方 API 时使用。适用于调研、数据丰富、抓取、社交媒体数据、图像或视频生成、邮件、电话、旅行和职位查询。也用于管理支撑这些调用的钱包余额与充值。
运行要求
需要安装并可供智能体使用的 AgentCash MCP 工具,以及在 Base 或 Solana 网络上已充值的 USDC 钱包。接口发现和付费请求需要网络访问。该技能不附带脚本,仅为说明文档。

AgentCash — Paid API Access

Call any x402 or MPP-protected API with automatic wallet authentication and payment. No API keys or subscriptions required.

Check Balance

mcp
agentcash.get_balance()

Returns total USDC balance across supported networks. Use this before paid calls to confirm funds are available.

Redeem Invite Code

mcp
agentcash.redeem_invite(code="YOUR_CODE")

One-time use per code. Credits added instantly. Run agentcash.get_balance() after to verify.

Deposit USDC

  1. Call agentcash.list_accounts() to get per-network wallet addresses and deposit links
  2. Send USDC on Base network (eip155:8453) or Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) to the matching address
  3. Or open the returned deposit link for the selected network

Important: Only Base or Solana network USDC. Other networks or tokens will be lost.

Calling Paid APIs

1. Pick an origin — or search

Check the Available Services table below first. If any origin clearly covers the task, skip search entirely and jump to step 2 (discover). Examples:

TaskOrigin (skip search)
Look up a person or companystableenrich.dev
Generate an image or videostablestudio.dev
Get Instagram/TikTok datastablesocial.dev
Send an emailstableemail.dev
Upload a filestableupload.dev

Only use search when none of the listed origins fit:

mcp
agentcash.search(query="send physical mail")

Returns matching origins with endpoints and pricing (the top match often includes schema so you can call fetch immediately).

2. Discover endpoints

mcp
agentcash.discover_api_endpoints(url="https://stableenrich.dev")

Returns all endpoints, pricing, and usage instructions. Read the instructions field — it has critical endpoint-specific guidance.

3. Check schema (optional)

mcp
agentcash.check_endpoint_schema(url="https://stableenrich.dev/api/fullenrich/people-search")

Returns full request/response JSON schemas and pricing for a specific endpoint.

4. Make a paid request

mcp
agentcash.fetch(  url="https://stableenrich.dev/api/fullenrich/people-search",  method="POST",  body={    "current_company_domains": [{"value": "stripe.com"}],    "current_position_seniority_level": [{"value": "VP"}]  })

Payment is automatic: sends request, gets 402 challenge, signs USDC payment, retries with credential, returns result. Payments settle only on success (2xx) — failed requests cost nothing. agentcash.fetch also handles SIWX-authenticated endpoints automatically when the route supports that flow.

Available Services

OriginServiceWhat it does
https://stableenrich.devStableEnrichFullEnrich (people/company search), PDL & Minerva (person enrichment), CompanyEnrich (company profiles), Clado (contacts), Exa (web search), Firecrawl (scraping), Cloudflare (site crawling), Google Maps + Solar + Aerial View, Serper (news/shopping/images/lens), Whitepages, Reddit, Hunter (email verification)
https://stableupload.devStableUploadFile hosting ($0.005-$2.00 by size, tier-based retention) + static site hosting with custom domains
https://stablestudio.devStableStudioAI image/video generation: GPT Image, Flux, Grok, Nano Banana, Sora, Veo, Seedance, Wan, image-to-SVG
https://stablesocial.devStableSocialSocial media data: TikTok, Instagram, YouTube, Facebook, LinkedIn, Reddit, Rumble, GitHub, ad libraries (Scrape Creators), plus Lightreel UGC research agent. $0.06/call, async jobs
https://stableemail.devStableEmailSend emails ($0.02), forwarding inboxes ($1/mo), custom subdomains ($5)
https://stablephone.devStablePhoneAI phone calls ($0.54), phone numbers ($20), top-ups ($15)
https://stablejobs.devStableJobsJob search via Coresignal (preview $0.10/page, collect $0.20/job)
https://stabletravel.devStableTravelFlight prices and booking (Google Flights), award availability (Seats.aero), live flight tracking and airport data (FlightAware)
https://stablebrowser.devStableBrowserCloud browser automation: create a session ($0.10), then AI-powered navigate/act/extract/observe/screenshot (free SIWX)

Run agentcash.discover_api_endpoints(url="<origin>") on any origin to see its full endpoint catalog.

Quick Reference

TaskTool
Check balanceagentcash.get_balance
Get deposit links and wallet addressesagentcash.list_accounts
Redeem codeagentcash.redeem_invite(code="...")
Find APIs by natural languageagentcash.search(query="...")
Discover endpointsagentcash.discover_api_endpoints(url="...")
Check pricing/schemaagentcash.check_endpoint_schema(url="...")
Paid POST requestagentcash.fetch(url="...", method="POST", body={...})
Paid GET requestagentcash.fetch(url="...")
Authenticated GET (no payment)agentcash.fetch(url="...")

Tips

  • Skip search when a listed origin fits the task. Go straight to discover_api_endpoints. Only use search when no origin in the Available Services table matches.
  • Always discover before calling arbitrary paths — the instructions field has critical endpoint-specific patterns and required parameters.
  • Payments settle only on success (2xx) — failed requests cost nothing.
  • Use check_endpoint_schema when unsure about request/response format.
  • Independent agentcash.fetch calls can run in parallel for better throughput.
  • Network: Base (eip155:8453) or Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp), Currency: USDC.

Troubleshooting

IssueSolution
"MCP tool not found"Reinstall MCP, restart IDE
"Insufficient balance"Run agentcash.get_balance(), then agentcash.list_accounts() or redeem an invite code
"Payment failed"Transient error — retry the request
"Invalid invite code"Code already used or doesn't exist
Balance not updatingWait for Base or Solana network confirmation (~2 sec)

来源与署名

来源:merit-systems/agentcash-skills位于plugin/skills/agentcash提交522d5da

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架