본문으로 바로가기

무료 코스

Model Context Protocol: Advanced Topics

중급3시간

Go beyond MCP basics with sampling, notifications, roots, and the STDIO and StreamableHTTP transports in Python.

Python3시간10개 동영상32개 연습 문제2,000 XP613수료 확인서

무료 계정 만들기

Google에서 계속 진행
또는
계속 진행하시면 다음 약관에 동의하는 것으로 간주됩니다: 이용약관, 우리의 개인정보 처리방침 그리고 귀하의 데이터가 미국에 저장된다는 점입니다.

수천 개 기업의 학습자가 선택한 서비스

코스 설명

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.

사전 요구 사항

커리큘럼

코스 개요

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.
챕터 시작하기

Model Context Protocol: Advanced Topics

코스
완료

성취 확인서 획득하기

지금 등록하기

DataCamp for Mobile로 데이터 스킬을 키워보세요

모바일 강의와 매일 5분 코딩 챌린지로 이동 중에도 학습을 진행하세요.