Build Your First MCP Server in Python A hands-on tutorial for PyCon 2026 on building MCP servers with Python and FastMCP. Slides https://pamelafox.github.io/pycon2026-mcp-tutorial/ Exercises Exercise Description Exercise 1 Set up your environment, connect a coding agent to public MCP servers, and try an authenticated server Exercise 2 Write a Python agent that uses MCP tools with LangChain, Pydantic AI, or Agent Framework Exercise 3 Build your own MCP server from scratch with FastMCP — a store that lists and sells products Exercise 4 Add visual UI with Prefab charts and cards, plus purchase confirmation with elicitation Exercise 5 Add OAuth 2.1 authentication to your server using Keycloak