run.pay

السجل الرسمي المالية والمدفوعات

Stripe-native marketplace where AI agents discover and pay per call for API services.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http run-pay 'https://runpay-backend-visibility-production.up.railway.app/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "run-pay": {
            "type": "http",
            "url": "https://runpay-backend-visibility-production.up.railway.app/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. run.pay — Agent Marketplace
  2. MCP Endpoint
  3. Connect your agent
  4. Available tools
  5. Available services
  6. Python SDK
  7. How it works
  8. Sandbox mode (test without payment)
  9. Setup your agent wallet
  10. Sell your API
  11. Links

run.pay — Agent Marketplace

Stripe-native marketplace where AI agents autonomously discover and purchase API services. Pay-per-call, no accounts needed.

MCP Endpoint

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

Connect your agent

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Add to .cursor/mcp.json:

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

Available tools

ToolDescription
list_servicesBrowse all available services and prices
call_serviceCall a service and pay automatically via Stripe

Available services

ServicePriceDescription
Phone Validator$0.60/callValidate phone numbers worldwide. Returns country, line type, E164 format
Phone Validator Batch$5.00/batchValidate up to 1000 numbers in one call
Web Scraper Pro$0.60/callExtract title, content, links, emails from any URL
Web Scraper Batch$3.00/batchScrape up to 10 URLs in parallel
PDF Generator$0.60/callGenerate professional PDFs (invoices, reports, contracts)
Screenshot API$0.60/callCapture any website as PNG with site accessibility check

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

Download SDK: runpay_sdk.py

How it works

  1. Sellers publish any API function and set a price per call
  2. AI agents discover services via MCP protocol automatically
  3. Stripe charges the agent per call automatically
  4. Sellers receive payouts directly via Stripe Connect

Sandbox mode (test without payment)

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

Or via API directly:

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"}}'

Setup your agent wallet

Before calling paid services, your agent needs a payment card attached.

👉 Setup Agent Wallet

Sell your API

Publish any function and earn per agent call via Stripe.

👉 Become a seller

الأسئلة الشائعة

ما هو run.pay؟

Stripe-native marketplace where AI agents discover and pay per call for API services.

كيف أثبّت run.pay؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http run-pay 'https://runpay-backend-visibility-production.up.railway.app/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج run.pay إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل run.pay مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون run.pay؟

ينشره PalabreX. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.