AgentDomains MCP for Dify
Register https://mcp.agentdomains.co inside Dify Studio to expose AgentDomains DNS and reverse-proxy tools to Dify Agent workflows.
MCP tool flow: Dify sends JSON-RPC calls to mcp.agentdomains.co and receives a live HTTPS domain.
Add Config
Open Dify Studio → Tools → MCP → Add MCP Server (HTTP) and paste the snippet below.
Reload Tools
Refresh MCP tools in Dify. Confirm 20 AgentDomains tools appear.
Run Prompt
Paste the test prompt below to check, claim, and route a live domain.
Dify Studio → Tools → MCP → Add MCP Server (HTTP)
1. Install & Configure Dify
Choose hosted Streamable HTTP for zero local setup, or pick local stdio to reuse your Go CLI config.
{
"name": "AgentDomains",
"server_url": "https://mcp.agentdomains.co",
"transport": "streamable_http",
"headers": {
"Authorization": "Bearer adom_YOUR_KEY"
}
}
# Dify Cloud connects over HTTP; for local stdio bridges, run mcp-proxy or connect directly to https://mcp.agentdomains.co
2. Tested First Prompt
Reload MCP tools in Dify. Run this prompt to check a name, claim it, and set routing.
In a Dify Agent node, check availability of a user-requested slug and claim it with a reverse proxy.
3. Dify Setup Notes
- Dify Cloud requires a public HTTPS MCP endpoint — use https://mcp.agentdomains.co directly rather than local stdio.
- After adding the MCP server in Dify Studio, click Authorize/Sync to inspect all 20 tool definitions.
- Avoid enabling delete_account on public-facing Dify chatbots; scope enabled tools to check_availability and set_proxy.
4. Available MCP Tools (20 total)
Dify gets all 20 tools across account auth, domain claims, DNS records, and edge routing.
Account & Auth 5 tools
Domains & Stats 6 tools
DNS & ACME 4 tools
Edge Proxy & Forward 5 tools
Frequently asked questions
Does Dify work with Streamable HTTP or stdio?
Dify supports Streamable HTTP. Pick hosted Streamable HTTP when available for zero local Node setup, or run npx -y agentdomains-mcp for stdio.
Where does Dify store its MCP config?
Store it in Dify Studio → Tools → MCP → Add MCP Server (HTTP). Keep your adom_ API key in an env var and never commit it to Git.
How much does it cost to claim domains from Dify?
Start with a 30-day free trial for 10 names with no card. Pro costs $10/yr or $1/mo for up to 100 names.
Related MCP Clients
n8n MCP Setup
Connect n8n to mcp.agentdomains.co over HTTP Streamable. Claim domains and HTTPS proxies inside workflows.
LangChain MCP Setup
Load AgentDomains MCP tools into LangChain and LangGraph using MultiServerMCPClient over stateless Streamable HTTP or local stdio.
Multi-Agent FrameworkCrewAI MCP Setup
Equip CrewAI multi-agent crews with AgentDomains DNS, HTTPS proxy, and ACME DNS-01 tools via MCPServerAdapter.
TypeScript AI ToolkitVercel AI SDK MCP Setup
Use StreamableHTTPClientTransport in Vercel AI SDK to give Next.js and Node agents live DNS automation.
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.