SSL / TLS · Workflow Blueprint

ACME DNS-01 & Private TLS Certs with AgentDomains

Publish _acme-challenge TXT records via MCP or CLI. Get Let’s Encrypt certs behind NAT or closed port 80.

Example Host internal-ca.makes.fyi
MCP Flow 4 Tool Steps
HTTPS Mode ACME DNS-01
Teardown GitHub Action

HTTP-01 fails whenever port 80 is blocked or a service is internal-only. add_acme_challenge publishes the exact _acme-challenge TXT token in seconds so Certbot, Caddy, or acme.sh issues trusted certs.

1. 3-Stage Sequence Diagram

1. AI Agent / CI MCP Client or CLI 2. AgentDomains Edge internal-ca.makes.fyi 3. Your Origin IP 203.0.113.99 1. check_availability → free 2. claim_domain → claimed 3. add_acme_challenge (TXT) Forward HTTPS / DNS traffic 4. HTTP/2 200 OK · Valid TLS

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

3. Clean Teardown (GitHub Action & CLI)

Clean up spent _acme-challenge TXT records with delete_record after issuance. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.

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

More Workflow Blueprints

Client Delivery

Agency Client Staging Links

Give clients clean clientname-stage.makes.fyi preview links. Run up to 100 projects on one $10/yr Pro plan.

Automation

Scheduled Cron & Job Endpoints

Expose clean HTTPS webhook triggers for GitHub Actions, Upstash QStash, or Cloud Scheduler without hardcoding opaque serverless URLs.

Chat Bots

Discord Interaction Endpoints

Give Discord HTTP Interactions (Ed25519-verified slash commands) a fast, trusted HTTPS endpoint with zero manual certificate renewal.

Chat Bots

Telegram Bot Webhook HTTPS

Call Telegram’s setWebhook API with https://tg-helper.makes.fyi/bot backed by trusted Cloudflare edge TLS on port 443.

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.