mcp_servers; the type: "mcp_server" field is added automatically.
Only url is required. name, headers, and allowed_tools are optional. Custom Function Calling tools are not supported by Deep Research, but remote MCP servers are.
Code
deep_research_mcp.py
Usage
1
Set up your virtual environment
2
Set your API key
3
Install dependencies
4
Run Agent
Save the code above as
deep_research_mcp.py, then run: