Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to integrate the Model Context Protocol (MCP) with the OpenAI Agents SDK through this hands-on coding tutorial. Set up a Python environment and create a custom Math MCP server featuring tools for addition, multiplication, division, and factorial calculations. Connect your MCP server to an OpenAI Agent and master essential operations including listing available MCP tools, executing function calls like add(5,7) and factorial(5), and coordinating multiple MCP servers simultaneously. Understand async/await patterns in Python for effective MCP communication while running your server locally with guidance for cloud deployment. Follow along with step-by-step implementation to build practical skills in extending AI agents with custom tools and protocols.
Syllabus
L-25 How to Use MCP with OpenAI Agents SDK
Taught by
Code With Aarohi