mcp-for-beginners
AGENTS.md17k starsChanged 3 months agoMITView on GitHub
MCP for Beginners is an open-source educational curriculum for learning the Model Context Protocol (MCP) - a standardized framework for interactions between AI models and client applications. This repository provides comprehensive learning materials with hands-on code examples across multiple programming languages. This is a documentation-focused repository. Most setup occurs within individual sample projects and labs. Sample projects are located in: - 03-GettingStarted/samples/ - Language-specific examples - 03-GettingStarted/01-first-server/solution/ - First server implementations - 03-GettingStarted/02-client/solution/ - Client implementations - 11-MCPServerHandsOnLabs/ - Comprehensive…
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about microsoft/mcp-for-beginners
- @sungkim.bsky.social“Do you want to Level Up Your AI Skills with Model Context Protocol (MCP)? Microsoft has provided "Model …”Bluesky · May 21, 2025 · 43 likes
- @ponceto91.bsky.social“Si vous cherchez quelques ressources sur le MCP (Model Context Protocol) et que vous débutez sur le sujet, …”Bluesky · Aug 14, 2025 · 29 likes
- @luke.geek.nz“[Share] mcp-for-beginners This open-source curriculum is designed to teach the concepts and fundamentals of …”Bluesky · May 21, 2025 · 12 likes
- @harjit.bsky.social“MCP For Beginners github.com/microsoft/mc...”Bluesky · May 20, 2025 · 8 likes
- @pythonhub.dev“microsoft / mcp-for-beginners This open-source curriculum is designed to teach the concepts and …”Bluesky · Jul 16, 2025 · 7 likes
The biggest 5 of 69 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 69
Talked about on GitHub and Bluesky (69 times).
On GitHub · 46
- May 9, 2026Translation is stuck midway (en→jp) — Azure/co-op-translator1 reaction · 2 comments
- Apr 28, 2026Update link text from 'Solution' to '解答例' (en→jp) — Azure/co-op-translator1 reaction · 1 comment
- Apr 26, 2026Overtranslation within a code block (en→jp) — Azure/co-op-translator1 reaction · 2 comments
- Dec 20, 2025docs(guides): add Microsoft MCP for Beginners highlights — TomasHer/prompting-blueprints1 reaction
- Sep 16, 2025"[Solution]" in the link is not translated (en→ja) — Azure/co-op-translator1 reaction · 1 comment
41 more on GitHub
- Sep 11, 2025MCP and A2A — pacoxu/AI-Infra1 reaction · 2 comments
- Sep 5, 2025When translating from English to Japanese, it gets skipped. (en→ja) — Azure/co-op-translator1 reaction · 4 comments
- May 19, 2025Arabic ligatures bug in images — Azure/co-op-translator1 reaction · 4 comments
- Nov 1, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Oct 26, 2026fix(content): point MCP-for-beginners chapter links at the upstream course — jeremylongshore/startaitools.com0 reactions
- Oct 25, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Oct 18, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Oct 11, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions
- Sep 4, 2026Curso MCP for beginners — MarioCodes/dotnet-ai-experiments0 reactions
- Jul 18, 2026[번역] microsoft / mcp-for-beginners — roomedia/ax-trend0 reactions
- May 7, 2026AI Discovery: 2026-05-07 — liyunhui0707/Markdown-Editor0 reactions
- May 5, 2026AI Discovery: 2026-05-05 — liyunhui0707/Markdown-Editor0 reactions · 1 comment
- Apr 20, 2026Mermaid diagram translation (en→jp) — Azure/co-op-translator0 reactions · 2 comments
- Mar 11, 2026Investigar MCP — MarioCodes/dotnet-ai-experiments0 reactions
- Mar 6, 2026Check trending repo: microsoft/mcp-for-beginners — uibm/trending-watcher0 reactions · 2 comments
- Feb 22, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Feb 15, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Feb 15, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Feb 8, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Feb 1, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Jan 27, 2026Papasito — davidarmandosanchezcruz54-source/vigilant-fiesta0 reactions
- Jan 27, 2026Papasito — davidarmandosanchezcruz54-source/vigilant-fiesta0 reactions
- Jan 27, 2026Papasito — davidarmandosanchezcruz54-source/vigilant-fiesta0 reactions
- Jan 27, 2026David Armando — davidarmandosanchezcruz54-source/vigilancia0 reactions
- Jan 25, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Jan 18, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Jan 11, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Jan 4, 2026Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Dec 28, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Dec 21, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Dec 14, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Dec 7, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Nov 30, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Nov 23, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Nov 16, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Nov 9, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Nov 2, 2025Link Checker Report — microsoft/generative-ai-with-javascript0 reactions · 1 comment
- Sep 16, 2025Update README.md (Untranslated "Solution") — microsoft/generative-ai-for-beginners0 reactions · 1 comment
- Sep 4, 2025mcp-for-beginners: https://github.com/microsoft/mcp-for-beginners — Keekuun/tool-soft0 reactions
- Aug 6, 2025Check trending repo: microsoft/mcp-for-beginners — uibm/trending-watcher0 reactions · 1 comment
- May 22, 2025MCP 新的学习课程(微软) — YoubetDao/proposals0 reactions
On Bluesky · 23
- May 21, 2025Do you want to Level Up Your AI Skills with Model Context Protocol (MCP)? Microsoft has provided "Model Context Protocol (MCP) Curriculum… — @sungkim.bsky.social43 likes and reposts · 2 replies
- Aug 14, 2025Si vous cherchez quelques ressources sur le MCP (Model Context Protocol) et que vous débutez sur le sujet, ce dépôt peut vous être utile,… — @ponceto91.bsky.social29 likes and reposts · 2 replies
- May 21, 2025[Share] mcp-for-beginners This open-source curriculum is designed to teach the concepts and fundamentals of the Model Context Protocol… — @luke.geek.nz12 likes and reposts · 1 reply
- May 20, 2025MCP For Beginners github.com/microsoft/mc... — @harjit.bsky.social8 likes and reposts
- Jul 16, 2025microsoft / mcp-for-beginners This open-source curriculum is designed to teach the concepts and fundamentals of the Model Context Protocol… — @pythonhub.dev7 likes and reposts
18 more on Bluesky
- Jul 18, 2025MCP for beginners: github.com/microsoft/mc... — @lea-linux.org6 likes and reposts · 2 replies
- May 20, 2025GitHub - microsoft/mcp-for-beginners: This open-source curriculum is designed to teach the concepts and fundamentals of the Model Context… — @tech-trending.bsky.social5 likes and reposts
- Aug 8, 2025お、MCPを触りたくなったらこれをガッツリやればいい感じなのかな GitHub - microsoft/mcp-for-beginners: This open-source curriculum introduces the fundamentals of Model… — @koshian.bsky.social4 likes and reposts
- May 21, 2025This open-source curriculum is designed to teach the concepts and fundamentals of the Model Context Protocol (#MCP), with practical… — @sstranger.bsky.social4 likes and reposts
- Jul 31, 2025📦 microsoft / mcp-for-beginners ⭐ 5,920 (+83) 🗒 Python This open-source curriculum introduces the fundamentals of Model Context Protocol… — @github-trending.bsky.social3 likes and reposts
- Mar 5, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / mcp-for-beginners ⭐ 14,693 (+122) 🗒 Jupyter Notebook This open-source curriculum… — @github-trending.bsky.social2 likes and reposts
- Aug 5, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / mcp-for-beginners ⭐ 6,704 (+133) 🗒 Python This open-source curriculum introduces the… — @github-trending.bsky.social2 likes and reposts
- Jun 3, 2025github.com/microsoft/mc... - an #MCP self-directed workshop for #dotNET, #Java, #TypeScript, and #Python. — @robrich.bsky.social2 likes and reposts
- May 30, 2025🚀 Check out the AI Repo of the Week: MCP for Beginners. A must learn topic for AI developers! 🌟 👉 github.com/microsoft/mc... #GitHub #AI… — @danwahlin.bsky.social2 likes and reposts
- May 28, 2025github.com/microsoft/mc... — @akanoa.bsky.social2 likes and reposts
- Mar 9, 2026Microsoft lanzó curso de 'MCP para Principiantes' como un repositorio en Github. El curso cubre la creación de MCP en C#, Java, Typescript,… — @grovertec.bsky.social1 likes and repost
- Jun 29, 2025GitHub repo → github.com/microsoft/m... — @arindam-1729.bsky.social1 likes and repost · 1 reply
- Jun 27, 202540개 이상의 언어로 제공되는 10개의 실습 랩으로 구성된 초보자용 MCP 과정! VS Code를 사용하여 .NET, Java, TypeScript, JavaScript, Python의 실제 예제를 통해 MCP 기본 사항을 학습하세요.… — @kimkaran1004.bsky.social1 likes and repost
- Jun 12, 2025"Whether you're an AI developer, system architect, or software engineer, this guide is your comprehensive resource for mastering MCP… — @rickvandenbosch.net1 likes and repost
- May 25, 2025🚀 Model Context Protocol (MCP) Curriculum for Beginners Learn MCP with Hands-on Code Examples in C#, Java, JavaScript, Python, and… — @kuanhoong.bsky.social1 likes and repost
- May 20, 2025MicrosoftによるMCP初心者向けカリキュラム 機械翻訳だが日本語含む多言語対応 github.com/microsoft/mc... — @bsky.n-s.tokyo1 likes and repost
- Nov 4, 20256️⃣ Cómo empezar Fork + clone → módulos 00–03 → ejecuta ejemplos → integra en tu agente. Repo: — @juanyobluesky.bsky.social0 likes and reposts · 1 reply
- Nov 4, 20251️⃣ MCP es el “USB” de la IA: conecta modelos con herramientas/servicios sin integraciones raras. Si construyes agentes o chatbots, te… — @juanyobluesky.bsky.social0 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository55 other files it gives its agents.
- translations/ar/AGENTS.mdAGENTS.md
- translations/bg/AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/de/AGENTS.mdAGENTS.md
- translations/el/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/et/AGENTS.mdAGENTS.md
- translations/fa/AGENTS.mdAGENTS.md
- translations/fi/AGENTS.mdAGENTS.md
- translations/fr/AGENTS.mdAGENTS.md
- translations/he/AGENTS.mdAGENTS.md
- translations/hi/AGENTS.mdAGENTS.md
- translations/hr/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/it/AGENTS.mdAGENTS.md
- translations/ja/AGENTS.mdAGENTS.md
- translations/km/AGENTS.mdAGENTS.md
- translations/kn/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/ml/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/my/AGENTS.mdAGENTS.md
- translations/ne/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/no/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pcm/AGENTS.mdAGENTS.md
- translations/pl/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/ro/AGENTS.mdAGENTS.md
- translations/ru/AGENTS.mdAGENTS.md
- translations/sk/AGENTS.mdAGENTS.md
- translations/sl/AGENTS.mdAGENTS.md
- translations/sr/AGENTS.mdAGENTS.md
- translations/sv/AGENTS.mdAGENTS.md
- translations/sw/AGENTS.mdAGENTS.md
- translations/ta/AGENTS.mdAGENTS.md
- translations/te/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tl/AGENTS.mdAGENTS.md
- translations/tr/AGENTS.mdAGENTS.md
- translations/uk/AGENTS.mdAGENTS.md
- translations/ur/AGENTS.mdAGENTS.md
- translations/vi/AGENTS.mdAGENTS.md
- translations/zh-CN/AGENTS.mdAGENTS.md
- translations/zh-HK/AGENTS.mdAGENTS.md
- translations/zh-MO/AGENTS.mdAGENTS.md
- translations/zh-TW/AGENTS.mdAGENTS.md
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
32 rules. About 0 are common, 22 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 124
Read workspace files and write tool-generated artifacts (e.g., lint reports, test logs) only.
- Very specific: line 130
No permission to push, merge, or modify translations/ or translated_images/.
- Very specific: line 181
Update images in the images/ directory if needed
- Distinctive: line 205
Code Sample Validation: Test that code examples compile/run
- Distinctive: line 213
Markdown Linting: Check formatting consistency
- Distinctive: line 246
Use clear, beginner-friendly language
- Distinctive: line 248
Follow markdown best practices:
- Very specific: line 249
Use ATX-style headers (# syntax)
- Distinctive: line 250
Use fenced code blocks with language identifiers
- Distinctive: line 252
Keep line lengths reasonable (no hard limit, but be sensible)
- Very specific: line 257
Use ES modules (import/export)
- Distinctive: line 258
Follow TypeScript strict mode conventions
- Distinctive: line 263
Follow PEP 8 style guidelines
- Distinctive: line 264
Use type hints where appropriate
- Distinctive: line 266
Use modern Python features (3.8+)
- Distinctive: line 269
Follow Spring Boot conventions
- Distinctive: line 271
Follow standard Maven project structure
- Very specific: line 313
Create a Branch: Use descriptive branch names (e.g., fix/typo-module-3, add/python-example)
- Distinctive: line 315
Test Locally: Verify markdown renders correctly
- Distinctive: line 316
Submit PR: Use clear PR titles and descriptions
- Distinctive: line 321
Use clear, descriptive titles:
- Very specific: line 336
Do not directly edit files in translations/ directory
- Very specific: line 337
Do not edit translated_images/ directory
- Distinctive: line 338
Do not add large binary files without discussion
- Distinctive: line 339
Do not change translation workflow files without coordination
- Very specific: line 345
Changelog: All significant changes are documented in changelog.md
- Very specific: line 346
Study Guide: Use study_guide.md for curriculum navigation overview
- Distinctive: line 347
Issue Templates: Use GitHub issue templates for bug reports and feature requests
- Distinctive: line 348
Code of Conduct: All contributors must follow the Microsoft Open Source Code of Conduct
- Distinctive: line 352
Follow modules in sequential order (00-11) for optimal learning:
- Distinctive: line 385
Keep individual markdown files focused and reasonably sized
- Distinctive: line 386
Use relative links for better portability
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Project Overview
MCP for Beginners is an open-source educational curriculum for learning the Model Context Protocol (MCP) - a standardized framework for interactions between AI models and client applications. This repository provides comprehensive learning materials with hands-on code examples across multiple programming languages.
Key Technologies
- Programming Languages: C#, Java, JavaScript, TypeScript, Python, Rust
- Frameworks & SDKs:
- MCP SDK (
@modelcontextprotocol/sdk) - Spring Boot (Java)
- FastMCP (Python)
- LangChain4j (Java)
- MCP SDK (
- Databases: PostgreSQL with pgvector extension
- Cloud Platforms: Azure (Container Apps, OpenAI, Content Safety, Application Insights)
- Build Tools: npm, Maven, pip, Cargo
- Documentation: Markdown with automated multi-language translation (48+ languages)
Architecture
- 11 Core Modules (00-11): Sequential learning path from fundamentals to advanced topics
- Hands-on Labs: Practical exercises with complete solution code in multiple languages
- Sample Projects: Working MCP server and client implementations
- Translation System: Automated GitHub Actions workflow for multi-language support
- Image Assets: Centralized images directory with translated versions
Setup Commands
This is a documentation-focused repository. Most setup occurs within individual sample projects and labs.
Repository Setup
# Clone the repository
git clone https://github.com/microsoft/mcp-for-beginners.git
cd mcp-for-beginnersWorking with Sample Projects
Sample projects are located in:
03-GettingStarted/samples/- Language-specific examples03-GettingStarted/01-first-server/solution/- First server implementations03-GettingStarted/02-client/solution/- Client implementations11-MCPServerHandsOnLabs/- Comprehensive database integration labs
Each sample project contains its own setup instructions:
TypeScript/JavaScript Projects
cd <project-directory>
npm install
npm startPython Projects
cd <project-directory>
pip install -r requirements.txt
# or
pip install -e .
python main.pyJava Projects
cd <project-directory>
mvn clean install
mvn spring-boot:runDevelopment Workflow
MCP 7-28 Readiness
Repo readiness checklist
- New contributor clarity: This file defines repository purpose, structure, contribution rules, and sample setup paths.
- Build/test/lint commands with exact flags:
- Repository docs lint:
npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images" - Repository docs link pattern audit:
find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)" - TypeScript sample validation:
cd 03-GettingStarted/samples/typescript && npm ci && npm test && npm run build - Python sample validation:
cd 10-StreamliningAIWorkflowsBuildingAnMCPServerWithAIToolkit/lab3/code/weather_mcp && python -m pip install -e . && pytest -q - Java sample validation:
cd 03-GettingStarted/samples/java/calculator && mvn -B -ntp test verify
- Repository docs lint:
- One realistic workflow that can become an MCP tool:
validate_curriculum_change - Inputs/outputs are explicit (see specification below).
- Permissions and failure modes are documented (see specification below).
- CI testability is explicit (deterministic commands, explicit exit codes, and machine-readable outputs).
Candidate MCP tool workflow: validate_curriculum_change
Goal
Validate curriculum documentation changes and representative sample code health before merge.
Inputs
changed_paths: string[](required) - relative paths changed in PR.run_docs_lint: boolean(defaulttrue)run_links_audit: boolean(defaulttrue)run_samples: { typescript?: boolean, python?: boolean, java?: boolean }(default allfalse)
Outputs
status: "ok" | "failed"checks: Array<{ name: string, command: string, exit_code: number, summary: string }>artifacts: Array<{ type: "log" | "report", path: string }>failed_checks: string[]
Permissions
- Read workspace files and write tool-generated artifacts (e.g., lint
reports, test logs) only; no writes to
translations/ortranslated_images/. - Execute local shell commands.
- Optional network access only for package restore (
npm ci,python -m pip install,mvndependency resolution). - No permission to push, merge, or modify
translations/ortranslated_images/.
Failure modes
E_NO_INPUT_PATHS:changed_pathsempty.E_INVALID_PATH: input path escapes repository root.E_LINT_FAILED: markdown lint exits non-zero.E_LINK_AUDIT_FAILED: link audit command exits non-zero.E_SAMPLE_TEST_FAILED: sample test/build exits non-zero.E_TIMEOUT: command exceeded configured timeout.
Recommended CI contract
To automate validation, configure a CI job that:
- Triggers on pull requests touching
*.md, sample code, or this file. - Runs the exact commands listed above.
- Persists logs as artifacts.
- Fails the job on any non-zero exit code.
If you ship an MCP server from this repo
- Read the final MCP
2026-07-28changelog: https://modelcontextprotocol.io/specification/2026-07-28/changelog - Verify that the selected SDK release supports MCP
2026-07-28: https://modelcontextprotocol.io/docs/sdk - Remove session and handshake assumptions; treat each request as self-contained: https://modelcontextprotocol.io/specification/2026-07-28/basic/lifecycle
- Send
Mcp-MethodandMcp-Nameheaders for raw HTTP requests: https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http - Audit hardcoded error codes (
missing resourcemoved from-32002to-32602). - Migrate deprecated Roots, Sampling, Logging, and Dynamic Client Registration: https://modelcontextprotocol.io/specification/2026-07-28/deprecated
- Migrate off the experimental
2025-11-25Tasks API: https://modelcontextprotocol.io/extensions/tasks - Review authorization for OAuth and OpenID Connect hardening: https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization
Documentation Structure
- Modules 00-11: Core curriculum content in sequential order
- translations/: Language-specific versions (auto-generated, do not edit directly)
- translated_images/: Localized image versions (auto-generated)
- images/: Source images and diagrams
Making Documentation Changes
- Edit only the English markdown files in the root module directories (00-11)
- Update images in the
images/directory if needed - The co-op-translator GitHub Action will automatically generate translations
- Translations are regenerated on push to main branch
Working with Translations
- Automated Translation: GitHub Actions workflow handles all translations
- Do NOT manually edit files in
translations/directory - Translation metadata is embedded in each translated file
- Supported languages: 48+ languages including Arabic, Chinese, French, German, Hindi, Japanese, Korean, Portuguese, Russian, Spanish, and many more
Testing Instructions
Documentation Validation
Since this is primarily a documentation repository, testing focuses on:
Link Pattern Audit: List Markdown links for review
# List Markdown links (pattern audit) find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)"Code Sample Validation: Test that code examples compile/run
# Navigate to specific sample and run its tests cd 03-GettingStarted/samples/typescript npm install && npm testMarkdown Linting: Check formatting consistency
# Use markdownlint if needed npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images"
Sample Project Testing
Each language-specific sample includes its own testing approach:
TypeScript/JavaScript
npm test
npm run buildPython
pytest
python -m pytest tests/Java
mvn test
mvn verifyCode Style Guidelines
Documentation Style
- Use clear, beginner-friendly language
- Include code examples in multiple languages where applicable
- Follow markdown best practices:
- Use ATX-style headers (
#syntax) - Use fenced code blocks with language identifiers
- Include descriptive alt text for images
- Keep line lengths reasonable (no hard limit, but be sensible)
- Use ATX-style headers (
Code Sample Style
TypeScript/JavaScript
- Use ES modules (
import/export) - Follow TypeScript strict mode conventions
- Include type annotations
- Target ES2022
Python
- Follow PEP 8 style guidelines
- Use type hints where appropriate
- Include docstrings for functions and classes
- Use modern Python features (3.8+)
Java
- Follow Spring Boot conventions
- Use Java 21 features
- Follow standard Maven project structure
- Include Javadoc comments
File Organization
<module-number>-<ModuleName>/
├── README.md # Main module content
├── samples/ # Code examples (if applicable)
│ ├── typescript/
│ ├── python/
│ ├── java/
│ └── ...
└── solution/ # Complete working solutions
└── <language>/Build and Deployment
Documentation Deployment
The repository uses GitHub Pages or similar for documentation hosting (if applicable). Changes to the main branch trigger:
- Translation workflow (
.github/workflows/co-op-translator.yml) - Automated translation of all English markdown files
- Image localization as needed
No Build Process Required
This repository primarily contains markdown documentation. No compilation or build step is needed for the core curriculum content.
Sample Project Deployment
Individual sample projects may have deployment instructions:
- See
03-GettingStarted/09-deployment/for MCP server deployment guidance - Azure Container Apps deployment examples in
11-MCPServerHandsOnLabs/
Contributing Guidelines
Pull Request Process
- Fork and Clone: Fork the repository and clone your fork locally
- Create a Branch: Use descriptive branch names (e.g.,
fix/typo-module-3,add/python-example) - Make Changes: Edit English markdown files only (not translations)
- Test Locally: Verify markdown renders correctly
- Submit PR: Use clear PR titles and descriptions
- CLA: Sign the Microsoft Contributor License Agreement when prompted
PR Title Format
Use clear, descriptive titles:
[Module XX] Brief descriptionfor module-specific changes[Samples] Descriptionfor sample code changes[Docs] Descriptionfor general documentation updates
What to Contribute
- Bug fixes in documentation or code samples
- New code examples in additional languages
- Clarifications and improvements to existing content
- New case studies or practical examples
- Issue reports for unclear or incorrect content
What NOT to Do
- Do not directly edit files in
translations/directory - Do not edit
translated_images/directory - Do not add large binary files without discussion
- Do not change translation workflow files without coordination
Additional Notes
Repository Maintenance
- Changelog: All significant changes are documented in
changelog.md - Study Guide: Use
study_guide.mdfor curriculum navigation overview - Issue Templates: Use GitHub issue templates for bug reports and feature requests
- Code of Conduct: All contributors must follow the Microsoft Open Source Code of Conduct
Learning Path
Follow modules in sequential order (00-11) for optimal learning:
- 00-02: Fundamentals (Introduction, Core Concepts, Security)
- 03: Getting Started with hands-on implementation
- 04-05: Practical implementation and advanced topics
- 06-10: Community, best practices, and real-world applications
- 11: Comprehensive database integration labs (13 sequential labs)
Support Resources
- Documentation: https://modelcontextprotocol.io/
- Specification: https://modelcontextprotocol.io/specification/2026-07-28/
- Community: https://github.com/orgs/modelcontextprotocol/discussions
- Discord: Microsoft Foundry Discord server
- Related Courses: See README.md for other Microsoft learning paths
Common Troubleshooting
Q: My PR is failing the translation check A: Ensure you only edited English markdown files in the root module directories, not translated versions.
Q: How do I add a new language? A: Language support is managed through the co-op-translator workflow. Open an issue to discuss adding new languages.
Q: Code samples aren't working A: Ensure you've followed the setup instructions in the specific sample's README. Check that you have the correct versions of dependencies installed.
Q: Images aren't displaying
A: Verify image paths are relative and use forward slashes. Images should be in the images/ directory or translated_images/ for localized versions.
Performance Considerations
- Translation workflow may take several minutes to complete
- Large images should be optimized before committing
- Keep individual markdown files focused and reasonably sized
- Use relative links for better portability
Project Governance
This project follows Microsoft open source practices:
- MIT License for code and documentation
- Microsoft Open Source Code of Conduct
- CLA required for contributions
- Security issues: Follow SECURITY.md guidelines
- Support: See SUPPORT.md for help resources
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

