Basic remote MCP server usage with the Dedalus SDK
import asyncio from dedalus_labs import AsyncDedalus, DedalusRunner from dotenv import load_dotenv from dedalus_labs.utils.streaming import stream_async load_dotenv() async def main(): client = AsyncDedalus() runner = DedalusRunner(client) result = await runner.run( input="Who won Wimbledon 2025?", model="openai/gpt-5-mini", mcp_servers=["tsion/brave-search-mcp"], stream=False ) print(result.final_output) if __name__ == "__main__": asyncio.run(main())