learn-mcp
Skill này làm gì
Skill này là gia sư tập trung cho lộ trình Model Context Protocol trong khóa học AI Engineering from Scratch. Nó dành cho người học muốn xây dựng hoặc gỡ lỗi MCP server và client.
Khi nào nên dùng
- ✓Khi bạn muốn học cách xây dựng một MCP client hoặc server từng bước.
- ✓Khi bạn muốn học cách bảo mật, kiểm thử hoặc gỡ lỗi một kết nối MCP.
- ✓Khi bạn muốn tiếp tục lộ trình MCP từ chỗ đã dừng.
Liên kết skill
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/learn-mcp/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Dạy tôi bài MCP tiếp theo và chỉ cho tôi cách kiểm tra một yêu cầu và phản hồi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Gia sư đi theo thứ tự bài học của lộ trình, dạy một bài mỗi buổi và yêu cầu bạn kiểm tra các yêu cầu và phản hồi thật. Gia sư ghi mỗi mốc kiểm tra vào nhật ký học tập.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Learn Model Context Protocol (MCP)
Teach the focused Model Context Protocol (MCP) route. One invocation covers one lesson. The learner should inspect a request and response, predict a boundary result, run or hand-trace the lab, and record the lesson checkpoint before advancing.
Use the invocation syntax of the host
The portable skill name is learn-mcp. Do not present one host's
syntax as a protocol rule.
| Host | Start or resume |
|---|---|
| Codex | learn-mcp, or choose it from /skills |
| Claude Code | /learn-mcp |
| Other compatible hosts | Use learn-mcp to start or resume the Model Context Protocol (MCP) path. |
Read the route before selecting a lesson
The source of truth is learning-paths/model-context-protocol.json. Prefer local
files when this repository is available. Otherwise fetch a needed file from:
https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/<path>
Follow the manifest's lessons array by order. The required sequence is 06,
07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 18, 17, 28, 29, 30, 31. Numeric next
navigation is not the route after Lesson 16.
For the selected lesson, read docs/en.md and quiz.json fully. Read or run
code/ and outputs/ only when the current teaching step needs them. Use the
lesson's stated protocol era. Never merge a legacy handshake rule into a
modern stateless trace.
Lesson 23 is the only optional capstone. Offer it only after all required rows
are complete and both manifest prerequisitePaths, Lessons 19 and 20, are
complete. Do not silently add another lesson to this path.
Establish the evidence mode
Before the first executable checkpoint, determine whether:
- The lesson files are available locally.
python3 --versionsucceeds.- The learner can write
MCP-LEARNING.mdin the current working directory. - A TypeScript runner is available if the learner chooses the optional second implementation in Lesson 07.
When local files and Python 3 are available, use executable mode. Record the absolute working directory, exact command, exit code, request id and method, selected protocol era, and observed result or error. Redact tokens, secrets, cookies, authorization headers, and sensitive parameter values.
When the repository or runtime is unavailable, continue in conceptual mode.
Read the lesson, hand-trace a small request and response, and label the evidence
Conceptual. Leave runtime, transport, authorization, and deployment checks
Pending. Do not describe a hand trace as an executed pass.
If executable files are needed but absent, offer to clone the repository into a directory the learner chooses. Wait for confirmation before cloning. The conceptual lesson must remain available without a clone.
Locate or create progress
Use MCP-LEARNING.md in the current working directory. Do not put
this route in LEARNING.md and do not modify Agent Skills progress.
Before deciding that no state exists, handle the former filename safely:
- If
MCP-LEARNING.mdexists, use it. IfMCP-ENGINEERING-LEARNING.mdalso exists, do not overwrite either file; report the collision and ask which file should own the next update. - If
MCP-LEARNING.mdis absent andMCP-ENGINEERING-LEARNING.mdexists, rename the legacy file toMCP-LEARNING.mdin the same directory before teaching. Preserve every learner note and evidence row byte for byte. If an atomic rename is unavailable, copy the file, verify the new file matches, and only then remove the legacy file. - Create a new state file only when neither filename exists. Never replace legacy progress with the blank template below.
If the file exists, preserve all learner notes and evidence. Resume the first
row marked In progress or Next. If all required rows are Done, check the
optional capstone prerequisites and report the exact missing path instead of
restarting the route.
If the file does not exist, create it without a placement quiz:
# My Model Context Protocol (MCP) Path
<!-- Managed by the learn-mcp tutor.
Source: learning-paths/model-context-protocol.json -->
## Route
- Started: <YYYY-MM-DD>
- Required time: about 23 hours 15 minutes
- Current: 1 of 17
- Evidence mode: Executable or Conceptual
## Environment
- Repository files: Available or Pending
- Python 3: Confirmed or Pending
- TypeScript runner for Lesson 07: Optional, Confirmed, or Pending
- Working directory: <absolute path>
## Public d
Câu hỏi thường gặp
Lộ trình bao gồm những gì?
Lộ trình bao gồm client, server, transport, gateway, registry và các kiểm tra tuân thủ.
Lộ trình có dạy phiên bản MCP mới nhất không?
Có. Lộ trình dùng thời kỳ giao thức được nêu trong mỗi bài và không trộn lẫn quy tắc cũ với quy tắc mới.
Tiến độ của tôi được lưu ở đâu?
Tiến độ được ghi vào một file nhật ký học MCP.
Chi tiết
Mô tả gốc của tác giả
Focused interactive tutor for the Model Context Protocol (MCP) path in AI Engineering from Scratch. Start or resume this route when a learner wants to build, secure, debug, verify, or operate MCP clients, servers, transports, gateways, registries, or conformance gates. Teaches one lesson per invocation and records wire evidence in MCP-LEARNING.md.
Độ phổ biến
- Sao GitHub
- 76k
- Vị trí xếp hạng
- #2620
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
blueprint-figure
76kGiúp agent của bạn vẽ các sơ đồ SVG tĩnh, rõ ràng cho bài học, README và sách hướng dẫn, thể hiện cách các phần thực của hệ thống kết nối.
build-project
76kĐóng vai gia sư dự án, hướng dẫn bạn qua từng giai đoạn của một dự án AI thực hành, với gợi ý và bộ chấm, nhưng không đưa đáp án đầy đủ.
check-understanding
76kKiểm tra bạn bằng một bài quiz về một giai đoạn đã hoàn thành của khóa AI Engineering from Scratch, để bạn xem mình đã nắm gì trước khi đi tiếp.
claude-certification
76kĐóng vai gia sư từng bước cho các lộ trình chứng chỉ Claude trong khóa AI Engineering from Scratch, với bài học, bài thực hành và đề thi thử.
Skill tương tự
blucli
394kGiúp agent của bạn tìm, phát, tạm dừng, nhóm và chỉnh âm lượng loa Bluesound và NAD qua lệnh blu.
camsnap
394kGiúp agent của bạn chụp ảnh, quay clip ngắn hoặc lấy sự kiện chuyển động từ camera mạng và webcam nội bộ mà bạn đã thiết lập.
eightctl
394kGiúp agent của bạn kiểm tra và điều khiển thiết bị Eight Sleep pod, gồm nhiệt độ, báo thức và lịch ngủ.