Building Data APIs and MCP servers with Python
summary
The talk covers building REST APIs in Python with FastAPI and then exposing them to AI agents using the Model Context Protocol (MCP) via a FastMCP server. It explains MCP, compares it to direct API integrations, CLI tools, and agent skills, and demonstrates a practical architecture where a reusable FastAPI backend is first created and then connected to agents through FastMCP so the same services support both traditional apps and AI-driven agents.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 3:42Sync vs async APIs
- 5:51FastAPI overview
- 9:08Building API with FastAPI
- 12:11Creating SDK
- 15:06Adding endpoints
- 21:04Q&A
- 22:11Agent data access
- 24:41Direct API access
- 26:08Agent skills
- 27:11CLI integration
- 28:14MCP servers intro
- 30:31MCP components
- 33:20Building MCP server
- 39:03Testing with Copilot
- 44:27Hosting MCP server
- 46:19Q&A on output
- 48:12Learning MCP
- 50:27Q&A and closing
