# CrewAI + Dizo

> Attach the Dizo MCP server to a CrewAI agent with MCPServerAdapter and split research and enrichment across a crew.

Type: MCP client — server URL `https://mcp.dizo.ai/mcp`. No native app needed.

## Steps
1. `pip install "crewai-tools[mcp]"`
2. Open an `MCPServerAdapter` with Dizo connection params.
3. Give the tools to the agent that does enrichment.

## crew.py
```
import os
from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter

params = {
    "url": "https://mcp.dizo.ai/mcp",
    "transport": "streamable-http",
    "headers": {"Authorization": f"Bearer {os.environ['DIZO_API_KEY']}"},
}
with MCPServerAdapter(params) as dizo_tools:
    researcher = Agent(role="Prospect researcher", goal="Find decision makers",
                       backstory="Careful with budget.", tools=dizo_tools)
    task = Task(description="Find the CFO and VP Finance at 5 US logistics companies.",
                expected_output="Table with name, title, email", agent=researcher)
    print(Crew(agents=[researcher], tasks=[task]).kickoff())
```

## Notes
- Give only the enrichment agent the Dizo tools; planning agents do not need spend access.

## Related API docs
- [/docs/best-match](https://dizo.ai/docs/best-match.md)
- [/docs/email-find](https://dizo.ai/docs/email-find.md)
