loading…
Search for a command to run...
loading…
A professional 1-on-1 English tutoring server that enables AI assistants to provide oral practice, grammar correction, and vocabulary recommendations. It featur
A professional 1-on-1 English tutoring server that enables AI assistants to provide oral practice, grammar correction, and vocabulary recommendations. It features specialized tools for generating conversation topics, tracking progress, and creating immersive role-play scenarios.
Đây là một MCP (Model Context Protocol) Server được thiết kế để dạy tiếng Anh giao tiếp cho người Việt Nam, đặc biệt là trẻ em. Hệ thống được xây dựng dựa trên khung CEFR (Common European Framework of Reference for Languages).
"FAMILY": {
"topic_name": "FAMILY (GIA ĐÌNH)",
# 1. Bộ từ vựng
"vocabulary": [
{
"word": "Mother",
"phonetic": "/ˈmʌðər/",
"meaning": "Mẹ",
"example": "My mother is a teacher.",
"example_vi": "Mẹ tôi là giáo viên."
},
# ... 10+ từ vựng
],
# 2. Câu hỏi dẫn dắt
"guiding_questions": [
{
"question": "How many people are there in your family?",
"question_vi": "Gia đình bạn có bao nhiêu người?"
},
# ... 8-10 câu hỏi
],
# 3. Đoạn văn mẫu
"sample_paragraphs": [
{
"level": "basic",
"text": "My name is Mai. I am 8 years old...",
"text_vi": "Tên tôi là Mai. Tôi 8 tuổi..."
},
# ... 2-3 đoạn văn
],
# 4. Tình huống đóng vai
"role_play_scenarios": [
{
"scenario_name": "Giới thiệu gia đình với bạn mới",
"context": "Học viên đang giới thiệu...",
"ai_role": "Bạn học mới...",
"student_role": "Giới thiệu về các thành viên...",
"goal": "Luyện tập nói về số lượng...",
"opening_line": "Hi! I'm new here...",
"opening_line_vi": "Chào bạn! Mình là học sinh mới..."
},
# ... 3-5 tình huống
]
}
# AI hỏi trình độ học viên
# Sau đó gọi:
list_all_topics(level="A1")
# Học viên chọn chủ đề, AI gọi:
start_conversation(level="A1", topic="FAMILY")
# Khi học viên cần từ vựng:
get_topic_vocabulary(level="A1", topic="FAMILY")
# Khi cần câu hỏi thêm:
get_guiding_questions(level="A1", topic="FAMILY")
# Khi cần tham khảo mẫu:
get_sample_paragraphs(level="A1", topic="FAMILY")
# Khi đóng vai:
get_role_play_scenarios(level="A1", topic="FAMILY")
# 1. LUÔN kiểm tra ngữ pháp trước
result = correct_grammar_pro("There is 4 people in my family")
# 2. Nếu có lỗi (total_errors > 0):
# - Giải thích lỗi
# - Yêu cầu sửa lại
# - KHÔNG đánh giá
# 3. Nếu không có lỗi (total_errors == 0):
evaluate_response(
student_response="There are 4 people in my family",
expected_topic="FAMILY",
level="A1"
)
# 4. Nếu học viên hỏi về phát âm:
pronunciation_tips("mother")
# Ví dụ: Thêm chủ đề FOOD vào cấp độ A1
"A1": {
"FOOD": {
# ... nội dung
}
}
"vocabulary": [
{
"word": "Apple",
"phonetic": "/ˈæpl/",
"meaning": "Táo",
"example": "I eat an apple every day.",
"example_vi": "Tôi ăn một quả táo mỗi ngày."
},
# ... thêm từ vựng
]
"guiding_questions": [
{
"question": "What is your favorite food?",
"question_vi": "Món ăn yêu thích của bạn là gì?"
},
# ... thêm câu hỏi
]
"sample_paragraphs": [
{
"level": "basic",
"text": "I like pizza. Pizza is delicious...",
"text_vi": "Tôi thích pizza. Pizza rất ngon..."
},
{
"level": "intermediate",
"text": "My favorite food is Vietnamese pho...",
"text_vi": "Món ăn yêu thích của tôi là phở Việt Nam..."
},
{
"level": "advanced",
"text": "In my opinion, food is not just about nutrition...",
"text_vi": "Theo tôi, đồ ăn không chỉ là dinh dưỡng..."
}
]
"role_play_scenarios": [
{
"scenario_name": "Gọi món ở nhà hàng",
"context": "Học viên đang ở nhà hàng và muốn gọi món.",
"ai_role": "Phục vụ nhà hàng",
"student_role": "Khách hàng",
"goal": "Luyện tập gọi món, hỏi về đồ ăn",
"opening_line": "Good evening! Are you ready to order?",
"opening_line_vi": "Chào buổi tối! Bạn sẵn sàng gọi món chưa?"
},
# ... thêm tình huống
]
Teacher (AI): Chào bạn! Mình là Mobi. Bạn đang ở trình độ nào? (A1, A2, B1...)
Student: A1
Teacher: [calls list_all_topics("A1")]
Tuyệt! Với A1, chúng ta có:
1. FAMILY (Gia đình) 👨👩👧👦
2. PETS (Thú cưng) 🐶🐱
3. COLORS (Màu sắc) 🎨
Bạn chọn chủ đề nào?
Student: Family
Teacher: [calls start_conversation("A1", "FAMILY")]
Perfect! Hãy trả lời: "How many people are there in your family?"
Student: Can I see vocabulary first?
Teacher: [calls get_topic_vocabulary("A1", "FAMILY")]
Được chứ! Đây là từ vựng:
📚 VOCABULARY:
1. Family /ˈfæməli/ - Gia đình
→ "I love my family."
2. Mother /ˈmʌðər/ - Mẹ
→ "My mother is a teacher."
[... hiển thị tất cả từ]
Bây giờ hãy trả lời câu hỏi nhé!
Student: There is 4 people in my family.
Teacher: [calls correct_grammar_pro("There is 4 people in my family.")]
Mình thấy 1 lỗi:
❌ "There is 4 people"
✅ Sửa: "There are 4 people"
💡 Với số nhiều phải dùng "are"
Bạn thử lại nhé!
Student: There are 4 people in my family.
Teacher: [calls correct_grammar_pro("There are 4 people in my family.")]
[calls evaluate_response(...)]
Excellent! Ngữ pháp đúng 100%! 🎉
⭐ Điểm: 75/100
👍 Điểm mạnh: Câu đúng ngữ pháp, bám chủ đề
Bây giờ hãy kể thêm về các thành viên nhé!
pip install mcp requests
python english_tutor_enhanced.py
Thêm vào file config của Claude Desktop:
{
"mcpServers": {
"english-tutor": {
"command": "python",
"args": ["/path/to/english_tutor_enhanced.py"],
"env": {}
}
}
}
Để thêm chủ đề mới, chỉ cần:
Nếu có câu hỏi hoặc đề xuất, vui lòng liên hệ qua issues hoặc pull requests.
Made with ❤️ for Vietnamese English learners
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcp-english-tutor": {
"command": "npx",
"args": []
}
}
}