Войти
  • 24154Просмотров
  • 5 месяцев назадОпубликованоAlejandro AO

Deploy Remote MCP Servers in Python (Step by Step)

🚀 MCP Servers over Streamable HTTP (Step-by-Step Guide) Want to connect remote tools to your AI assistant like microservices? Meet MCP (Model Context Protocol) — the protocol that lets your LLM-based agents call external tools hosted on separate servers. Links - 📝 Written Tutorial: - 👉 Code: - 🚀 MCP Course Waitlist: - 🚀 AI Engineer Bootcamp: - ❤️ Buy me a coffee... or a beer (thanks!): References: - 🔗 - 🔗 In this video, I’ll walk you through how to create your first remote MCP server using Python and expose it over streamable HTTP. You’ll learn how to: 🔧 Build an MCP server from scratch 🌐 Expose tools (like a web search API) over HTTP 🧠 Connect your MCP server to an AI assistant like Cursor 🧪 Use the MCP Inspector to debug your server ⚡️ Mount MCP servers on FastAPI routes 🧩 Set up multiple MCP servers within a single app 🧵 Chapters: 00:00 Intro to MCP 02:10 What is MCP 07:49 Building a Remote MCP Server 14:53 Debugging Remote MCP Servers 17:15 MCP Server Demo with HTTP 19:29 Multiple MCP Servers in a FastAPI App 24:04 Deploy Multi-MCP Server