AgentDomains MCP for Microsoft AutoGen
Load AgentDomains into Microsoft AutoGen 0.4+ via autogen_ext.tools.mcp StreamableHttpServerParams or StdioServerParams.
MCP tool flow: Microsoft AutoGen sends JSON-RPC calls to mcp.agentdomains.co and receives a live HTTPS domain.
Add Config
Open Python: autogen_ext.tools.mcp (StreamableHttpServerParams / StdioServerParams) and paste the snippet below.
Reload Tools
Refresh MCP tools in Microsoft AutoGen. Confirm 20 AgentDomains tools appear.
Run Prompt
Paste the test prompt below to check, claim, and route a live domain.
Python: autogen_ext.tools.mcp (StreamableHttpServerParams / StdioServerParams)
1. Install & Configure Microsoft AutoGen
Choose hosted Streamable HTTP for zero local setup, or pick local stdio to reuse your Go CLI config.
from autogen_ext.tools.mcp import StreamableHttpServerParams, mcp_server_tools
params = StreamableHttpServerParams(
url="https://mcp.agentdomains.co",
headers={"Authorization": "Bearer adom_YOUR_KEY"},
)
tools = await mcp_server_tools(params)
from autogen_ext.tools.mcp import StdioServerParams, mcp_server_tools
params = StdioServerParams(
command="npx",
args=["-y", "agentdomains-mcp"],
env={"AGENTDOMAINS_API_KEY": "adom_YOUR_KEY"},
)
tools = await mcp_server_tools(params)
2. Tested First Prompt
Reload MCP tools in Microsoft AutoGen. Run this prompt to check a name, claim it, and set routing.
Have the InfraAgent verify availability of autogen-app.makes.fyi and configure an A record.
3. Microsoft AutoGen Setup Notes
- Install autogen-ext[mcp] alongside autogen-agentchat >= 0.4 for StreamableHttpServerParams.
- Pass tools into AssistantAgent(..., tools=tools, reflect_on_tool_use=True) so the agent explains the live FQDN returned by claim_domain.
- Use a UserProxyAgent approval gate before letting autonomous teams call delete_domain.
4. Available MCP Tools (20 total)
Microsoft AutoGen 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 Microsoft AutoGen work with Streamable HTTP or stdio?
Microsoft AutoGen 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 Microsoft AutoGen store its MCP config?
Store it in Python: autogen_ext.tools.mcp (StreamableHttpServerParams / StdioServerParams). Keep your adom_ API key in an env var and never commit it to Git.
How much does it cost to claim domains from Microsoft AutoGen?
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
CrewAI MCP Setup
Equip CrewAI multi-agent crews with AgentDomains DNS, HTTPS proxy, and ACME DNS-01 tools via MCPServerAdapter.
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.
PydanticAI MCP Setup
Attach AgentDomains to PydanticAI via MCPServerStreamableHTTP so strongly typed Python agents can register and proxy subdomains.
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.