{
  "markdown": "# run.pay — Agent Marketplace\n\n> Stripe-native marketplace where AI agents autonomously discover and purchase API services. Pay-per-call, no accounts needed.\n\n## MCP Endpoint\n\n```\nhttps://runpay-backend-visibility-production.up.railway.app/mcp\n```\n\n## Connect your agent\n\n### Claude Desktop\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"runpay\": {\n      \"url\": \"https://runpay-backend-visibility-production.up.railway.app/mcp\"\n    }\n  }\n}\n```\n\n### Cursor\nAdd to `.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"runpay\": {\n      \"url\": \"https://runpay-backend-visibility-production.up.railway.app/mcp\",\n      \"transport\": \"http\"\n    }\n  }\n}\n```\n\n## Available tools\n\n| Tool | Description |\n|---|---|\n| `list_services` | Browse all available services and prices |\n| `call_service` | Call a service and pay automatically via Stripe |\n\n## Available services\n\n| Service | Price | Description |\n|---|---|---|\n| Phone Validator | $0.60/call | Validate phone numbers worldwide. Returns country, line type, E164 format |\n| Phone Validator Batch | $5.00/batch | Validate up to 1000 numbers in one call |\n| Web Scraper Pro | $0.60/call | Extract title, content, links, emails from any URL |\n| Web Scraper Batch | $3.00/batch | Scrape up to 10 URLs in parallel |\n| PDF Generator | $0.60/call | Generate professional PDFs (invoices, reports, contracts) |\n| Screenshot API | $0.60/call | Capture any website as PNG with site accessibility check |\n\n## Python SDK\n\n```python\npip install requests\n```\n\n```python\nfrom runpay_sdk import RunPay\n\n# Initialize (sandbox=True for testing without payment)\nrp = RunPay(agent_id=\"my-agent-001\", sandbox=False)\n\n# Validate a phone number — $0.60\nresult = rp.validate_phone(\"+33612345678\")\nprint(result['country'])     # France\nprint(result['line_type'])   # mobile\nprint(result['is_valid'])    # True\n\n# Validate 1000 numbers in one call — $5.00\nresult = rp.validate_phones_batch([\"+33612345678\", \"+1234567890\"])\nprint(f\"{result['valid']}/{result['total']} valid\")\n\n# Scrape a website — $0.60\nresult = rp.scrape(\"https://example.com\")\nprint(result['title'])\nprint(result['emails'])\n\n# Scrape 10 URLs in parallel — $3.00\nresult = rp.scrape_batch([\"https://site1.com\", \"https://site2.com\"])\n\n# Generate an invoice PDF — $0.60\nresult = rp.generate_pdf(\n    title=\"Invoice #001\",\n    doc_type=\"invoice\",\n    language=\"fr\",\n    data={\n        \"client\": \"Acme Corp\\n123 Rue de Paris\",\n        \"invoice_number\": \"INV-001\",\n        \"tax_rate\": 20,\n        \"items\": [\n            {\"description\": \"Web Scraping\", \"qty\": 10, \"price\": 0.60}\n        ]\n    }\n)\nwith open(\"invoice.html\", \"w\") as f:\n    f.write(result['html'])\n\n# Take a screenshot — $0.60\nresult = rp.screenshot(\"https://example.com\")\nprint(result['screenshot_url'])\nprint(result['usage']['embed'])  # <img> tag ready to use\n```\n\nDownload SDK: [runpay_sdk.py](./runpay_sdk.py)\n\n## How it works\n\n1. **Sellers** publish any API function and set a price per call\n2. **AI agents** discover services via MCP protocol automatically\n3. **Stripe** charges the agent per call automatically\n4. **Sellers** receive payouts directly via Stripe Connect\n\n## Sandbox mode (test without payment)\n\n```python\n# No real payment — perfect for development\nrp = RunPay(agent_id=\"my-agent-001\", sandbox=True)\nresult = rp.validate_phone(\"+33612345678\")\n```\n\nOr via API directly:\n```bash\ncurl -X POST https://runpay-backend-visibility-production.up.railway.app/api/sandbox/call/SERVICE_ID \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"agent_id\":\"my-agent\",\"payload\":{\"phone\":\"+33612345678\"}}'\n```\n\n## Setup your agent wallet\n\nBefore calling paid services, your agent needs a payment card attached.\n\n👉 **[Setup Agent Wallet](https://getrunpay.com/agent-setup.html)**\n\n## Sell your API\n\nPublish any function and earn per agent call via Stripe.\n\n👉 **[Become a seller](https://getrunpay.com/signup.html)**\n\n## Links\n\n| | |\n|---|---|\n| 🌐 **Site** | [getrunpay.com](https://getrunpay.com) |\n| 📖 **Docs** | [getrunpay.com/docs.html](https://getrunpay.com/docs.html) |\n| 📝 **Sell your API** | [getrunpay.com/signup.html](https://getrunpay.com/signup.html) |\n| 🤖 **Agent Setup** | [getrunpay.com/agent-setup.html](https://getrunpay.com/agent-setup.html) |\n| 📊 **Dashboard** | [https://dashboard.getrunpay.com](https://dashboard.getrunpay.com) |\n| 🔍 **Smithery** | [smithery.ai/servers/runpay/marketplace](https://smithery.ai/servers/runpay/marketplace) |\n",
  "bytes": 4474,
  "sha": "be27a7800d6c5c1af3358693ed6260d5942fef475532dff848cf33f6f8596982",
  "repo_slug": "palabrex/runpay-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_palabrex_runpay_47075835/readme"
}