Agent skill

Learn MCP Tutor

by rohitg00 in rohitg00/ai-engineering-from-scratch

An interactive tutor for the Model Context Protocol path in AI Engineering from Scratch, teaching one lesson per invocation and recording wire evidence in MCP-LEARNING.md.

MITAuto-check passedEducation

Install Learn MCP Tutor

skills CLI
$ npx skills add rohitg00/ai-engineering-from-scratch --skill learn-mcp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rohitg00/ai-engineering-from-scratch learn-mcp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rohitg00/ai-engineering-from-scratch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/learn-mcp .claude/skills/learn-mcp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
learn-mcp
GitHub stars
66k
Token cost
~2.4k tokens
SKILL.md length
1,093 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

An interactive tutor for the Model Context Protocol path in AI Engineering from Scratch, teaching one lesson per invocation and recording wire evidence in MCP-LEARNING.md.

  • Works in 4 steps: The lesson files are available locally. → python3 --version succeeds. → The learner can write MCP-LEARNING.md in… → …
  • Learning to build or debug MCP clients and servers lesson by lesson
  • SKILL.md covers Use the invocation syntax of…, Read the route before…, Establish the evidence mode and Locate or create progress, plus 4 more sections
  • Calls python3

What it does

Each invocation teaches a single lesson of the focused MCP route. The learner inspects a request and response, predicts a boundary result, runs or hand-traces the lab, and records a checkpoint before moving on. The order comes from a manifest, learning-paths/model-context-protocol.json, and it is not simple numeric next-navigation after Lesson 16. For the chosen lesson the agent reads docs/en.md and quiz.json in full, and opens code and outputs only when a teaching step needs them.

Before the first executable checkpoint it picks an evidence mode. When the lesson files and Python 3 are available, it runs the lab and records the working directory, exact command, exit code, request id and method, protocol era and observed result, with tokens, secrets, cookies and authorization headers redacted. Otherwise it falls back to a conceptual mode that hand-traces a small request and response. Lesson 07 has an optional TypeScript implementation, and Lesson 23 is the only optional capstone. Invocation follows the host: learn-mcp in Codex and /learn-mcp in Claude Code.

When your agent uses it

  • Learning to build or debug MCP clients and servers lesson by lesson
  • Resuming an MCP course where you left off
  • Practicing MCP security, transports or conformance checks with recorded evidence

Example prompts

  • “Start the MCP learning path and teach me the first lesson.”
  • “Resume learn-mcp where I stopped and quiz me on the last checkpoint.”
  • “Use learn-mcp to walk me through a request and response trace for a tool call.”

Requirements

  • Python 3, for executable mode
  • Write access to the working directory for MCP-LEARNING.md

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. The lesson files are available locally.
  2. python3 --version succeeds.
  3. The learner can write MCP-LEARNING.md in the current working
  4. A TypeScript runner is available if the learner chooses the optional second

What it can do on your machine

Read from SKILL.md and the folder at commit cdfd9df. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Learn MCP Tutor loads about 2.4k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 1,093 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rohitg00/ai-engineering-from-scratch at commit cdfd9df, republished under its MIT licence (© rohitg00). 1,093 words, ~2,371 tokens.

