AgentDomains MCP for Haystack (deepset)
Attach AgentDomains to deepset Haystack pipelines via MCPToolset and StreamableHttpServerInfo.
MCP tool flow: Haystack (deepset) sends JSON-RPC calls to mcp.agentdomains.co and receives a live HTTPS domain.
Add Config
Open Python: haystack_integrations.tools.mcp (MCPToolset) and paste the snippet below.
Reload Tools
Refresh MCP tools in Haystack (deepset). Confirm 20 AgentDomains tools appear.
Run Prompt
Paste the test prompt below to check, claim, and route a live domain.
Python: haystack_integrations.tools.mcp (MCPToolset)
1. Install & Configure Haystack (deepset)
Choose hosted Streamable HTTP for zero local setup, or pick local stdio to reuse your Go CLI config.
from haystack_integrations.tools.mcp import MCPToolset, StreamableHttpServerInfo
from haystack.utils import Secret
server_info = StreamableHttpServerInfo(
url="https://mcp.agentdomains.co",
token=Secret.from_env_var("AGENTDOMAINS_API_KEY"),
)
toolset = MCPToolset(server_info=server_info)
from haystack_integrations.tools.mcp import MCPToolset, StdioServerInfo
server_info = StdioServerInfo(
command="npx",
args=["-y", "agentdomains-mcp"],
env={"AGENTDOMAINS_API_KEY": "adom_YOUR_KEY"},
)
toolset = MCPToolset(server_info=server_info)
2. Tested First Prompt
Reload MCP tools in Haystack (deepset). Run this prompt to check a name, claim it, and set routing.
Publish a Haystack retrieval pipeline by claiming search-api.makes.fyi and proxying to our origin.
3. Haystack (deepset) Setup Notes
- Install mcp-haystack (
pip install mcp-haystack) for StreamableHttpServerInfo and MCPToolset. - Use Secret.from_env_var("AGENTDOMAINS_API_KEY") so Haystack serializes pipeline YAML safely without leaking tokens.
- Pass tool_names=["check_availability","claim_domain","set_proxy"] to MCPToolset when you only want a subset of tools.
4. Available MCP Tools (20 total)
Haystack (deepset) 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 Haystack (deepset) work with Streamable HTTP or stdio?
Haystack (deepset) 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 Haystack (deepset) store its MCP config?
Store it in Python: haystack_integrations.tools.mcp (MCPToolset). Keep your adom_ API key in an env var and never commit it to Git.
How much does it cost to claim domains from Haystack (deepset)?
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
LlamaIndex MCP Setup
Expose AgentDomains tools inside LlamaIndex agents and workflows with BasicMCPClient and McpToolSpec.
Agent FrameworkLangChain MCP Setup
Load AgentDomains MCP tools into LangChain and LangGraph using MultiServerMCPClient over stateless Streamable HTTP or local stdio.
Typed Python Agent FrameworkPydanticAI MCP Setup
Attach AgentDomains to PydanticAI via MCPServerStreamableHTTP so strongly typed Python agents can register and proxy subdomains.
Lightweight Python AgentHugging Face smolagents MCP Setup
Connect Hugging Face smolagents CodeAgent and ToolCallingAgent to AgentDomains over Streamable HTTP or 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.