mcpField
R
run.pay

run.pay

远程服务
getrunpay.com开发工具117 周前更新

关于 run.pay

run.pay 是一个 MCP 市场,让 AI Agent 发现 API 服务并通过 Stripe 按次付费。卖家可发布并设定单次价格,Agent 则可浏览和调用服务,无需创建市场账户。

主要功能

  1. 01浏览服务及其价格
  2. 02调用服务并自动通过 Stripe 付款
  3. 03按次定价并发布 API
  4. 04使用沙盒模式测试调用
  5. 05使用 Python SDK

适用场景

  1. 01通过 Agent 验证电话号码
  2. 02从网址提取内容
  3. 03按需生成 PDF
  4. 04向 Agent 出售 API 功能

MCP 相关

MCP 服务提供列出可用服务和调用所选服务的工具,并通过 Stripe 处理付款。它将 Agent 连接到市场中的付费 API 服务。

配置

远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。

服务地址https://runpay-backend-visibility-production.up.railway.app/mcp
一键复制安装命令
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。

工具

2
参数类型必填说明
searchstring否
categorystring否

详细介绍

run.pay — Agent 市场

基于 Stripe 的原生市场,AI Agent 可自主发现并购买 API 服务。按次付费,无需账户。

MCP 端点

https://runpay-backend-visibility-production.up.railway.app/mcp

连接你的 Agent

Claude Desktop

添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "runpay": {
      "url": "https://runpay-backend-visibility-production.up.railway.app/mcp"
    }
  }
}
Cursor

添加到 .cursor/mcp.json:

{
  "mcpServers": {
    "runpay": {
      "url": "https://runpay-backend-visibility-production.up.railway.app/mcp",
      "transport": "http"
    }
  }
}

可用工具

工具描述
list_services浏览所有可用服务及价格
call_service调用服务并通过 Stripe 自动付款

可用服务

服务价格描述
电话号码验证器$0.60/次调用验证全球电话号码。返回国家、线路类型和 E164 格式
批量电话号码验证器$5.00/批次一次调用最多验证 1000 个号码
Web Scraper Pro$0.60/次调用从任意 URL 提取标题、内容、链接和电子邮件
批量 Web Scraper$3.00/批次并行抓取最多 10 个 URL
PDF 生成器$0.60/次调用生成专业 PDF(发票、报告、合同)
截图 API$0.60/次调用将任意网站截取为 PNG,并检查网站可访问性

Python SDK

pip install requests
from runpay_sdk import RunPay

# Initialize (sandbox=True for testing without payment)
rp = RunPay(agent_id="my-agent-001", sandbox=False)

# Validate a phone number — $0.60
result = rp.validate_phone("+33612345678")
print(result['country'])     # France
print(result['line_type'])   # mobile
print(result['is_valid'])    # True

# Validate 1000 numbers in one call — $5.00
result = rp.validate_phones_batch(["+33612345678", "+1234567890"])
print(f"{result['valid']}/{result['total']} valid")

# Scrape a website — $0.60
result = rp.scrape("https://example.com")
print(result['title'])
print(result['emails'])

# Scrape 10 URLs in parallel — $3.00
result = rp.scrape_batch(["https://site1.com", "https://site2.com"])

# Generate an invoice PDF — $0.60
result = rp.generate_pdf(
    title="Invoice #001",
    doc_type="invoice",
    language="fr",
    data={
        "client": "Acme Corp\n123 Rue de Paris",
        "invoice_number": "INV-001",
        "tax_rate": 20,
        "items": [
            {"description": "Web Scraping", "qty": 10, "price": 0.60}
        ]
    }
)
with open("invoice.html", "w") as f:
    f.write(result['html'])

# Take a screenshot — $0.60
result = rp.screenshot("https://example.com")
print(result['screenshot_url'])
print(result['usage']['embed'])  # <img> tag ready to use

下载 SDK:runpay_sdk.py

工作原理

  1. 卖家发布任意 API 函数,并设置单次调用价格
  2. AI Agent 通过 MCP 协议自动发现服务
  3. Stripe 自动按次向 Agent 收费
  4. 卖家通过 Stripe Connect 直接收款

沙盒模式(无需付款即可测试)

# No real payment — perfect for development
rp = RunPay(agent_id="my-agent-001", sandbox=True)
result = rp.validate_phone("+33612345678")

也可直接通过 API 调用:

curl -X POST https://runpay-backend-visibility-production.up.railway.app/api/sandbox/call/SERVICE_ID \
  -H "Content-Type: application/json" \
  -d '{"agent_id":"my-agent","payload":{"phone":"+33612345678"}}'

设置你的 Agent 钱包

调用付费服务前,需要为 Agent 绑定一张支付卡。

👉 设置 Agent 钱包

出售你的 API

发布任意函数,通过 Agent 的每次调用赚取收入,并由 Stripe 处理付款。

👉 成为卖家

链接

🌐 网站getrunpay.com
📖 文档getrunpay.com/docs.html
📝 出售你的 APIgetrunpay.com/signup.html
🤖 Agent 设置getrunpay.com/agent-setup.html
📊 控制面板https://dashboard.getrunpay.com
🔍 Smitherysmithery.ai/servers/runpay/marketplace

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。