GitHub App Webhook & Setup URLs with AgentDomains
Give automated PR review bots and GitHub Apps a dedicated HTTPS webhook and post-install callback URL.
GitHub Apps need clean homepage, callback, and webhook URLs. An agentdomains.co domain keeps them tidy.
1. 3-Stage Sequence Diagram
3-stage sequence: AI agent claims gh-review-bot.agentdomains.co, maps it to gh-review-bot.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.
{
"tool": "check_availability",
"arguments": {
"label": "gh-review-bot",
"domain": "agentdomains.co"
}
}
// Response:
{
"fqdn": "gh-review-bot.agentdomains.co",
"available": true,
"reason": "available"
}
{
"tool": "claim_domain",
"arguments": {
"label": "gh-review-bot",
"domain": "agentdomains.co",
"email": "ops@example.com"
}
}
// Response:
{
"fqdn": "gh-review-bot.agentdomains.co",
"status": "claimed",
"confirm_within_days": 30
}
{
"tool": "set_proxy",
"arguments": {
"label": "gh-review-bot",
"domain": "agentdomains.co",
"origin": "gh-review-bot.fly.dev"
}
}
// Response:
{
"ok": true,
"fqdn": "gh-review-bot.agentdomains.co",
"origin": "gh-review-bot.fly.dev",
"https": "https://gh-review-bot.agentdomains.co"
}
curl -fsSI https://gh-review-bot.agentdomains.co
# HTTP/2 200
# content-type: application/json
# strict-transport-security: max-age=31536000
3. Clean Teardown (GitHub Action & CLI)
Update the GitHub App settings before deleting or reassigning the subdomain. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.
name: Teardown gh-review-bot
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/gh-review-bot?domain=agentdomains.co"
# Or with the Go CLI:
# agentdomains delete gh-review-bot --domain agentdomains.co
More Workflow Blueprints
Auth0 Allowed Callback & Logout URLs
Configure Auth0 Allowed Callback URLs, Logout URLs, and Web Origins on a predictable HTTPS staging hostname.
Auth & IdentitySupabase Auth Magic-Link & OAuth Redirects
Add https://supa-auth.makes.fyi/** to Supabase Redirect URLs for live magic links and PKCE OAuth tests.
Clerk Dev & Staging Callbacks
Test Clerk authentication flows, sign-in redirects, and Svix webhooks together on a clean HTTPS staging hostname.
Multi-AgentAgent-to-Agent (A2A) Protocol Endpoints
Publish /.well-known/agent.json Agent Cards and A2A task endpoints over HTTPS on *.agentdomains.co.
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.