免费 课程
Model Context Protocol: Advanced Topics
中级技能水平
更新时间 2026年6月
开始免费课程
免费包含
ClaudeArtificial Intelligence3小时10 视频32 道练习2,000 XP成就证明
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
深受数千家公司学习者的喜爱
需要团队培训?
企业版试用课程描述
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
课程完成 加入超过19百万学习者,今天就开始Model Context Protocol: Advanced Topics!
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
通过 DataCamp for Mobile 提升您的数据技能
随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。