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
cookbook/90_models/google/gemini_interactions/deep_research_mcp.py