mcp-for-beginners / th
AGENTS.md17k starsChanged 3 months agoMITView on GitHub
MCP สำหรับผู้เริ่มต้น เป็นหลักสูตรการศึกษาที่เปิดเผยแหล่งที่มาเพื่อเรียนรู้ Model Context Protocol (MCP) - กรอบงานมาตรฐานสำหรับการโต้ตอบระหว่างโมเดล AI และแอปพลิเคชันของลูกค้า ที่เก็บนี้มีวัสดุการเรียนรู้ที่ครอบคลุมพร้อมตัวอย่างโค้ดใช้งานจริงในหลายภาษาโปรแกรม นี่เป็นที่เก็บข้อมูลที่เน้นเอกสาร วิธีการตั้งค่าส่วนใหญ่อยู่ในโครงการตัวอย่างและห้องปฏิบัติการแต่ละรายการ โครงการตัวอย่างตั้งอยู่ที่: - 03-GettingStarted/samples/ - ตัวอย่างเฉพาะภาษา - 03-GettingStarted/01-first-server/solution/ - การใช้งานเซิร์ฟเวอร์ตัวแรก - 03-GettingStarted/02-client/solution/ - การใช้งานไคลเอนต์ - 11-MCPServerHandsOnLabs/ - ห้องปฏิบัติการบูรณาการฐานข้อมูลครบวงจร แต่ละโครงการตัวอย่างมีคำแนะนำการตั้งค่าเป็นของตัวเอง: - [x] ความชัดเจนของผู้ร่วมพัฒนาใหม่: ไฟล์นี้กำหนดวัตถุประสงค์ของ repository, โครงสร้าง กฎการร่วมพัฒนา และเส้นทางการตั้งค่าตัวอย่าง - [x] คำสั่ง build/test/lint พร้อมออปชันที่แน่นอน: - ตรวจสอบเอกสาร repository lint: npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images" - ตรวจสอบรูปแบบลิงก์เอกสาร repository: find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)" -…
- 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/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/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 สำหรับผู้เริ่มต้น เป็นหลักสูตรการศึกษาที่เปิดเผยแหล่งที่มาเพื่อเรียนรู้ Model Context Protocol (MCP) - กรอบงานมาตรฐานสำหรับการโต้ตอบระหว่างโมเดล AI และแอปพลิเคชันของลูกค้า ที่เก็บนี้มีวัสดุการเรียนรู้ที่ครอบคลุมพร้อมตัวอย่างโค้ดใช้งานจริงในหลายภาษาโปรแกรม
เทคโนโลยีสำคัญ
- ภาษาโปรแกรม: C#, Java, JavaScript, TypeScript, Python, Rust
- เฟรมเวิร์ก & SDKs:
- MCP SDK (
@modelcontextprotocol/sdk) - Spring Boot (Java)
- FastMCP (Python)
- LangChain4j (Java)
- MCP SDK (
- ฐานข้อมูล: PostgreSQL พร้อมส่วนขยาย pgvector
- แพลตฟอร์มคลาวด์: Azure (Container Apps, OpenAI, Content Safety, Application Insights)
- เครื่องมือสร้าง: npm, Maven, pip, Cargo
- เอกสารประกอบ: Markdown พร้อมการแปลอัตโนมัติหลายภาษา (48+ ภาษา)
สถาปัตยกรรม
- 11 โมดูลหลัก (00-11): เส้นทางการเรียนรู้ต่อเนื่องจากพื้นฐานถึงหัวข้อขั้นสูง
- ห้องปฏิบัติการใช้งานจริง: แบบฝึกหัดเชิงปฏิบัติพร้อมโค้ดโซลูชันครบถ้วนในหลายภาษา
- โครงการตัวอย่าง: การใช้งานเซิร์ฟเวอร์และไคลเอนต์ MCP ที่ทำงานได้จริง
- ระบบแปลภาษา: เวิร์กโฟลว์ GitHub Actions อัตโนมัติสำหรับรองรับหลายภาษา
- แอสเซทภาพ: โฟลเดอร์เก็บภาพรวมศูนย์พร้อมเวอร์ชันแปลภาษา
คำสั่งการตั้งค่า
นี่เป็นที่เก็บข้อมูลที่เน้นเอกสาร วิธีการตั้งค่าส่วนใหญ่อยู่ในโครงการตัวอย่างและห้องปฏิบัติการแต่ละรายการ
การตั้งค่า Repository
# โคลนที่เก็บข้อมูล
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 startโครงการ Python
cd <project-directory>
pip install -r requirements.txt
# หรือ
pip install -e .
python main.pyโครงการ Java
cd <project-directory>
mvn clean install
mvn spring-boot:runเวิร์กโฟลว์การพัฒนา
ความพร้อม MCP 7-28
รายการตรวจสอบความพร้อมของ Repo
- ความชัดเจนของผู้ร่วมพัฒนาใหม่: ไฟล์นี้กำหนดวัตถุประสงค์ของ repository, โครงสร้าง กฎการร่วมพัฒนา และเส้นทางการตั้งค่าตัวอย่าง
- คำสั่ง build/test/lint พร้อมออปชันที่แน่นอน:
- ตรวจสอบเอกสาร repository lint:
npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images" - ตรวจสอบรูปแบบลิงก์เอกสาร repository:
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
- ตรวจสอบเอกสาร repository lint:
- เวิร์กโฟลว์ที่สมจริงหนึ่งรายการซึ่งสามารถกลายเป็นเครื่องมือ MCP:
validate_curriculum_change - อินพุต/เอาต์พุตเป็นไปอย่างชัดเจน (ดูข้อกำหนดด้านล่าง)
- สิทธิ์และโหมดความล้มเหลวได้รับการบันทึกไว้ (ดูข้อกำหนดด้านล่าง)
- การทดสอบ CI เป็นไปอย่างชัดเจน (คำสั่งที่มีความเป็นเหตุเป็นผล, รหัสออกอย่างชัดเจน, และเอาต์พุตที่อ่านโดยเครื่องจักรได้)
เวิร์กโฟลว์เครื่องมือ MCP ตัวอย่าง: validate_curriculum_change
เป้าหมาย
ตรวจสอบการเปลี่ยนแปลงเอกสารหลักสูตรและตัวอย่างโค้ดตัวแทน ให้มีสุขภาพดี ก่อนการผสานเข้าร่วม
อินพุต
changed_paths: string[](จำเป็น) - เส้นทางสัมพัทธ์ที่เปลี่ยนใน PRrun_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/ - เรียกใช้คำสั่ง shell ในเครื่อง
- เข้าถึงเครือข่ายได้เฉพาะการกู้คืนแพ็กเกจ (
npm ci,python -m pip install, การแก้ไข dependency ของmvn) - ไม่มีสิทธิ์ผลักดัน, ผสาน หรือแก้ไข
translations/หรือtranslated_images/
โหมดความล้มเหลว
E_NO_INPUT_PATHS: ไม่มีค่าในchanged_pathsE_INVALID_PATH: เส้นทางอินพุตหลุดออกจากราก repositoryE_LINT_FAILED: markdown lint จบการทำงานด้วยรหัสไม่เป็นศูนย์E_LINK_AUDIT_FAILED: คำสั่งสอบทานลิงก์จบการทำงานด้วยรหัสไม่เป็นศูนย์E_SAMPLE_TEST_FAILED: การทดสอบ/สร้างตัวอย่างจบการทำงานด้วยรหัสไม่เป็นศูนย์E_TIMEOUT: คำสั่งเกินเวลา timeout ที่ตั้งไว้
สัญญา CI ที่แนะนำ
เพื่อทำให้อัตโนมัติการตรวจสอบนี้ ตั้งค่าการทำงาน CI ที่:
- เรียกใช้เมื่อ pull request ที่สัมผัสไฟล์
*.md, โค้ดตัวอย่าง หรือไฟล์นี้ - รันคำสั่งที่ระบุไว้ด้านบนอย่างแม่นยำ
- เก็บบันทึกเป็นผลลัพธ์
- ผิดพลาดงานเมื่อมีรหัสออกไม่เป็นศูนย์
หากคุณปล่อยเซิร์ฟเวอร์ MCP จาก repo นี้
- อ่านบันทึกการเปลี่ยนแปลง MCP สุดท้าย
2026-07-28: https://modelcontextprotocol.io/specification/2026-07-28/changelog - ตรวจสอบว่า SDK ที่เลือกสนับสนุน MCP
2026-07-28: https://modelcontextprotocol.io/docs/sdk - ลบสมมติฐานเกี่ยวกับ session และ handshake; ถือแต่ละคำขอเป็น เรื่องอิสระ: https://modelcontextprotocol.io/specification/2026-07-28/basic/lifecycle
- ส่งหัวข้อ
Mcp-MethodและMcp-Nameสำหรับคำขอ HTTP ดิบ: https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http - ตรวจสอบรหัสข้อผิดพลาดที่ฝังด้วยโค้ด (
missing resourceย้ายจาก-32002เป็น-32602) - ย้าย Roots, Sampling, Logging และ Dynamic Client ที่เลิกใช้แล้ว การลงทะเบียน: https://modelcontextprotocol.io/specification/2026-07-28/deprecated
- ย้ายออกจาก experimental
2025-11-25Tasks API: https://modelcontextprotocol.io/extensions/tasks - ทบทวนการอนุญาตสำหรับการเสริมความแข็งแกร่ง OAuth และ OpenID Connect: https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization
โครงสร้างเอกสาร
- Modules 00-11: เนื้อหาหลักสูตรหลักตามลำดับ
- translations/: เวอร์ชันตามภาษาที่กำหนด (สร้างอัตโนมัติ ห้ามแก้ไขโดยตรง)
- translated_images/: เวอร์ชันรูปภาพที่แปลตามท้องถิ่น (สร้างอัตโนมัติ)
- images/: รูปภาพและไดอะแกรมต้นทาง
การทำการเปลี่ยนแปลงเอกสาร
- แก้ไขไฟล์ markdown ภาษาอังกฤษในไดเรกทอรีโมดูลหลัก (00-11) เท่านั้น
- อัปเดตรูปภาพในไดเรกทอรี
images/ตามความจำเป็น - GitHub Action ของ co-op-translator จะสร้างการแปลอัตโนมัติ
- การแปลจะถูกสร้างใหม่เมื่อต้นทางหลักถูกผลักดัน
การทำงานกับการแปล
- การแปลอัตโนมัติ: กระบวนการทำงาน GitHub Actions จัดการการแปลทั้งหมด
- ห้ามแก้ไขด้วยตนเอง ไฟล์ในไดเรกทอรี
translations/ - ข้อมูลเมตาการแปลถูกฝังในแต่ละไฟล์ที่แปลแล้ว
- ภาษาที่รองรับ: มากกว่า 48 ภาษา รวมทั้งอารบิก, จีน, ฝรั่งเศส, เยอรมัน, ฮินดี, ญี่ปุ่น, เกาหลี, โปรตุเกส, รัสเซีย, สเปน และอื่น ๆ อีกมากมาย
คำแนะนำการทดสอบ
การตรวจสอบเอกสาร
เนื่องจากเป็นที่เก็บเอกสารเป็นหลัก การทดสอบจึงเน้นที่:
ตรวจสอบรูปแบบลิงก์: แสดงรายการลิงก์ Markdown เพื่อทบทวน
# รายการลิงก์ Markdown (ตรวจสอบรูปแบบ) find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)"ตรวจสอบตัวอย่างโค้ด: ทดสอบว่าสามารถคอมไพล์/รันโค้ดตัวอย่างได้
# ไปยังตัวอย่างเฉพาะและรันการทดสอบของมัน cd 03-GettingStarted/samples/typescript npm install && npm testตรวจสอบ Markdown Linting: ตรวจสอบความสม่ำเสมอของการจัดรูปแบบ
# ใช้ 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แนวทางสไตล์โค้ด
สไตล์เอกสาร
- ใช้ภาษาที่ชัดเจนและเข้าใจง่ายสำหรับผู้เริ่มต้น
- รวมตัวอย่างโค้ดในหลายภาษาเมื่อเหมาะสม
- ปฏิบัติตามแนวทางที่ดีที่สุดของ markdown:
- ใช้หัวเรื่องสไตล์ ATX (
#syntax) - ใช้โค้ดบล็อคที่มีรั้วและระบุภาษาชัดเจน
- รวมข้อความคำอธิบาย alt สำหรับรูปภาพ
- รักษาความยาวบรรทัดให้อยู่ในระดับสมเหตุสมผล (ไม่มีขีดจำกัดตายตัว แต่ต้องมีเหตุผล)
- ใช้หัวเรื่องสไตล์ ATX (
สไตล์ตัวอย่างโค้ด
TypeScript/JavaScript
- ใช้โมดูล ES (
import/export) - ปฏิบัติตามข้อกำหนดโหมดเข้มงวดของ TypeScript
- รวมการระบุชนิดข้อมูล
- เป้าหมาย ES2022
Python
- ปฏิบัติตามแนวทางสไตล์ PEP 8
- ใช้คำใบ้ชนิดข้อมูลเมื่อเหมาะสม
- รวม docstrings สำหรับฟังก์ชันและคลาส
- ใช้ฟีเจอร์ 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 หรือคล้ายกันสำหรับการโฮสต์เอกสาร (ถ้าใช้ได้) การเปลี่ยนแปลงในสาขาหลักจะกระตุ้น:
- กระบวนการแปล (
.github/workflows/co-op-translator.yml) - การแปลอัตโนมัติของไฟล์ markdown ภาษาอังกฤษทั้งหมด
- การแปลรูปภาพตามความจำเป็น
ไม่ต้องมีขั้นตอนการสร้าง
ที่เก็บนี้เน้นที่เอกสาร markdown เป็นหลัก ไม่มีขั้นตอนคอมไพล์หรือการสร้างสำหรับเนื้อหาหลักสูตรหลัก
การปรับใช้โปรเจกต์ตัวอย่าง
โปรเจกต์ตัวอย่างแต่ละอันอาจมีคำแนะนำการปรับใช้:
- ดู
03-GettingStarted/09-deployment/สำหรับคำแนะนำการปรับใช้เซิร์ฟเวอร์ MCP - ตัวอย่างการปรับใช้ Azure Container Apps ใน
11-MCPServerHandsOnLabs/
แนวทางการมีส่วนร่วม
กระบวนการ Pull Request
- Fork และ Clone: Fork ที่เก็บและโคลน Fork ของคุณลงในเครื่อง
- สร้างสาขาใหม่: ใช้ชื่อตามคำอธิบายที่ชัดเจน (เช่น
fix/typo-module-3,add/python-example) - แก้ไข: แก้ไขไฟล์ markdown ภาษาอังกฤษเท่านั้น (ไม่แก้ไขการแปล)
- ทดสอบในเครื่อง: ตรวจสอบว่า markdown แสดงผลถูกต้อง
- ส่ง PR: ใช้หัวข้อและคำอธิบาย PR ที่ชัดเจน
- CLA: ลงนามใน Microsoft Contributor License Agreement เมื่อได้รับแจ้ง
รูปแบบชื่อ PR
ใช้ชื่อที่ชัดเจนและอธิบายได้ดี:
[Module XX] คำอธิบายสั้นสำหรับการเปลี่ยนแปลงเฉพาะโมดูล[Samples] คำอธิบายสำหรับการเปลี่ยนแปลงตัวอย่างโค้ด[Docs] คำอธิบายสำหรับการอัปเดตเอกสารทั่วไป
สิ่งที่ควรมีส่วนร่วม
- แก้ไขข้อผิดพลาดในเอกสารหรือโค้ดตัวอย่าง
- ตัวอย่างโค้ดใหม่ในภาษาเพิ่มเติม
- ชี้แจงและปรับปรุงเนื้อหาที่มีอยู่
- กรณีศึกษาใหม่หรือตัวอย่างเชิงปฏิบัติ
- รายงานปัญหาเนื้อหาที่ไม่ชัดเจนหรืไม่ถูกต้อง
สิ่งที่ไม่ควรทำ
- ห้ามแก้ไขไฟล์โดยตรงในไดเรกทอรี
translations/ - ห้ามแก้ไขไดเรกทอรี
translated_images/ - ห้ามเพิ่มไฟล์ไบนารีขนาดใหญ่โดยไม่หารือก่อน
- ห้ามเปลี่ยนไฟล์กระบวนการแปลโดยไม่ประสานงาน
หมายเหตุเพิ่มเติม
การดูแลที่เก็บ
- บันทึกการเปลี่ยนแปลง: การเปลี่ยนแปลงสำคัญทั้งหมดถูกบันทึกใน
changelog.md - คู่มือศึกษา: ใช้
study_guide.mdสำหรับภาพรวมการนำทางหลักสูตร - แม่แบบปัญหา: ใช้แม่แบบปัญหา GitHub สำหรับรายงานข้อบกพร่องและคำร้องขอฟีเจอร์
- จรรยาบรรณ: ผู้ร่วมงานทั้งหมดต้องปฏิบัติตาม Microsoft Open Source Code of Conduct
เส้นทางการเรียนรู้
ปฏิบัติตามโมดูลตามลำดับ (00-11) เพื่อการเรียนรู้ที่ดีที่สุด:
- 00-02: พื้นฐาน (แนะนำ, แนวคิดหลัก, ความปลอดภัย)
- 03: เริ่มต้นใช้งานด้วยการปฏิบัติจริง
- 04-05: การปฏิบัติและหัวข้อขั้นสูง
- 06-10: ชุมชน, แนวทางปฏิบัติที่ดีที่สุด, และการประยุกต์ใช้ในโลกจริง
- 11: ห้องปฏิบัติการบูรณาการฐานข้อมูลเชิงลึก (13 ห้องปฏิบัติการเรียงตามลำดับ)
แหล่งสนับสนุน
- เอกสาร: https://modelcontextprotocol.io/
- ข้อกำหนด: https://modelcontextprotocol.io/specification/2026-07-28/
- ชุมชน: https://github.com/orgs/modelcontextprotocol/discussions
- Discord: เซิร์ฟเวอร์ Microsoft Foundry Discord
- คอร์สที่เกี่ยวข้อง: ดู README.md สำหรับเส้นทางการเรียนรู้ Microsoft อื่น ๆ
การแก้ปัญหาที่พบบ่อย
ถาม: PR ของฉันล้มเหลวในการตรวจสอบการแปล ตอบ: ตรวจสอบให้แน่ใจว่าแก้ไขไฟล์ markdown ภาษาอังกฤษในไดเรกทอรีโมดูลหลักเท่านั้น ไม่ใช่เวอร์ชันที่แปลแล้ว
ถาม: ฉันจะเพิ่มภาษาใหม่ได้อย่างไร? ตอบ: การสนับสนุนภาษาได้รับการจัดการผ่านกระบวนการ co-op-translator เปิดปัญหาเพื่อหารือเกี่ยวกับการเพิ่มภาษาใหม่
ถาม: ตัวอย่างโค้ดไม่ทำงาน ตอบ: ตรวจสอบว่าคุณได้ทำตามคำแนะนำการตั้งค่าใน README ของตัวอย่างนั้น ตรวจสอบว่าคุณมีเวอร์ชันของส่วนประกอบที่ถูกต้อง
ถาม: รูปภาพไม่แสดงผล
A: ตรวจสอบให้แน่ใจว่าเส้นทางของรูปภาพเป็นแบบสัมพัทธ์และใช้สแลชไปข้างหน้า รูปภาพควรอยู่ในไดเรกทอรี images/ หรือ translated_images/ สำหรับเวอร์ชันที่แปล
การพิจารณาด้านประสิทธิภาพ
- กระบวนการแปลอาจใช้เวลาหลายนาทีในการดำเนินการให้เสร็จสมบูรณ์
- รูปภาพขนาดใหญ่ควรได้รับการปรับให้เหมาะสมก่อนการคอมมิต
- รักษาไฟล์ markdown แต่ละไฟล์ให้มีโฟกัสและขนาดที่เหมาะสม
- ใช้ลิงก์สัมพัทธ์เพื่อความสะดวกในการพกพา
การกำกับดูแลโครงการ
โครงการนี้ปฏิบัติตามแนวทางปฏิบัติซอร์สเปิดของ 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.

