FIT@HCMUS Moodle MCP Server
Provides tools for interacting with the FIT@HCMUS Moodle system via the Moodle Mobile Web Service, enabling course and content lookup, file downloads, assignment and deadline tracking, grades, forums, quizzes, notifications, and direct Moodle Web Service calls.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
FIT@HCMUS Moodle MCP Server
MCP (Model Context Protocol) Server dành cho hệ thống quản lý học tập Moodle Khoa Công nghệ Thông tin – Trường ĐH Khoa học Tự nhiên, ĐHQG-HCM (https://courses.fit.hcmus.edu.vn/).
Server giao tiếp qua chuẩn stdio và khai thác trực tiếp Moodle Mobile Web Service (moodle_mobile_app), giúp các AI Agent (Antigravity, Claude Desktop, Cursor, VS Code Copilot...) tra cứu môn học, đề cương, tải slide/đề Lab, theo dõi deadline bài tập, xem bảng điểm và đọc thông báo diễn đàn bằng tiếng Việt (múi giờ GMT+7).
Tính năng nổi bật
Hỗ trợ đầy đủ tài khoản SSO của trường (
@student.hcmus.edu.vnMicrosoft / Google) lẫn tài khoản FIT qua 3 phương thức xác thực (wstoken,MoodleSessioncookie,username/password).19 công cụ MCP chuyên biệt bao phủ toàn bộ nhu cầu học tập: Môn học, Đề cương & Tài liệu, Tải tệp (
pluginfile.php), Bài tập & Trạng thái nộp bài, Lịch Deadline (GMT+7kèm đếm ngược), Bảng điểm chi tiết, Diễn đàn Thông báo, Quiz và Thông báo hệ thống.Chuyển đổi HTML -> Markdown gọn sạch, giữ nguyên liên kết, định dạng và tệp đính kèm, tiết kiệm context token cho LLM.
Bảo mật: Tự động lưu khóa xác thực cục bộ tại
~/.fit-hcmus-mcp/credentials.json(0600) và chặn rò rỉ token ra ngoài domaincourses.fit.hcmus.edu.vn.
Related MCP server: moodle-mcp
1. Cài đặt & Biên dịch
Yêu cầu Node.js >= 20.
git clone https://github.com/pnthuc/fit-hcmus-mcp.git
cd fit-hcmus-mcp
npm install
npm run buildChạy kiểm thử tích hợp:
npm test2. Cách lấy thông tin xác thực (Hỗ trợ cả SSO Microsoft / Google)
Cách 1: Dùng Security Key wstoken (Khuyên dùng – Ổn định nhất)
Đăng nhập vào
https://courses.fit.hcmus.edu.vn/trên trình duyệt (bằng Microsoft, Google hoặc tài khoản FIT).Truy cập trang Khóa bảo mật (Security keys): 👉
https://courses.fit.hcmus.edu.vn/user/managetoken.php(hoặc bấm Avatar góc phải trên -> Tùy chọn / Preferences -> Khóa bảo mật / Security keys).Ở dòng Moodle mobile web service, bấm Tái lập (Reset) -> xác nhận để hiển thị chuỗi khóa 32 ký tự (trên Moodle 4.x khóa chỉ hiển thị một lần ngay sau khi tạo/tái lập), copy chuỗi này điền vào
FIT_MOODLE_TOKENhoặc gọi toolfit_login(token="...")ngay trong khung chat.
Cách 2: Dùng Cookie MoodleSession từ trình duyệt
Mở DevTools (
F12) trên trangcourses.fit.hcmus.edu.vn-> tab Application -> Cookies -> copy giá trị củaMoodleSession.Điền vào
FIT_MOODLE_COOKIEhoặc gọifit_login(cookie="...").
Cách 3: Dùng Tài khoản & Mật khẩu Moodle trực tiếp
Dành cho tài khoản có mật khẩu cục bộ trên Moodle (không qua SSO): điền
FIT_MOODLE_USERNAMEvàFIT_MOODLE_PASSWORD.
3. Cấu hình MCP Client (Antigravity / Claude Desktop / Cursor)
Thêm mục "fit-hcmus-moodle" vào tệp mcp_config.json (ví dụ ~/.gemini/config/mcp_config.json trên Antigravity):
{
"mcpServers": {
"fit-hcmus-moodle": {
"command": "node",
"args": [
"/path/to/fit-hcmus-mcp/dist/index.js"
],
"env": {
"FIT_MOODLE_URL": "https://courses.fit.hcmus.edu.vn",
"FIT_MOODLE_TOKEN": "YOUR_32_CHAR_MOODLE_SECURITY_KEY"
}
}
}
}Mẹo: Bạn có thể bỏ trống
FIT_MOODLE_TOKENtrongmcp_config.jsonrồi gọi toolfit_loginmột lần trong lúc chat — token sẽ được lưu tự động vào~/.fit-hcmus-mcp/credentials.jsoncho mọi phiên làm việc sau.
4. Danh sách 19 Công cụ (MCP Tools)
Nhóm | Tên Tool | Mô tả chức năng |
Xác thực & Hệ thống |
| Kiểm tra cấu hình công khai, trạng thái bảo trì và các cổng SSO của |
| Xem thông tin tài khoản hiện tại (Họ tên, MSSV/username, User ID, quyền API). | |
| Đăng nhập bằng | |
| Đăng xuất và xóa thông tin xác thực đã lưu. | |
Môn học & Tài liệu |
| Liệt kê các môn đã ghi danh ( |
| Tìm kiếm môn học trên toàn hệ thống theo tên môn, mã lớp hoặc giảng viên. | |
| Xem toàn bộ tuần học, đề cương, slide, link, bài tập, quiz của một môn ( | |
| Tải slide PDF, đề Lab/Đồ án, tệp đính kèm về máy tính (tự động gắn | |
Bài tập & Deadline |
| Liệt kê bài tập/đồ án trên một hoặc tất cả các môn, lọc |
| Kiểm tra đã nộp bài chưa, danh sách tệp đã nộp, điểm số và nhận xét của giảng viên/TA. | |
| Tổng hợp lịch sự kiện & deadline sắp tới từ Calendar / Timeline. | |
Bảng điểm |
| Xem tổng hợp điểm tổng kết của tất cả các môn học. |
| Xem điểm chi tiết từng cột (Lab, Quiz, Giữa kỳ, Đồ án, Cuối kỳ) trong một môn. | |
Diễn đàn & Thông báo |
| Liệt kê các kênh Thông báo và Diễn đàn hỏi đáp của các môn học. |
| Xem danh sách chủ đề / thông báo mới nhất trong một diễn đàn. | |
| Đọc chi tiết toàn bộ bài viết và phản hồi trong một chủ đề thông báo/thảo luận. | |
Quiz, Thông báo & Mở rộng |
| Xem danh sách bài trắc nghiệm/thi trực tuyến, giờ mở/đóng đề và lịch sử làm bài. |
| Xem thông báo hệ thống mới nhất (điểm mới, bài tập mới, thông báo môn học). | |
| Gọi trực tiếp bất kỳ hàm Moodle REST Web Service ( |
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-powered LMS course builder: 89 tools, 17 skills, SCORM/xAPI export, agentic UI
Email inboxes, webhooks, mock APIs, 2FA codes, approvals and 170 tools for AI agents.
Absorb LMS MCP server for ChatGPT, Claude and any AI agent: list users, list course enrollments, list overdue learners, approve enrollment request, enroll users in a course, message learners, create user and deactivate user in your own Absorb LMS account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Absorb LMS yourself; Cotlet does not store your password and you need no Absorb LMS API key. About the official Absorb LMS API: Absorb LMS has an Integration API, a REST API with JSON for learners, courses, departments and grades, but it needs a private key tied to your portal that your Absorb account team provides, and your own code (checked 20 Oct 2026). Absorb's Aura MCP for Claude and ChatGPT is planned for 27 Oct 2026 and is read and answer only. Setup and FAQ: https://cotlet.dev/integrations/absorb-lms-api-mcp-server
iSpring Learn (iSpring LMS) MCP server for ChatGPT, Claude and any AI agent: enroll users in courses, list enrollments, get learner progress report, cancel enrollment, reset enrollment progress, add users by email, deactivate users and list courses in your own iSpring Learn (iSpring LMS) account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to iSpring Learn (iSpring LMS) yourself; Cotlet does not store your password and you need no iSpring Learn (iSpring LMS) API key. About the official iSpring Learn (iSpring LMS) API: iSpring Learn has a REST API, but only with the Business subscription, and no official MCP server (checked 20 Oct 2026). The API covers users, departments, courses, enrollments and results, so an agent needs custom code and a token; the Zapier app covers users, departments and enrollments but has no progress or report actions. Setup and FAQ: https://cotlet.dev/integrations/ispring-api-mcp-server
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Moodle LMS via the Moodle REST API, supporting management of courses, users, enrollments, grades, and content.1GPL 3.0
- AlicenseAqualityCmaintenanceEnables AI agents to access a student's EPFL Moodle data—deadlines, course files, assignments, forums, and grades—through read-only tools.12MIT
- AlicenseAqualityBmaintenanceEnables AI agents to browse courses, read course materials and files, check assignments and grades, and—with user confirmation—post to forums, submit assignments, answer choices, send messages, and add calendar reminders in the virtual campus.1113 npm1ISC
- AlicenseNot gradedqualityBmaintenanceEnables an AI agent to access a Moodle Campus Virtual account with the user's own credentials, reading course content, files, forums, notices, calendar, grades and quiz attempts for every enrolled course. Teachers, managers and course creators also get access to other participants' data and to planned, verified write operations such as forums, grading, attendance, quizzes, groups, content and H5P activities.4Apache 2.0