IoT & Edge · Workflow Blueprint

IoT & Hardware Device Callbacks with AgentDomains

Give ESP32 and Raspberry Pi devices a fixed DNS name. Never reflash firmware when your server IP changes.

Example Host esp32-hub.makes.fyi
MCP Flow 4 Tool Steps
HTTPS Mode A Record + TLS
Teardown GitHub Action

Flashing new IP addresses onto deployed microcontrollers is painful. Pointing firmware at esp32-hub.makes.fyi lets you update the A record via CLI or MCP whenever infrastructure moves.

1. 3-Stage Sequence Diagram

1. AI Agent / CI MCP Client or CLI 2. AgentDomains Edge esp32-hub.makes.fyi 3. Your Origin IP 203.0.113.44 1. check_availability → free 2. claim_domain → claimed 3. add_dns_record (A) Forward HTTPS / DNS traffic 4. HTTP/2 200 OK · Valid TLS

3-stage sequence: AI agent claims esp32-hub.makes.fyi, maps it to 203.0.113.44, 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("esp32-hub") RES ← available: true
MCP Call → check_availability
{
  "tool": "check_availability",
  "arguments": {
    "label": "esp32-hub",
    "domain": "makes.fyi"
  }
}
// Response:
{
  "fqdn": "esp32-hub.makes.fyi",
  "available": true,
  "reason": "available"
}
STEP 2claim_domain
REQ → claim_domain("esp32-hub") RES ← status: "claimed"
MCP Call → claim_domain
{
  "tool": "claim_domain",
  "arguments": {
    "label": "esp32-hub",
    "domain": "makes.fyi",
    "email": "ops@example.com"
  }
}
// Response:
{
  "fqdn": "esp32-hub.makes.fyi",
  "status": "claimed",
  "confirm_within_days": 30
}
STEP 3add_dns_record
REQ → add_dns_record("203.0.113.44") RES ← ok: true
MCP Call → add_dns_record
{
  "tool": "add_dns_record",
  "arguments": {
    "label": "esp32-hub",
    "domain": "makes.fyi",
    "type": "A",
    "content": "203.0.113.44"
  }
}
// Response:
{
  "ok": true,
  "id": "rec_01j8x",
  "fqdn": "esp32-hub.makes.fyi",
  "type": "A",
  "content": "203.0.113.44"
}
STEP 4Verify Live HTTPS (200 OK)
REQ → HEAD https://esp32-hub.makes.fyi RES ← HTTP/2 200 OK
Verify live HTTPS response
curl -fsSI https://esp32-hub.makes.fyi
# HTTP/2 200
# content-type: application/json
# strict-transport-security: max-age=31536000

3. Clean Teardown (GitHub Action & CLI)

Only retire IoT hostnames once all active devices have OTA-migrated to a new endpoint. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.

.github/workflows/teardown-domain.yml
name: Teardown esp32-hub
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/esp32-hub"
      # Or with the Go CLI:
      # agentdomains delete esp32-hub
Configure Your MCP Client → Check Live DNS & ACME

More Workflow Blueprints

SaaS Architecture

Multi-Tenant SaaS Subdomain Demos

Test tenant-per-subdomain routing (acme.tenant-demo.makes.fyi, beta.tenant-demo.makes.fyi) using AgentDomains sub-label DNS records (--host).

Voice AI

AI Voice Agent Webhooks

Host Vapi, Retell, ElevenLabs, or Twilio AI voice agent tool-call webhooks on a low-latency HTTPS domain.

Automation

Self-Hosted n8n Webhook Endpoints

Give self-hosted n8n on a VPS a clean WEBHOOK_URL=https://n8n-flows.makes.fyi/ so Stripe, Slack, and Google OAuth triggers work smoothly.

Automation

Zapier & Make Custom Webhooks

Expose custom Python/Node microservice actions to Zapier Webhooks and Make HTTP modules over reliable HTTPS.

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.