import os from agents import Agent, Runner from agents.mcp import MCPServerStreamableHttp async with MCPServerStreamableHttp(params={ "url": "http://127.0.0.1:PORT/mcp", "headers": {"Authorization": f"Bearer {os.environ['MOOCHY_TOKEN']}"}, }) as moochy: agent = Agent(name="reviewer", instructions="…", mcp_servers=[moochy]) result = await Runner.run(agent, "Review the diff in src/")