AgentDomains MCP for CrewAI
Equip CrewAI multi-agent crews with AgentDomains DNS, HTTPS proxy, and ACME DNS-01 tools via MCPServerAdapter.
MCP tool flow: CrewAI sends JSON-RPC calls to mcp.agentdomains.co and receives a live HTTPS domain.
Add Config
Open Python: crewai_tools.MCPServerAdapter and paste the snippet below.
Reload Tools
Refresh MCP tools in CrewAI. Confirm 20 AgentDomains tools appear.
Run Prompt
Paste the test prompt below to check, claim, and route a live domain.
Python: crewai_tools.MCPServerAdapter
1. Install & Configure CrewAI
Choose hosted Streamable HTTP for zero local setup, or pick local stdio to reuse your Go CLI config.
from crewai import Agent
from crewai_tools import MCPServerAdapter
server_params = {
"url": "https://mcp.agentdomains.co",
"transport": "streamable-http",
"headers": {"Authorization": "Bearer adom_YOUR_KEY"},
}
with MCPServerAdapter(server_params) as tools:
devops_agent = Agent(
role="Release Engineer",
goal="Publish every build on a live HTTPS hostname",
backstory="Automates DNS and edge TLS for agent deployments.",
tools=tools,
)
from mcp import StdioServerParameters
from crewai_tools import MCPServerAdapter
params = StdioServerParameters(
command="npx",
args=["-y", "agentdomains-mcp"],
env={"AGENTDOMAINS_API_KEY": "adom_YOUR_KEY"},
)
with MCPServerAdapter(params) as tools:
...
2. Tested First Prompt
Reload MCP tools in CrewAI. Run this prompt to check a name, claim it, and set routing.
Assign our release agent to claim crew-demo.makes.fyi and proxy it to crew-demo.onrender.com.
3. CrewAI Setup Notes
- Use "streamable-http" (hyphenated) in CrewAI MCPServerAdapter server_params.
- Keep the MCPServerAdapter context manager open for the entire crew.kickoff() call so tool connections stay alive.
- Give only the deployment agent write tools; read-only agents only need check_availability and get_domain.
4. Available MCP Tools (20 total)
CrewAI 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 CrewAI work with Streamable HTTP or stdio?
CrewAI supports Streamable HTTP & stdio. Pick hosted Streamable HTTP when available for zero local Node setup, or run npx -y agentdomains-mcp for stdio.
Where does CrewAI store its MCP config?
Store it in Python: crewai_tools.MCPServerAdapter. Keep your adom_ API key in an env var and never commit it to Git.
How much does it cost to claim domains from CrewAI?
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
Microsoft AutoGen MCP Setup
Load AgentDomains into Microsoft AutoGen 0.4+ via autogen_ext.tools.mcp StreamableHttpServerParams or StdioServerParams.
Agent FrameworkLangChain MCP Setup
Load AgentDomains MCP tools into LangChain and LangGraph using MultiServerMCPClient over stateless Streamable HTTP or local stdio.
Python / TS Agent FrameworkOpenAI Agents SDK MCP Setup
Connect OpenAI Agents SDK via MCPServerStreamableHttp or MCPServerStdio. Let Python and TypeScript agents claim domains and write DNS.
Mastra MCP Setup
Integrate AgentDomains into Mastra TypeScript agents via @mastra/mcp over Streamable HTTP or local stdio.
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.