mcp-for-beginners / ja
AGENTS.md17k starsChanged 3 months agoMITView on GitHub
MCP for Beginners は、Model Context Protocol (MCP) の学習のためのオープンソース教育カリキュラムです。MCP は AI モデルとクライアントアプリケーション間のやり取りのための標準化フレームワークです。このリポジトリは、複数のプログラミング言語での実践的なコード例を含む包括的な学習資料を提供します。 本リポジトリはドキュメント主体です。ほとんどのセットアップは個々のサンプルプロジェクトやラボ内で行われます。 サンプルプロジェクトは以下にあります: - 03-GettingStarted/samples/ - 言語別の例 - 03-GettingStarted/01-first-server/solution/ - 最初のサーバー実装 - 03-GettingStarted/02-client/solution/ - クライアント実装 - 11-MCPServerHandsOnLabs/ - データベース統合の包括的なラボ 各サンプルプロジェクトには独自のセットアップ手順があります: - [x] <strong>新規参加者の理解を促進</strong>: 本ファイルはリポジトリの目的、 構造、貢献ルール、サンプルセットアップパスを定義しています。 - [x] 正確なフラグ付きビルド/テスト/リンツコマンド: - リポジトリドキュメントのリンツ: npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images" - リポジトリドキュメントのリンクパターン監査: find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)" - TypeScript サンプルの検証: cd 03-GettingStarted/samples/typescript && npm ci && npm test…
- 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
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 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/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
Files
AGENTS.md
プロジェクト概要
MCP for Beginners は、Model Context Protocol (MCP) の学習のためのオープンソース教育カリキュラムです。MCP は AI モデルとクライアントアプリケーション間のやり取りのための標準化フレームワークです。このリポジトリは、複数のプログラミング言語での実践的なコード例を含む包括的な学習資料を提供します。
主要技術
<strong>プログラミング言語</strong>: C#, Java, JavaScript, TypeScript, Python, Rust- フレームワーク & SDK:
- MCP SDK (
@modelcontextprotocol/sdk) - Spring Boot (Java)
- FastMCP (Python)
- LangChain4j (Java)
- MCP SDK (
<strong>データベース</strong>: pgvector 拡張機能付き PostgreSQL<strong>クラウドプラットフォーム</strong>: Azure (Container Apps, OpenAI, Content Safety, Application Insights)<strong>ビルドツール</strong>: npm, Maven, pip, Cargo<strong>ドキュメンテーション</strong>: マルチランゲージ自動翻訳対応の Markdown (48言語以上)
アーキテクチャ
- 11 のコアモジュール (00-11): 基礎から応用までの順序に沿った学習パス
<strong>ハンズオンラボ</strong>: 複数言語の完全な解答付き実践演習<strong>サンプルプロジェクト</strong>: 動作する MCP サーバーとクライアントの実装例<strong>翻訳システム</strong>: GitHub Actions による多言語対応の自動化ワークフロー<strong>画像資産</strong>: 翻訳済みバージョンを含む画像の集中管理ディレクトリ
セットアップコマンド
本リポジトリはドキュメント主体です。ほとんどのセットアップは個々のサンプルプロジェクトやラボ内で行われます。
リポジトリのセットアップ
# リポジトリをクローンする
git clone https://github.com/microsoft/mcp-for-beginners.git
cd mcp-for-beginnersサンプルプロジェクトの利用
サンプルプロジェクトは以下にあります:
03-GettingStarted/samples/- 言語別の例03-GettingStarted/01-first-server/solution/- 最初のサーバー実装03-GettingStarted/02-client/solution/- クライアント実装11-MCPServerHandsOnLabs/- データベース統合の包括的なラボ
各サンプルプロジェクトには独自のセットアップ手順があります:
TypeScript/JavaScript プロジェクト
cd <project-directory>
npm install
npm startPython プロジェクト
cd <project-directory>
pip install -r requirements.txt
# または
pip install -e .
python main.pyJava プロジェクト
cd <project-directory>
mvn clean install
mvn spring-boot:run開発ワークフロー
MCP 7-28 対応準備
リポジトリ準備チェックリスト
<strong>新規参加者の理解を促進</strong>: 本ファイルはリポジトリの目的、 構造、貢献ルール、サンプルセットアップパスを定義しています。- 正確なフラグ付きビルド/テスト/リンツコマンド:
- リポジトリドキュメントのリンツ:
npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images" - リポジトリドキュメントのリンクパターン監査:
find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)" - TypeScript サンプルの検証:
cd 03-GettingStarted/samples/typescript && npm ci && npm test && npm run build - Python サンプルの検証:
cd 10-StreamliningAIWorkflowsBuildingAnMCPServerWithAIToolkit/lab3/code/weather_mcp && python -m pip install -e . && pytest -q - Java サンプルの検証:
cd 03-GettingStarted/samples/java/calculator && mvn -B -ntp test verify
- リポジトリドキュメントのリンツ:
- MCPツールになり得る現実的なワークフローの一例:
validate_curriculum_change - 入力/出力が明示的(以下の仕様参照)。
<strong>権限と失敗モードが文書化されている</strong>(以下の仕様参照)。- CI テスト可能性が明示的(決定論的コマンド、明示的な 終了コード、機械可読な出力)。
候補MCPツールワークフロー: validate_curriculum_change
目的
カリキュラム文書変更および代表的なサンプルコードの マージ前の健全性を検証します。
入力
changed_paths: string[](必須)- PRで変更された相対パス。run_docs_lint: boolean(デフォルトはtrue)run_links_audit: boolean(デフォルトはtrue)run_samples: { typescript?: boolean, python?: boolean, java?: boolean }(デフォルトはすべてfalse)
出力
status: "ok" | "failed"checks: Array<{ name: string, command: string, exit_code: number, summary: string }>artifacts: Array<{ type: "log" | "report", path: string }>failed_checks: string[]
権限
- ワークスペースのファイル読み取りおよびツール生成成果物(例:lint
レポート、テストログ)への書き込みのみ。
translations/やtranslated_images/への書き込みは禁止。 - ローカルシェルコマンドの実行。
- パッケージ復元のみに限ったネットワークアクセス(
npm ci,python -m pip install、mvnの依存解決)。 translations/やtranslated_images/へのプッシュ、マージ、 変更の権限なし。
失敗モード
E_NO_INPUT_PATHS:changed_pathsが空。E_INVALID_PATH: 入力パスがリポジトリルートを逸脱。E_LINT_FAILED: markdown lint の終了コードが0以外。E_LINK_AUDIT_FAILED: リンク監査コマンドの終了コードが0以外。E_SAMPLE_TEST_FAILED: サンプルテスト/ビルドの終了コードが0以外。E_TIMEOUT: コマンドが設定されたタイムアウト時間を超過。
推奨されるCI契約
検証の自動化には、以下を行うCIジョブを設定してください:
*.md、サンプルコード、またはこのファイルに関わるプルリクエストでトリガー。- 上記の正確なコマンドを実行。
- ログを成果物として保存。
- いかなる非ゼロ終了コードでもジョブを失敗させる。
このリポジトリからMCPサーバーを出荷する場合
- MCP 7-28 のドラフトチェンジログを読む: https://modelcontextprotocol.io/specification/draft/changelog
- SDKベータに対してサーバーを実行する: https://blog.modelcontextprotocol.io/posts/sdk-betas-2026-07-28/
- セッションとハンドシェイクの仮定を除去し、各リクエストを 完結型として扱う: https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/#a-stateless-protocol
- 生のHTTPリクエストには
Mcp-MethodとMcp-Nameヘッダーを送信: https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/#routable-cacheable-traceable - ハードコードエラーコードを監査(
missing resourceが-32002から-32602に移動)。 非推奨となった roots、sampling、および logging の移行をフラグおよび計画する:
実験的な
2025-11-25Tasks API から移行する:- OAuth および OpenID Connect の強化の認可を見直す:
ドキュメント構成
- Modules 00-11:コアカリキュラムの内容を順に配置
- translations/:言語別バージョン(自動生成、直接編集禁止)
- translated_images/:ローカライズされた画像バージョン(自動生成)
- images/:元の画像と図
ドキュメント変更の方法
- ルートモジュールディレクトリ(00-11)の英語マークダウンファイルのみを編集する
- 必要に応じて
images/ディレクトリ内の画像を更新する - co-op-translator GitHub Action が自動的に翻訳を生成する
- main ブランチにプッシュすると翻訳が再生成される
翻訳作業について
<strong>自動翻訳</strong>:GitHub Actions ワークフローがすべての翻訳を処理するtranslations/ディレクトリ内のファイルを手動で編集しないこと- 翻訳ファイルにはメタデータが埋め込まれている
- 対応言語:アラビア語、中国語、フランス語、ドイツ語、ヒンディー語、日本語、韓国語、ポルトガル語、ロシア語、スペイン語など48+言語
テスト手順
ドキュメントの検証
このリポジトリは主にドキュメントのため、テストは以下に焦点を当てる:
<strong>リンクパターン監査</strong>:チェック用マークダウンリンクの一覧化# マークダウンリンクをリストアップする(パターン監査) find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)"<strong>コードサンプルの検証</strong>:コード例がコンパイル/実行可能かをテスト# 特定のサンプルに移動して、そのテストを実行する cd 03-GettingStarted/samples/typescript npm install && npm test<strong>マークダウンの整合性チェック</strong>:フォーマットの一貫性を確認# 必要に応じてmarkdownlintを使用してください npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images"
サンプルプロジェクトのテスト
言語別サンプルにはそれぞれ独自のテスト方法がある:
TypeScript/JavaScript
npm test
npm run buildPython
pytest
python -m pytest tests/Java
mvn test
mvn verifyコードスタイルガイドライン
ドキュメントスタイル
- わかりやすく初心者にも優しい言葉を使う
- 適宜複数言語のコード例を含める
- マークダウンのベストプラクティスに従う:
- ATXスタイルの見出し(
#記法)を使う - 言語指定のあるフェンスコードブロックを使う
- 画像には説明的な alt テキストを付ける
- 行長は適切に保つ(厳密な制限はなし、ただし妥当な範囲で)
- ATXスタイルの見出し(
コードサンプルスタイル
TypeScript/JavaScript
- ESモジュール(
import/export)を使う - TypeScriptの厳格モード規約に従う
- 型注釈を含める
- ターゲットは ES2022
Python
- PEP 8 のスタイルガイドラインに従う
- 適宜型ヒントを使う
- 関数とクラスにはドックストリングを含める
- Python 3.8+ のモダンな機能を使う
Java
- Spring Bootの規約に従う
- Java 21の機能を使う
- 標準的なMavenプロジェクト構造に従う
- Javadocコメントを含める
ファイル構成
<module-number>-<ModuleName>/
├── README.md # Main module content
├── samples/ # Code examples (if applicable)
│ ├── typescript/
│ ├── python/
│ ├── java/
│ └── ...
└── solution/ # Complete working solutions
└── <language>/ビルドとデプロイ
ドキュメントのデプロイ
このリポジトリは、ドキュメントホスティングにGitHub Pagesまたは同様のサービスを使用しています(該当する場合)。mainブランチへの変更は次を引き起こします:
- 翻訳ワークフロー(
.github/workflows/co-op-translator.yml) - すべての英語のマークダウンファイルの自動翻訳
- 必要に応じた画像のローカライズ
ビルドプロセス不要
このリポジトリは主にマークダウン形式のドキュメントを含んでいます。コアカリキュラムの内容についてはコンパイルやビルドのステップは不要です。
サンプルプロジェクトのデプロイ
個別のサンプルプロジェクトにはデプロイ手順がある場合があります:
- MCPサーバーデプロイの案内は
03-GettingStarted/09-deployment/を参照 - Azure Container Appsのデプロイ例は
11-MCPServerHandsOnLabs/にあります
コントリビューションガイドライン
プルリクエストの進め方
- フォーク&クローン:リポジトリをフォークし、自分のフォークをローカルにクローンする
<strong>ブランチ作成</strong>:説明的なブランチ名を使う(例:fix/typo-module-3、add/python-example)<strong>変更を行う</strong>:英語のマークダウンファイルのみ編集(翻訳ファイルは編集しない)<strong>ローカルでテスト</strong>:マークダウンが正しくレンダリングされることを確認- PR送信:わかりやすいタイトルと説明を付けてプルリクエストを送る
- CLA署名:案内があればMicrosoft Contributor License Agreementに署名する
プルリクエストタイトルの形式
わかりやすく説明的なタイトルを使う:
- モジュール固有の変更には
[Module XX] 簡単な説明 - サンプルコードの変更には
[Samples] 説明 - 一般的なドキュメント更新には
[Docs] 説明
何をコントリビュートするか
- ドキュメントやコードサンプルのバグ修正
- 新しいコード例(追加言語など)
- 既存内容の明確化・改善
- 新しいケーススタディや実践例
- 不明瞭または誤った内容の問題報告
やってはいけないこと
translations/ディレクトリ内のファイルを直接編集しないtranslated_images/ディレクトリを編集しない- 大きなバイナリファイルを勝手に追加しない
- 翻訳ワークフローファイルを調整なしで変更しない
追加の注意事項
リポジトリのメンテナンス
<strong>変更履歴</strong>: 重要な変更はすべてchangelog.mdに記録<strong>学習ガイド</strong>: カリキュラムのナビゲーション概要はstudy_guide.mdを利用- Issueテンプレート: バグ報告や機能要求にはGitHubのIssueテンプレートを使用
<strong>行動規範</strong>: すべてのコントリビューターはMicrosoftオープンソース行動規範を遵守
学習パス
効率的に学ぶにはモジュールを順番に(00-11)進めるのが良い:
- 00-02: 基礎(イントロダクション、コアコンセプト、セキュリティ)
- 03: ハンズオンで始める入門
- 04-05: 実践的な実装と応用トピック
- 06-10: コミュニティ、ベストプラクティス、実世界での応用
- 11: 包括的なデータベース統合ラボ(13連続ラボ)
サポートリソース
<strong>ドキュメント</strong>: https://modelcontextprotocol.io/<strong>仕様書</strong>: https://spec.modelcontextprotocol.io/<strong>コミュニティ</strong>: https://github.com/orgs/modelcontextprotocol/discussions- Discord: Microsoft Foundry Discordサーバー
<strong>関連コース</strong>: 他のMicrosoft学習パスはREADME.mdを参照
よくあるトラブルシューティング
Q: 私のPRが翻訳チェックで失敗しました A: ルートのモジュールディレクトリにある英語のマークダウンファイルのみを編集し、翻訳ファイルを編集していないことを確認してください。
Q: 新しい言語をどうやって追加しますか?
A: 言語サポートはco-op-translatorワークフローを通じて管理されています。新しい言語の追加について議論したい場合は、Issueを開いてください。
Q: コードサンプルが動作しません
A: 特定のサンプルのREADMEにあるセットアップ手順に従っていることを確認してください。依存関係の正しいバージョンがインストールされているかも確認してください。
Q: 画像が表示されません
A: 画像のパスが相対パスで、スラッシュが正しく使われているかを確認してください。画像は images/ ディレクトリか、ローカライズ版の場合は translated_images/ に配置してください。
パフォーマンスに関する考慮事項
- 翻訳ワークフローは完了までに数分かかる場合があります
- 大きな画像はコミット前に最適化してください
- 個々のマークダウンファイルは焦点を絞り、適切なサイズに保つべきです
- 相対リンクを使うことで移植性が向上します
プロジェクトガバナンス
このプロジェクトはMicrosoftのオープンソース慣行に従っています:
- コードとドキュメントにはMITライセンス
- Microsoftオープンソース行動規範
- コントリビューションにはCLAが必要
- セキュリティ問題:SECURITY.mdのガイドラインに従うこと
- サポートについてはSUPPORT.mdを参照してください
<!-- CO-OP TRANSLATOR DISCLAIMER START -->免責事項: 本書類は AI 翻訳サービス Co-op Translator を使用して翻訳されています。正確性を期していますが、自動翻訳には誤りや不正確な部分が含まれる可能性があることをご承知おきください。原文の原語版が正式な情報源とみなされるべきです。重要な情報については、専門の人間による翻訳を推奨します。本翻訳の利用により生じたいかなる誤解や解釈違いについても、当方は責任を負いかねます。
<!-- CO-OP TRANSLATOR DISCLAIMER END -->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.

