Protocols & Tooling · DNS & TLS Reference

MCP Streamable HTTP & TLS Requirements Explained

Host your remote MCP server over stateless Streamable HTTP with valid port 443 HTTPS.

Record Type CNAME
Sub-Label @
Default TTL 300s Auto
MCP Tool set_proxy
DNS Record Anatomy — MCP Streamable HTTP & TLS Requirements HOST myapp.agentdomains.co Sub-label: @ TYPE CNAME TTL 300s Auto cache TARGET my-mcp.fly.dev Returned by 1.1.1.1 & 8.8.8.8 Authoritative zone: Cloudflare Edge DNS · Manage via Go CLI, REST API, or MCP tool

Exact DNS wire fields: HOST identifies the label, TYPE picks the record format, TTL sets cache duration, TARGET holds the answer.

1. Engineering Breakdown

Remote MCP clients send JSON-RPC POST requests to a public HTTPS endpoint. Put agentdomains proxy in front of your MCP server for instant edge TLS and a clean *.agentdomains.co URL.

Common Pitfalls

2. Interactive DNS Record Syntax Validator

Edit the record type, host label, or value below to validate syntax and build your CLI command.

Validate DNS syntax & generate AgentDomains CLI Query Live DoH Resolvers →
Validated CLI command

        

3. Exact CLI, curl & MCP JSON-RPC Payloads

Pick your preferred interface below and copy the working payload.

CLI command
agentdomains proxy my-mcp my-mcp.fly.dev --domain agentdomains.co
REST API via curl
curl -X POST https://mcp.agentdomains.co \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'
POST https://mcp.agentdomains.co (set_proxy)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_proxy",
    "arguments": {
      "label": "my-mcp",
      "origin": "my-mcp.fly.dev",
      "domain": "agentdomains.co"
    }
  }
}

Frequently asked questions

What is MCP Streamable HTTP?

Host your remote MCP server over stateless Streamable HTTP with valid port 443 HTTPS.

How do I automate MCP Streamable HTTP & TLS Requirements with AgentDomains?

Use the Go CLI snippet above, send a REST curl call, or invoke set_proxy on https://mcp.agentdomains.co.

Related DNS & SSL Guides

Protocols & Tooling

DNS over HTTPS (DoH)

Query live DNS records from browsers, CI jobs, or sandboxes using Cloudflare and Google JSON DoH APIs.

Protocols & Tooling

dig Command Cheatsheet for Developers

Essential dig commands for debugging A, AAAA, CNAME, TXT, _acme-challenge, NS delegation, and TTLs in seconds.

Protocols & Tooling

nslookup vs dig vs DoH

Why dig gives cleaner TTL/authority output than nslookup, and when browser DoH tools beat both.

DNS Fundamentals

Debugging DNS Propagation Delays

Follow this 4-step checklist when a new subdomain works on mobile but fails on laptop Wi-Fi.

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.