ai-engineering-from-scratch: Skill for Claude Code

.claude/skills/learn-mcp/SKILL.md

learn-mcp is a skill for Claude Code from rohitg00/ai-engineering-from-scratch. It costs 77 tokens per session (2,264 once invoked), scanned A, original, MIT.

An interactive tutor for the Model Context Protocol, or MCP, a standard for connecting AI applications with tools and data. It covers building, securing, debugging, verifying, and operating MCP systems.

In plain words
What is it for?
Use it to study MCP clients, servers, connections, gateways, registries, and compatibility checks through lessons and practical labs.
Why use it?
It provides a structured way to learn a broad technical subject and records evidence of what you have completed.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code; mentions Codex.

This is rohitg00/ai-engineering-from-scratch's own configuration. It tells Claude Code how to work on ai-engineering-from-scratch itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-engineering-from-scratch configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 phases/13-tools-and-protocols/06-mcp-fundamentals/code/main.py.

About the project

AI Engineering from Scratch is a free, open-source curriculum that teaches people to build AI systems through lessons and reusable artifacts such as prompts, skills, agents, and MCP servers. It is for learners who want practical foundations or want to create AI applications, and the catalogue skills support parts of that curriculum.

rohitg00/ai-engineering-from-scratch · 52,899 stars · on GitHub · aiengineeringfromscratch.com

Reuse

Borrowing it

Nothing to install: this file belongs to rohitg00/ai-engineering-from-scratch. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/.claude/skills/learn-mcp/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rohitg00/ai-engineering-from-scratch

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for learn-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/learn-mcp/github.svg)](https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/learn-mcp)
Your own site
<a href="https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/learn-mcp"><img src="https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/learn-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for learn-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/learn-mcp"><img src="https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/learn-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,264 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 30 Aug 2026
  • Snyk pass 30 Aug 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.02264
Opus 5 $0.00039 $0.01132
Sonnet 5 $0.00015 $0.00453
Haiku 4.5 $0.00008 $0.00226

Measured 9d ago against content hash 179fd74f575e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

learn-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/learn-mcp/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

  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.

Read the full file on GitHub · 220 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 220 lines · 77 tokens per session scan A 179fd74f575e

Subscribe to this mod's changes

learn-mcp is a skill published in the GitHub repository rohitg00/ai-engineering-from-scratch (52,899 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 2,264 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.