mcp-for-beginners / ms
AGENTS.md17k starsChanged 3 months agoMITView on GitHub
MCP untuk Pemula adalah kurikulum pendidikan sumber terbuka untuk mempelajari Model Context Protocol (MCP) - rangka kerja piawai untuk interaksi antara model AI dan aplikasi klien. Repositori ini menyediakan bahan pembelajaran komprehensif dengan contoh kod berasaskan praktikal merentasi pelbagai bahasa pengaturcaraan. Ini adalah repositori berfokuskan dokumentasi. Kebanyakan persediaan berlaku dalam projek contoh dan makmal individu. Projek contoh terletak di: - 03-GettingStarted/samples/ - Contoh khusus bahasa - 03-GettingStarted/01-first-server/solution/ - Implementasi pelayan pertama - 03-GettingStarted/02-client/solution/ - Implementasi klien - 11-MCPServerHandsOnLabs/ - Makmal…
- 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/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/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
Gambaran Projek
MCP untuk Pemula adalah kurikulum pendidikan sumber terbuka untuk mempelajari Model Context Protocol (MCP) - rangka kerja piawai untuk interaksi antara model AI dan aplikasi klien. Repositori ini menyediakan bahan pembelajaran komprehensif dengan contoh kod berasaskan praktikal merentasi pelbagai bahasa pengaturcaraan.
Teknologi Utama
- Bahasa Pengaturcaraan: C#, Java, JavaScript, TypeScript, Python, Rust
- Rangka Kerja & SDK:
- MCP SDK (
@modelcontextprotocol/sdk) - Spring Boot (Java)
- FastMCP (Python)
- LangChain4j (Java)
- MCP SDK (
- Pangkalan Data: PostgreSQL dengan sambungan pgvector
- Platform Awan: Azure (Container Apps, OpenAI, Content Safety, Application Insights)
- Alat Pembinaan: npm, Maven, pip, Cargo
- Dokumentasi: Markdown dengan penterjemahan automatik pelbagai bahasa (48+ bahasa)
Seni Bina
- 11 Modul Teras (00-11): Laluan pembelajaran berurutan dari asas ke topik lanjutan
- Makmal Praktikal: Latihan praktikal dengan kod penyelesaian lengkap dalam pelbagai bahasa
- Projek Contoh: Implementasi pelayan dan klien MCP yang berfungsi
- Sistem Terjemahan: Aliran kerja GitHub Actions automatik untuk sokongan pelbagai bahasa
- Aset Imej: Direktori imej terpusat dengan versi terjemahan
Arahan Persediaan
Ini adalah repositori berfokuskan dokumentasi. Kebanyakan persediaan berlaku dalam projek contoh dan makmal individu.
Persediaan Repositori
# Klon repositori
git clone https://github.com/microsoft/mcp-for-beginners.git
cd mcp-for-beginnersBekerja dengan Projek Contoh
Projek contoh terletak di:
03-GettingStarted/samples/- Contoh khusus bahasa03-GettingStarted/01-first-server/solution/- Implementasi pelayan pertama03-GettingStarted/02-client/solution/- Implementasi klien11-MCPServerHandsOnLabs/- Makmal integrasi pangkalan data komprehensif
Setiap projek contoh mengandungi arahan persediaan tersendiri:
Projek TypeScript/JavaScript
cd <project-directory>
npm install
npm startProjek Python
cd <project-directory>
pip install -r requirements.txt
# atau
pip install -e .
python main.pyProjek Java
cd <project-directory>
mvn clean install
mvn spring-boot:runAliran Kerja Pembangunan
Kesediaan MCP 7-28
Senarai semak kesediaan repositori
- Kejelasan penyumbang baru: Fail ini mendefinisikan tujuan repositori, struktur, peraturan sumbangan, dan laluan persediaan contoh.
- Arahan bina/ujian/lint dengan bendera tepat:
- Lint dokumentasi repositori:
npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images" - Audit corak pautan dokumentasi repositori:
find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)" - Pengesahan contoh TypeScript:
cd 03-GettingStarted/samples/typescript && npm ci && npm test && npm run build - Pengesahan contoh Python:
cd 10-StreamliningAIWorkflowsBuildingAnMCPServerWithAIToolkit/lab3/code/weather_mcp && python -m pip install -e . && pytest -q - Pengesahan contoh Java:
cd 03-GettingStarted/samples/java/calculator && mvn -B -ntp test verify
- Lint dokumentasi repositori:
- Satu aliran kerja realistik yang boleh menjadi alat MCP:
validate_curriculum_change - Input/output adalah nyata (lihat spesifikasi di bawah).
- Kebenaran dan mod kegagalan didokumentasikan (lihat spesifikasi di bawah).
- Kebolehujian CI nyata (arahan deterministik, kod keluar nyata, dan output boleh dibaca mesin).
Aliran kerja calon alat MCP: validate_curriculum_change
Matlamat
Sahihkan perubahan dokumentasi kurikulum dan kesihatan kod contoh wakil sebelum penggabungan.
Input
changed_paths: string[](wajib) - laluan relatif yang diubah dalam PR.run_docs_lint: boolean(lalaitrue)run_links_audit: boolean(lalaitrue)run_samples: { typescript?: boolean, python?: boolean, java?: boolean }(lalai semuafalse)
Output
status: "ok" | "failed"checks: Array<{ name: string, command: string, exit_code: number, summary: string }>artifacts: Array<{ type: "log" | "report", path: string }>failed_checks: string[]
Kebenaran
- Baca fail ruang kerja dan tulis artifak yang dijana alat (contohnya, laporan lint,
log ujian) sahaja; tiada penulisan ke
translations/atautranslated_images/. - Jalankan arahan shell tempatan.
- Akses rangkaian pilihan hanya untuk pemulihan pakej (
npm ci,python -m pip install, penyelesaian kebergantunganmvn). - Tiada kebenaran untuk mendorong, menggabungkan, atau mengubah
translations/atautranslated_images/.
Mod kegagalan
E_NO_INPUT_PATHS:changed_pathskosong.E_INVALID_PATH: laluan input melarikan diri dari akar repositori.E_LINT_FAILED: lint markdown keluar dengan kode bukan sifar.E_LINK_AUDIT_FAILED: arahan audit pautan keluar dengan kode bukan sifar.E_SAMPLE_TEST_FAILED: ujian/binaan contoh keluar dengan kode bukan sifar.E_TIMEOUT: arahan melebihi masa tamat yang ditetapkan.
Kontrak CI yang disyorkan
Untuk mengautomasi pengesahan, konfigurasikan kerja CI yang:
- Dicetuskan pada permintaan tarik yang menyentuh
*.md, kod contoh, atau fail ini. - Menjalankan arahan tepat yang disenaraikan di atas.
- Menyimpan log sebagai artifak.
- Menganggap gagal kerja pada sebarang kod keluar bukan sifar.
Jika anda menghantar pelayan MCP dari repositori ini
- Baca nota perubahan MCP akhir
2026-07-28: https://modelcontextprotocol.io/specification/2026-07-28/changelog - Sahkan bahawa pelepasan SDK terpilih menyokong MCP
2026-07-28: https://modelcontextprotocol.io/docs/sdk - Buang andaian sesi dan persalaman; anggap setiap permintaan sebagai berdikari: https://modelcontextprotocol.io/specification/2026-07-28/basic/lifecycle
- Hantar pengepala
Mcp-MethoddanMcp-Nameuntuk permintaan HTTP mentah: https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http - Audit kod ralat keras (contoh
sumber hilangdipindahkan dari-32002ke-32602). - Migrasi Roots, Sampling, Logging, dan Dynamic Client lama Pendaftaran: https://modelcontextprotocol.io/specification/2026-07-28/deprecated
- Berpindah dari API Tugas
2025-11-25yang eksperimen: https://modelcontextprotocol.io/extensions/tasks - Semak kebenaran untuk pengukuhan OAuth dan OpenID Connect: https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization
Struktur Dokumentasi
- Modul 00-11: Kandungan kurikulum teras mengikut urutan berturutan
- translations/: Versi bahasa spesifik (auto-dijana, jangan edit terus)
- translated_images/: Versi imej yang dilokalkan (auto-dijana)
- images/: Imej dan rajah sumber
Membuat Perubahan Dokumentasi
- Edit hanya fail markdown Bahasa Inggeris dalam direktori modul akar (00-11)
- Kemas kini imej dalam direktori
images/jika perlu - Tindakan GitHub co-op-translator akan menjana terjemahan secara automatik
- Terjemahan dijana semula apabila ada pendorongan ke cawangan utama
Bekerja dengan Terjemahan
- Terjemahan Automatik: Aliran kerja GitHub Actions mengendalikan semua terjemahan
- JANGAN edit secara manual fail dalam direktori
translations/ - Metadata terjemahan disisipkan dalam setiap fail terjemahan
- Bahasa yang disokong: 48+ bahasa termasuk Arab, Cina, Perancis, Jerman, Hindi, Jepun, Korea, Portugis, Rusia, Sepanyol, dan banyak lagi
Arahan Ujian
Pengesahan Dokumentasi
Oleh kerana ini adalah repositori dokumentasi utama, ujian memfokuskan pada:
Audit Corak Pautan: Senaraikan pautan Markdown untuk semakan
# Senaraikan pautan Markdown (audit corak) find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)"Pengesahan Contoh Kod: Uji bahawa contoh kod boleh disusun/dijalankan
# Navigasi ke sampel tertentu dan jalankan ujian-ujiannya cd 03-GettingStarted/samples/typescript npm install && npm testLinting Markdown: Semak konsistensi format
# Gunakan markdownlint jika perlu npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images"
Ujian Projek Contoh
Setiap sampel bahasa spesifik mempunyai pendekatan ujian sendiri:
TypeScript/JavaScript
npm test
npm run buildPython
pytest
python -m pytest tests/Java
mvn test
mvn verifyGaris Panduan Gaya Kod
Gaya Dokumentasi
- Gunakan bahasa yang jelas dan mesra pemula
- Sertakan contoh kod dalam pelbagai bahasa jika sesuai
- Ikuti amalan terbaik markdown:
- Gunakan pengepala gaya ATX (
#sintaks) - Gunakan blok kod ber pagar dengan penunjuk bahasa
- Sertakan teks alt yang deskriptif untuk imej
- Kekalkan panjang baris yang munasabah (tiada had keras, tapi berhemah)
- Gunakan pengepala gaya ATX (
Gaya Contoh Kod
TypeScript/JavaScript
- Gunakan modul ES (
import/export) - Ikuti konvensyen mod ketat TypeScript
- Sertakan anotasi jenis
- Sasarkan ES2022
Python
- Ikuti garis panduan gaya PEP 8
- Gunakan petunjuk jenis bila sesuai
- Sertakan docstrings untuk fungsi dan kelas
- Gunakan ciri Python moden (3.8+)
Java
- Ikuti konvensyen Spring Boot
- Gunakan ciri Java 21
- Ikuti struktur projek Maven standard
- Sertakan komen Javadoc
Pengurusan Fail
<module-number>-<ModuleName>/
├── README.md # Main module content
├── samples/ # Code examples (if applicable)
│ ├── typescript/
│ ├── python/
│ ├── java/
│ └── ...
└── solution/ # Complete working solutions
└── <language>/Pembinaan dan Penempatan
Penempatan Dokumentasi
Repositori menggunakan GitHub Pages atau serupa untuk pengehosan dokumentasi (jika terpakai). Perubahan pada cawangan utama akan mencetuskan:
- Aliran kerja terjemahan (
.github/workflows/co-op-translator.yml) - Terjemahan automatik semua fail markdown Bahasa Inggeris
- Pelokalan imej jika perlu
Tiada Proses Pembinaan Diperlukan
Repositori ini terutamanya mengandungi dokumentasi markdown. Tiada langkah penyusunan atau pembinaan diperlukan untuk kandungan kurikulum teras.
Penempatan Projek Contoh
Projek contoh individu mungkin mempunyai arahan penempatan:
- Lihat
03-GettingStarted/09-deployment/untuk panduan penempatan pelayan MCP - Contoh penempatan Azure Container Apps dalam
11-MCPServerHandsOnLabs/
Garis Panduan Menyumbang
Proses Permintaan Tarik
- Fork dan Clone: Fork repositori dan clone fork secara tempatan
- Buat Cawangan: Gunakan nama cawangan yang deskriptif (contoh,
fix/typo-module-3,add/python-example) - Buat Perubahan: Edit hanya fail markdown Bahasa Inggeris (bukan terjemahan)
- Uji Secara Tempatan: Sahkan markdown dipaparkan dengan betul
- Hantar PR: Gunakan tajuk dan penerangan PR yang jelas
- CLA: Tandatangani Perjanjian Lesen Penyumbang Microsoft apabila diminta
Format Tajuk PR
Gunakan tajuk yang jelas dan deskriptif:
[Module XX] Penerangan ringkasuntuk perubahan spesifik modul[Samples] Peneranganuntuk perubahan kod contoh[Docs] Peneranganuntuk kemas kini dokumentasi umum
Apa yang Perlu Disumbangkan
- Pembetulan pepijat dalam dokumentasi atau contoh kod
- Contoh kod baru dalam bahasa tambahan
- Penjelasan dan penambahbaikan kandungan sedia ada
- Kajian kes baru atau contoh praktikal
- Laporan isu untuk kandungan yang tidak jelas atau salah
Apa yang TIDAK Perlu Dilakukan
- Jangan terus edit fail dalam direktori
translations/ - Jangan edit direktori
translated_images/ - Jangan tambah fail binari besar tanpa perbincangan
- Jangan ubah aliran kerja terjemahan tanpa penyelarasan
Nota Tambahan
Penyelenggaraan Repositori
- Changelog: Semua perubahan penting didokumentasikan dalam
changelog.md - Panduan Belajar: Gunakan
study_guide.mduntuk gambaran navigasi kurikulum - Templat Isu: Gunakan templat isu GitHub untuk laporan pepijat dan permintaan ciri
- Kod Etika: Semua penyumbang mesti mengikuti Kod Etika Sumber Terbuka Microsoft
Laluan Pembelajaran
Ikuti modul secara berturutan (00-11) untuk pembelajaran optimum:
- 00-02: Asas (Pengenalan, Konsep Teras, Keselamatan)
- 03: Memulakan dengan pelaksanaan praktikal
- 04-05: Pelaksanaan praktikal dan topik lanjutan
- 06-10: Komuniti, amalan terbaik, dan aplikasi dunia sebenar
- 11: Makmal integrasi pangkalan data menyeluruh (13 makmal berturut-turut)
Sumber Sokongan
- Dokumentasi: https://modelcontextprotocol.io/
- Spesifikasi: https://modelcontextprotocol.io/specification/2026-07-28/
- Komuniti: https://github.com/orgs/modelcontextprotocol/discussions
- Discord: Pelayan Discord Microsoft Foundry
- Kursus Berkaitan: Lihat README.md untuk laluan pembelajaran Microsoft lain
Troubleshooting Biasa
S: PR saya gagal pemeriksaan terjemahan J: Pastikan anda hanya mengedit fail markdown Bahasa Inggeris dalam direktori modul akar, bukan versi terjemahan.
S: Bagaimana saya menambah bahasa baru? J: Sokongan bahasa dikendalikan melalui aliran kerja co-op-translator. Buka isu untuk berbincang menambah bahasa baru.
S: Contoh kod tidak berfungsi J: Pastikan anda mengikuti arahan persediaan dalam README sampel tertentu. Semak bahawa anda mempunyai versi kebergantungan yang betul dipasang.
S: Imej tidak dipaparkan
A: Sahkan laluan imej adalah relatif dan menggunakan garis miring ke hadapan. Imej harus berada dalam direktori images/ atau translated_images/ untuk versi yang dilokalkan.
Pertimbangan Prestasi
- Aliran kerja terjemahan mungkin mengambil masa beberapa minit untuk disiapkan
- Imej bersaiz besar harus dioptimumkan sebelum diserahkan
- Kekalkan fail markdown individu agar fokus dan bersaiz munasabah
- Gunakan pautan relatif untuk kebolehgerakan yang lebih baik
Tadbir Urus Projek
Projek ini mengikuti amalan sumber terbuka Microsoft:
- Lesen MIT untuk kod dan dokumentasi
- Kod Etika Microsoft Sumber Terbuka
- CLA diperlukan untuk sumbangan
- Isu keselamatan: Ikuti garis panduan SECURITY.md
- Sokongan: Rujuk SUPPORT.md untuk sumber bantuan
<!-- CO-OP TRANSLATOR DISCLAIMER START -->Penafian: Dokumen ini telah diterjemahkan menggunakan perkhidmatan terjemahan AI Co-op Translator. Walaupun kami berusaha untuk ketepatan, sila ambil maklum bahawa terjemahan automatik mungkin mengandungi kesilapan atau ketidaktepatan. Dokumen asal dalam bahasa asalnya harus dianggap sebagai sumber yang sahih. Untuk maklumat penting, terjemahan oleh manusia profesional adalah disyorkan. Kami tidak bertanggungjawab terhadap sebarang salah faham atau salah tafsir yang timbul daripada penggunaan terjemahan ini.
<!-- 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.

