Module 2 of 2 in AI Agents from Scratch

MCP Fundamentals

Share
Save for later

Module outcomes

  • Build MCP servers with Python and FastMCP
  • Implement and inspect MCP Tools, Resources, and Prompts
  • Create programmatic MCP clients and connect them to LLM APIs
  • Apply advanced MCP features such as Elicitation, Roots, and Sampling
  • Ship a full-stack ChatGPT App with a Python backend and React frontend

Covered concepts

  • MCP architecture: Hosts, Clients, and Servers
  • FastMCP server development in Python
  • Tools, Resources, and Prompts
  • MCP Inspector and schema validation
  • Programmatic MCP clients and Anthropic MCP Connector
  • Elicitation, Roots, and Sampling
  • OpenAI Apps SDK and ChatGPT widgets
  • Serving React frontends as MCP resources

Module content

1
What is MCP & Hello World Lesson (18 mins)
IntroductionStart
Writing MCP Server Code
Running MCP Server
Conclusion
IntroductionStart
Setting Up MCP Inspector
Understanding MCP Tools
Understanding MCP Resources
Understanding MCP Prompts
Conclusion
IntroductionStart
Building an MCP Client
Running the MCP Client
Programmatic MCP with LLMs
Conclusion
4
Advanced Features Lesson (33 mins)
IntroductionStart
Understanding Elicitation
Understanding Roots
Enforcing Roots
Understanding Sampling
Sampling with Real AI
Conclusion
5
Building a ChatGPT App Lesson (27 mins)
Introduction to ChatGPT AppsStart
The Backend: Serving Resources
Server & Tunnel Setup
Running the Application
Conclusion