Skip to content

Commit 05c9a75

Browse files
committed
Merge branch 'main' into pr/50
2 parents 59dab07 + 1e6a195 commit 05c9a75

40 files changed

+5162
-463
lines changed

.github/workflows/build_documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
package_name: mcp-course
1515
path_to_docs: mcp-course/units/
1616
additional_args: --not_python_module
17-
languages: en
17+
languages: en
1818
secrets:
19-
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
19+
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,5 @@ cython_debug/
172172

173173
# PyPI configuration file
174174
.pypirc
175+
176+
.DS_Store

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# The Model Context Protocol (MCP) Course
22

3+
<div align="center"> <a href="README.md">🇺🇸 English</a> | <a href="README_vi.md">🇻🇳 Tiếng Việt</a> </div>
4+
35
![1](https://github.com/user-attachments/assets/d26dcc5e-46cb-449e-aecb-49ece10d342a)
46

57
If you like the course, **don't hesitate to ⭐ star this repository**. This helps us to **make the course more visible 🤗**.
@@ -46,10 +48,10 @@ To cite this repository in publications:
4648

4749
```
4850
@misc{mcp-course,
49-
author = {Your Name},
51+
author = Burtenshaw, Ben,
5052
title = {The Model Context Protocol Course},
5153
year = {2025},
52-
howpublished = {\url{https://github.com/yourusername/mcp-course}},
54+
howpublished = {\url{https://github.com/huggingface/mcp-course}},
5355
note = {GitHub repository},
5456
}
5557
```

README_vi.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Khóa Học Về Model Context Protocol (MCP)
2+
3+
<div align="center"> <a href="README.md">🇺🇸 English</a> | <a href="README_vi.md">🇻🇳 Tiếng Việt</a> </div>
4+
5+
![1](https://github.com/user-attachments/assets/d26dcc5e-46cb-449e-aecb-49ece10d342a)
6+
7+
Nếu bạn thích khóa học này, **đừng ngần ngại đánh dấu ⭐ cho repo này**. Điều này giúp chúng ta **làm cho khóa học trở nên phổ biến hơn 🤗**.
8+
9+
<img src="https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/communication/please_star.gif" alt="Đánh dấu sao cho kho lưu trữ" />
10+
11+
## Nội dung
12+
13+
Khóa học được chia thành 4 phần. Những phần này sẽ đưa bạn từ **những kiến thức cơ bản về Model Context Protocol đến một dự án cuối cùng triển khai MCP trong ứng dụng AI**.
14+
15+
Đăng ký tại đây (miễn phí) 👉 [Sắp ra mắt]
16+
17+
Bạn có thể truy cập khóa học tại đây 👉 [Sắp ra mắt]
18+
19+
| Phần | Chủ đề | Mô tả |
20+
| ------- | --------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
21+
| 0 | Chào mừng đến với Khóa học | Lời chào mừng, hướng dẫn, công cụ cần thiết và tổng quan về khóa học. |
22+
| 1 | Giới thiệu về Model Context Protocol | Định nghĩa của MCP, các khái niệm chính và vai trò của nó trong việc kết nối mô hình AI với dữ liệu |
23+
| 2 | Xây dựng với MCP: Phát triển thực tế | Học cách triển khai MCP client và server sử dụng SDK và framework có sẵn. |
24+
25+
## Điều kiện tiên quyết
26+
27+
* Hiểu biết cơ bản về AI và các khái niệm LLM
28+
* Quen thuộc với nguyên tắc phát triển phần mềm và khái niệm API
29+
* Có kinh nghiệm với ít nhất một ngôn ngữ lập trình (các ví dụ sẽ tập trung vào Python hoặc TypeScript)
30+
31+
## Hướng dẫn đóng góp
32+
33+
Nếu bạn muốn đóng góp cho khóa học này, hoan nghênh các bạn. Vui lòng mở issue hoặc gửi pull request. Đối với những đóng góp cụ thể, dưới đây là một số hướng dẫn:
34+
35+
### Sửa lỗi chính tả và ngữ pháp nhỏ
36+
37+
Nếu bạn tìm thấy lỗi chính tả hoặc lỗi ngữ pháp nhỏ, vui lòng tự sửa và gửi pull request. Điều này rất hữu ích cho học viên.
38+
39+
### Phần mới
40+
41+
Nếu bạn muốn thêm một phần mới, **vui lòng tạo một issue trong kho lưu trữ, mô tả phần đó và lý do tại sao nên thêm vào**. Chúng tôi sẽ thảo luận và nếu đó là một bổ sung tốt, chúng ta có thể cộng tác để thực hiện.
42+
43+
## Trích dẫn dự án
44+
45+
Để trích dẫn kho lưu trữ này trong các ấn phẩm:
46+
47+
```
48+
@misc{mcp-course,
49+
author = {Your Name},
50+
title = {The Model Context Protocol Course},
51+
year = {2025},
52+
howpublished = {\url{https://github.com/yourusername/mcp-course}},
53+
note = {GitHub repository},
54+
}
55+
```

quiz/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# MCP Course quiz scripts

quiz/data/unit_1.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"question": "Which of the following best describes a Large Language Model (LLM)?",
4+
"answer_a": "A model specializing in language recognition",
5+
"answer_b": "A massive neural network that understands and generates human language",
6+
"answer_c": "A model exclusively used for language data tasks like summarization or classification",
7+
"answer_d": "A rule-based chatbot used for conversations",
8+
"correct_answer": "B"
9+
}
10+
]

quiz/push_questions.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import json
2+
from pathlib import Path
3+
from datasets import Dataset
4+
5+
ORG_NAME = "mcp-course"
6+
7+
8+
def main():
9+
"""Push quiz questions to the Hugging Face Hub"""
10+
11+
for file in Path("data").glob("*.json"):
12+
print(f"Processing {file}")
13+
14+
with open(file, "r") as f:
15+
quiz_data = json.load(f)
16+
17+
repo_id = f"{ORG_NAME}/{file.stem}_quiz"
18+
19+
dataset = Dataset.from_list(quiz_data)
20+
21+
print(f"Pushing {repo_id} to the Hugging Face Hub")
22+
23+
dataset.push_to_hub(
24+
repo_id,
25+
private=True,
26+
commit_message=f"Update quiz questions for {file.stem}",
27+
)
28+
29+
30+
if __name__ == "__main__":
31+
main()

quiz/pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[project]
2+
name = "agents-course"
3+
version = "0.1.0"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
requires-python = ">=3.11"
7+
dependencies = [
8+
"datasets>=3.2.0",
9+
"huggingface-hub>=0.27.1",
10+
"ipykernel>=6.29.5",
11+
"requests>=2.32.3",
12+
]

0 commit comments

Comments
 (0)