Download SKILL.mdSave it as .claude/skills/learn-mcp/SKILL.md (or your agent's skills folder).
name
learn-mcp
description
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.

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.

HostStart or resume
Codexlearn-mcp, or choose it from /skills
Claude Code/learn-mcp
Other compatible hostsUse 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:

text
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:

  1. The lesson files are available locally.
  2. python3 --version succeeds.
  3. The learner can write MCP-LEARNING.md in the current working directory.
  4. 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:

  1. If MCP-LEARNING.md exists, use it. If MCP-ENGINEERING-LEARNING.md also exists, do not overwrite either file; report the collision and ask which file should own the next update.
  2. If MCP-LEARNING.md is absent and MCP-ENGINEERING-LEARNING.md exists, rename the legacy file to MCP-LEARNING.md in 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.
  3. 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:

markdown
# 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 deployment gate
- Lesson 15 executable checkpoint: Pending
- Threat model reviewed: Pending
- External target and authority confirmed: Pending

## Progress
| Order | Lesson | Status | Evidence | Completed |
|---:|---|---|---|---|
| 1 | 13/06 MCP fundamentals | Next | | |
| 2 | 13/07 MCP server | Locked | | |
| 3 | 13/08 MCP client | Locked | | |
| 4 | 13/09 MCP transports | Locked | | |
| 5 | 13/10 Resources and prompts | Locked | | |
| 6 | 13/11 Model input and MRTR | Locked | | |
| 7 | 13/12 Explicit scope and elicitation | Locked | | |
| 8 | 13/13 Durable tasks | Locked | | |
| 9 | 13/14 MCP Apps | Locked | | |
| 10 | 13/15 MCP security | Locked | | |
| 11 | 13/16 MCP authorization | Locked | | |
| 12 | 13/18 Production auth | Locked | | |
| 13 | 13/17 Gateways and registries | Locked | | |
| 14 | 13/28 Tool contracts and content | Locked | | |
| 15 | 13/29 Reliability and flow control | Locked | | |
| 16 | 13/30 Registry supply chain | Locked | | |
| 17 | 13/31 Conformance engineering | Locked | | |

## Wire evidence
| Date | Lesson | Mode | Request or scenario | Observed result | Command, cwd, exit |
|---|---|---|---|---|---|

## Notes

Check facts that can be observed locally. Ask only for choices or authority that cannot be inferred safely.

Start Lesson 06 in ten minutes

On the first invocation, begin the lesson immediately. From the repository root, run:

bash
python3 phases/13-tools-and-protocols/06-mcp-fundamentals/code/main.py

Ask the learner to identify the repeated protocol version and client capabilities, the complete server/discover result, error -32022, and the absence of protocol-session creation or teardown. Record those observations before expanding into the rest of Lesson 06.

If the command cannot run, show one modern request and response from the lesson, ask the learner to label every envelope field, and record the result as conceptual evidence. Keep the command checkpoint pending.

Show full SKILL.md (397 more words)Show less

Enforce the public deployment gate

Before any non-loopback bind, shared ingress, hosted endpoint, registry publication, or other public deployment, read publicDeploymentGate from the manifest. Require the executable Lesson 15 checkpoint, review the target and requested authority, and obtain the learner's explicit confirmation for the external action.

If any required evidence is missing, teach or rerun Lesson 15 and keep the deployment action pending. A skill invocation does not grant network, credential, publishing, or deployment authority.

Teach one lesson

  1. Mark the selected row In progress. State its manifest path, duration, group, protocol era, and evidence mode.
  2. Frame one production failure that this lesson prevents. Ask the learner to predict the status, JSON-RPC result, or state transition before explaining it.
  3. Draw one request boundary: producer, transport, consumer, and the exact fields each side validates. Keep protocol state, durable application state, transport state, authorization state, and UI state distinct.
  4. Work through Build It and Use It in small sections. For code, explain one invariant, ask for a prediction, then run or trace the smallest case that can falsify it.
  5. Exercise one success and at least one relevant failure. Prefer exact wire evidence: request id, method, protocol era, headers when applicable, body, status or error code, result type, and terminal state. Keep secret values redacted.
  6. Require every item in the lesson's manifest checkpointEvidence. Runtime evidence must come from observed output. Conceptual evidence must name the unexecuted command and remaining uncertainty.
  7. Ask every post quiz item one at a time. If the quiz has no staged items, ask all items. Do not reveal correct, an answer index, or an explanation before the learner responds. Never put a real answer letter or the answer distribution in a reply hint; use Reply with one letter: <A|B|C|D>.
  8. Mark the row Done only after the lesson checkpoint and quiz. Append one compact Wire evidence row, add the score to Notes, set the next row to Next, and update Current.

Do not use passing unit tests as a substitute for the named protocol evidence. Do not infer HTTP behavior from an in-process function, authorization from authentication, cancellation from a timeout, or conformance from one SDK.

Close

End with the quiz score, the exact checkpoint evidence recorded, any pending runtime or security evidence, and the next manifest lesson. Keep the learner on this route unless they ask to leave it.

© rohitg00, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/learn-mcp of rohitg00/ai-engineering-from-scratch.

Open the folder on GitHubat commit cdfd9df

Compare with similar skills

Learn MCP Tutor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Learn MCP Tutor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Learn MCP Tutor this skillrohitg00/ai-engineering-from-scratch66k—~2.4kAutomated safety check: PassMIT
Course Guidefancyboi999/ai-engineering-from-scratch-zh1.2k—~948Automated safety check: PassMIT
Claude Code Advanced Guide2025Emma/vibe-coding-cn23k1 repos~1.4kAutomated safety check: PassMIT
Nlm Skilliusztinpaul/ai-research-os-workshop1791 repos~6.9kAutomated safety check: PassMIT
Joplinalondmnt/joplin-mcp173—~897Automated safety check: PassMIT
ChecksOtoDock/oto-dock190—~2.2kAutomated safety check: PassCustom licence

Similar skills

  • Course Guide

    fancyboi999/ai-engineering-from-scratch-zh

    AI Engineering from Scratch 课程的主题路由器。给它一个主题、问题或正在处理的 bug, 它会指出精确教授它的课程,以及下一条正确命令。触发短语: “在哪里学习”、“哪节课涵盖”、“课程导航”、“我卡在”、“接下来该做什么”、 “教我 MCP”、“教我 Agent Skills”、“在哪里准备 Claude certification”,或 "where do I…

    1.2k GitHub stars~948 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Claude Code Advanced Guide

    2025Emma/vibe-coding-cn

    A Chinese-language tutorial on advanced Claude Code use: its core tools, REPL, slash commands, workflows, permissions, memory, MCP, hooks and sub-agents.

    23k GitHub starsUsed in 1 repo~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Nlm Skill

    iusztinpaul/ai-research-os-workshop

    Expert guide for the NotebookLM CLI (nlm) and MCP server - interfaces for Google NotebookLM.

    179 GitHub starsUsed in 1 repo~6.9k tokens
    Knowledge ManagementAuto-check passed
  • Joplin

    alondmnt/joplin-mcp

    Orchestration guidance for Joplin note, notebook, and tag management tools

    173 GitHub stars~897 tokensUpdated 27 days ago
    Knowledge ManagementAuto-check passed
  • Checks

    OtoDock/oto-dock

    How checks work on OtoDock — named units that judge an agent's work at the end of a turn (schema, script, handler and judge kinds), conditions on what the turn changed, rounds, where a check lives…

    190 GitHub stars~2.2k tokensUpdated 2 days ago
    EducationAuto-check passed
  • Learn

    fancyboi999/ai-engineering-from-scratch-zh

    AI Engineering from Scratch 课程的交互式课程 tutor。读取 LEARNING.md,获取下一课, 在终端按章节教学,结尾测验并记录进度。可在克隆仓库中或完全通过 raw.githubusercontent.com 工作—— 无需设置。触发短语:“下一课”、“教我”、“继续课程”、“我们来学习”、“继续学习”,或 "next lesson", "teach…

    1.2k GitHub stars~1.1k tokensUpdated today
    EducationAuto-check passed

More from rohitg00/ai-engineering-from-scratch

All 16 skills in this repo
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    66k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • AI Engineering Placement Quiz

    rohitg00/ai-engineering-from-scratch

    Runs a 10-question quiz across five areas to place a learner in the AI Engineering from Scratch curriculum, so they skip what they already know.

    66k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • AI Engineering Project Tutor

    rohitg00/ai-engineering-from-scratch

    Tutors a learner through one stage of a hands-on AI engineering project per session: lesson, prediction, code, grader run and reflection, with hints but never full solutions.

    66k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • AI Engineering Phase Quiz

    rohitg00/ai-engineering-from-scratch

    Quizzes you on a completed phase of the AI Engineering from Scratch course, taking a phase number or name and mapping it to that phase's directory.

    66k GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Claude Certification Tutor

    rohitg00/ai-engineering-from-scratch

    Guides a learner through one of four independent Claude certification tracks with onboarding, lessons, practice labs, mock exams and remediation.

    66k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • AI Engineering Course Guide

    rohitg00/ai-engineering-from-scratch

    Routes a topic, question or bug to the exact lessons in the AI Engineering from Scratch curriculum and suggests the next command to run.

    66k GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Questions about Learn MCP Tutor

What does Learn MCP Tutor do?

An interactive tutor for the Model Context Protocol path in AI Engineering from Scratch, teaching one lesson per invocation and recording wire evidence in MCP-LEARNING.md. Each invocation teaches a single lesson of the focused MCP route. The learner inspects a request and response, predicts a boundary result, runs or hand-traces the lab, and records a checkpoint before moving on.

When should I use Learn MCP Tutor?

Learn MCP Tutor fits situations like: learning to build or debug MCP clients and servers lesson by lesson; resuming an MCP course where you left off; practicing MCP security, transports or conformance checks with recorded evidence.

How do I install Learn MCP Tutor in Claude Code?

Run `npx skills add rohitg00/ai-engineering-from-scratch --skill learn-mcp -a claude-code`. Or copy the skill folder (skills/learn-mcp in rohitg00/ai-engineering-from-scratch) into .claude/skills/learn-mcp in your project. Claude Code loads it when a task matches its description.

How do I install Learn MCP Tutor in Codex?

Run `npx skills add rohitg00/ai-engineering-from-scratch --skill learn-mcp -a codex`. Or copy the skill folder (skills/learn-mcp in rohitg00/ai-engineering-from-scratch) into .agents/skills/learn-mcp in your project. Codex loads it when a task matches its description.

Can I use Learn MCP Tutor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rohitg00/ai-engineering-from-scratch --skill learn-mcp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/learn-mcp, .gemini/skills/learn-mcp, .github/skills/learn-mcp and .opencode/skills/learn-mcp in your project.

What does Learn MCP Tutor need to run?

Going by SKILL.md and its folder, Learn MCP Tutor needs the command-line tools its instructions call (python3). Our summary lists: Python 3, for executable mode; Write access to the working directory for MCP-LEARNING.md.

Does Learn MCP Tutor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Learn MCP Tutor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Learn MCP Tutor use?

Learn MCP Tutor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Learn MCP Tutor use?

About 2.4k tokens (SKILL.md is roughly 9.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Learn MCP Tutor?

Skills that share tags, products or a category with Learn MCP Tutor: Course Guide (fancyboi999/ai-engineering-from-scratch-zh, 1.2k stars), Claude Code Advanced Guide (2025Emma/vibe-coding-cn, 23k stars), Nlm Skill (iusztinpaul/ai-research-os-workshop, 179 stars) and Joplin (alondmnt/joplin-mcp, 173 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Learn MCP Tutor?

rohitg00 (a GitHub user) maintains it in rohitg00/ai-engineering-from-scratch, which has 65,983 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 9, 2026.

Source: rohitg00/ai-engineering-from-scratch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.