Webhooks · Workflow Blueprint

Stripe Webhook Testing with AgentDomains

Give Stripe webhooks a valid HTTPS URL with edge TLS and untouched raw POST bodies for signature checks.

Example Host stripe-dev.makes.fyi
MCP Flow 4 Tool Steps
HTTPS Mode Edge Proxy
Teardown GitHub Action

Stripe rejects self-signed certs. set_proxy handles HTTPS at our edge and forwards Stripe-Signature headers and raw JSON bodies untouched.

1. 3-Stage Sequence Diagram

1. AI Agent / CI MCP Client or CLI 2. AgentDomains Edge stripe-dev.makes.fyi 3. Your Origin billing-dev.fly.dev 1. check_availability → free 2. claim_domain → claimed 3. set_proxy (HTTPS Edge) Forward HTTPS / DNS traffic 4. HTTP/2 200 OK · Valid TLS

3-stage sequence: AI agent claims stripe-dev.makes.fyi, maps it to billing-dev.fly.dev, and verifies HTTPS 200 OK.

2. 4-Step MCP Tool-Call Transcript

Your agent sends these exact calls to https://mcp.agentdomains.co or local stdio.

STEP 1check_availability
REQ → check_availability("stripe-dev") RES ← available: true
MCP Call → check_availability
{
  "tool": "check_availability",
  "arguments": {
    "label": "stripe-dev",
    "domain": "makes.fyi"
  }
}
// Response:
{
  "fqdn": "stripe-dev.makes.fyi",
  "available": true,
  "reason": "available"
}
STEP 2claim_domain
REQ → claim_domain("stripe-dev") RES ← status: "claimed"
MCP Call → claim_domain
{
  "tool": "claim_domain",
  "arguments": {
    "label": "stripe-dev",
    "domain": "makes.fyi",
    "email": "ops@example.com"
  }
}
// Response:
{
  "fqdn": "stripe-dev.makes.fyi",
  "status": "claimed",
  "confirm_within_days": 30
}
STEP 3set_proxy
REQ → set_proxy("billing-dev.fly.dev") RES ← ok: true
MCP Call → set_proxy
{
  "tool": "set_proxy",
  "arguments": {
    "label": "stripe-dev",
    "domain": "makes.fyi",
    "origin": "billing-dev.fly.dev"
  }
}
// Response:
{
  "ok": true,
  "fqdn": "stripe-dev.makes.fyi",
  "origin": "billing-dev.fly.dev",
  "https": "https://stripe-dev.makes.fyi"
}
STEP 4Verify Live HTTPS (200 OK)
REQ → HEAD https://stripe-dev.makes.fyi RES ← HTTP/2 200 OK
Verify live HTTPS response
curl -fsSI https://stripe-dev.makes.fyi
# HTTP/2 200
# content-type: application/json
# strict-transport-security: max-age=31536000

3. Clean Teardown (GitHub Action & CLI)

Tear down temporary webhook domains after CI integration tests complete. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.

.github/workflows/teardown-domain.yml
name: Teardown stripe-dev
on:
  workflow_dispatch:
  pull_request:
    types: [closed]
jobs:
  cleanup:
    runs-on: ubuntu-latest
    steps:
      - name: Delete AgentDomains hostname before destroying compute
        env:
          AGENTDOMAINS_API_KEY: ${{ secrets.AGENTDOMAINS_API_KEY }}
        run: |
          curl -fsSL -X DELETE \
            -H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
            "https://api.agentdomains.co/v1/subdomains/stripe-dev"
      # Or with the Go CLI:
      # agentdomains delete stripe-dev
Configure Your MCP Client → Check Live DNS & ACME

More Workflow Blueprints

Auth & Identity

OAuth 2.0 Callback URLs

Register stable HTTPS redirect URIs (https://oauth-stage.agentdomains.co/auth/callback) for Google, GitHub, Discord, and Slack OAuth apps.

CI / CD

Ephemeral Pull-Request Previews

Spin up pr-142-web.makes.fyi automatically when a GitHub PR opens and delete it cleanly on merge.

MCP Ecosystem

Remote MCP Server Hosting

Publish your own Streamable HTTP MCP server over trusted HTTPS (https://my-mcp-srv.agentdomains.co) so Claude, Cursor, and ChatGPT can connect.

Rapid Shipping

Hackathon Demo URLs

Claim a short demo domain in 10 seconds during a hackathon. Free for 30 days with no card.

30 Days Free · No Card Required

Claim your agent domain now

Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.