Chúng tôi không thể tìm thấy kết nối internet
Đang cố gắng kết nối lại
Có lỗi xảy ra!
Hãy kiên nhẫn trong khi chúng tôi khắc phục sự cố
Học Máy chủ MCP bằng Python (DỄ DÀNG)
In this video, I explain what an MCP server is, how it works and how to create an MCP Server that we will use with Claude Desktop and Claude Code.
🔗 Links
---
Repo + Blog post (actually a readme): https://github.com/alejandro-ao/mcp-server-example
MCP docs (with most of the commands I used here): http://modelcontextprotocol.io/
Complete AI Engineer Bootcamp: https://aibootcamp.dev (taught by me)
Buy me a coffee... or a beer (thanks): buymeacoffee.com/alejandro.ao
🛠️ What You'll Learn:
----
- Set up a modern Python development environment with UV package manager
- Build an MCP server from scratch using FastMCP
- Implement Google Search API integration for documentation search
- Parse and process web content with BeautifulSoup
- Configure Claude Desktop for MCP server integration
- Handle async operations with httpx
- Implement proper error handling and timeouts
📚 Technologies Covered:
---
- Model Context Protocol (MCP)
- Python 3.10+
- UV Package Manager
- FastMCP SDK
- Claude Desktop
- httpx
- BeautifulSoup
- Google Serper API
⏱️ Timestamps
---
0:00 intro
1:36 What is an Agent
5:33 What is MCP
8:12 What We Will Build
9:27 Building Our Own MCP Server
14:22 Serper API
16:55 Helper Functions
20:20 Create an MCP tool
26:34 MCP + Claude Desktop
30:29 MCP + Claude Code
35:26 Debug MCP Servers
38:15 Conclusion
Dịch Vào Lúc: 2025-03-15T05:36:14Z