ข้ามไปยังเนื้อหาหลัก
หน้าหลักAI

ฟรี คอร์ส

Model Context Protocol: Advanced Topics

ระดับกลางระดับทักษะ
อัปเดตแล้ว 06/2569
Go beyond MCP basics with sampling, notifications, roots, and the STDIO and StreamableHTTP transports in Python.
เริ่มคอร์สฟรี

รวมอยู่ฟรี

ClaudeArtificial Intelligence
3 ชม.
10 วิดีโอ
32 แบบฝึกหัด
2,000 XP
ใบรับรองความสำเร็จ

สร้างบัญชีฟรีของคุณ

ดำเนินการต่อด้วย Googleแสดงตัวเลือกเพิ่มเติม

หรือ


เมื่อดำเนินการต่อ คุณยอมรับ ข้อกำหนดการใช้งาน ของเรา นโยบายความเป็นส่วนตัว ของเรา และยอมรับว่าข้อมูลของคุณจะถูกจัดเก็บในสหรัฐอเมริกา

เป็นที่รักของผู้เรียนในบริษัทหลายพันแห่ง

Group

กำลังฝึกอบรมทีม?

ลองใช้สำหรับธุรกิจ

คำอธิบายคอร์ส

You've built an MCP server that exposes a few tools - now it's time to make it behave like the ones running in production. Advanced MCP is where servers delegate work to clients, report on what they're doing, respect filesystem boundaries, and talk to clients across very different transports.

Master Core MCP Features

Start with sampling, which lets a server hand a prompt back to the client's language model instead of holding its own API key. Then stream log and progress notifications so learners watching a 30-second tool call can see it working, and use roots to define exactly which files and folders a server is allowed to touch - a boundary the SDK leaves you to enforce yourself.

Understand How Clients and Servers Talk

Go to the wire level and see what actually crosses the connection. You'll hand-write JSON-RPC requests and notifications, tell the two apart by their id field, and follow the initialization handshake message by message.

Compare the STDIO and StreamableHTTP Transports

Learn why a STDIO server only works on one machine, how the StreamableHTTP transport uses a long-lived Server-Sent Events stream to push messages back to the client, and what the stateless_http and json_response flags trade away. By the end, you'll know which transport fits a local tool versus a remote, load-balanced deployment - and why.

ข้อกำหนดเบื้องต้น

Introduction to Model Context Protocol (MCP)
1

Core MCP features

Discover the advanced features that separate a toy MCP server from a production one. You'll use sampling to borrow the client's language model, stream log and progress notifications from a slow tool so users see it working, and enforce roots so a server only ever touches the files it was granted.
เริ่มบท
2

Transports and communication

Go to the wire level and see how MCP clients and servers actually talk. You'll hand-write JSON-RPC requests and notifications, trace the initialization handshake, and compare the STDIO transport for local servers with the StreamableHTTP transport for remote ones, including how Server-Sent Events and statelessness shape what each can do.
เริ่มบท
Model Context Protocol: Advanced Topics
คอร์สเสร็จสมบูรณ์

รับใบรับรองความสำเร็จ

เพิ่มใบรับรองนี้ไปยังโปรไฟล์ LinkedIn เรซูเม่ หรือ CV ของคุณ
แชร์บน social media และในการรีวิวผลการปฏิบัติงานของคุณ
ลงทะเบียนทันที

ร่วมกับผู้เรียนกว่า 19 ล้านคนและเริ่มต้น Model Context Protocol: Advanced Topics วันนี้!

สร้างบัญชีฟรีของคุณ

ดำเนินการต่อด้วย Googleแสดงตัวเลือกเพิ่มเติม

หรือ


เมื่อดำเนินการต่อ คุณยอมรับ ข้อกำหนดการใช้งาน ของเรา นโยบายความเป็นส่วนตัว ของเรา และยอมรับว่าข้อมูลของคุณจะถูกจัดเก็บในสหรัฐอเมริกา

พัฒนาทักษะด้านข้อมูลของคุณด้วย DataCamp for Mobile

พัฒนาทักษะได้ทุกที่ทุกเวลาด้วยคอร์สเรียนบนมือถือและแบบฝึกหัดเขียนโค้ดประจำวัน 5 นาทีของเรา