DAMI Robot MCP Server
Provides tools to query student data from Moodle, including summaries, attendance, homework, status, and risk analysis via the local_damirobot_api plugin.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DAMI Robot MCP Servercheck attendance for student 42"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DAMI Robot MCP Server
MCP stdio server cho Xiaozhi/imcp.pro để kết nối robot với Moodle API local_damirobot_api.
Luồng:
Xiaozhi / imcp.pro
→ damirobot-mcp-server
→ Moodle API /local/damirobot_api/api/tool.php
→ reply_text ngắn
→ Xiaozhi đọc bằng giọng nóiYêu cầu
Node.js 18+
Moodle đã cài
local_damirobot_apibản v1.0.8 trở lênAPI token của
local_damirobot_api
Related MCP server: Moodle MCP Server
Biến môi trường
Không đưa token vào GitHub. Khi chạy local, copy .env.example thành .env. Khi chạy trên imcp.pro, nhập trong Environment Variables / Secrets.
MOODLE_BASE_URL=https://elearning.anhngumsmy.com
MOODLE_API_TOKEN=PASTE_MOODLE_API_TOKEN_HERE
MOODLE_TOOL_ENDPOINT=/local/damirobot_api/api/tool.php
DEFAULT_COURSEID=4
DEFAULT_USERID=
DEFAULT_GROUPID=
VOICE=1
REQUEST_TIMEOUT_MS=15000
LOG_LEVEL=infoTest local trên Windows
Mở CMD trong thư mục này:
npm install
npm startServer sẽ chạy qua STDIO, nên bình thường sẽ không hiện giao diện chat. Để test dễ hơn, dùng mock tester trước. Server này chủ yếu để imcp/Xiaozhi gọi.
Kiểm tra cú pháp:
npm run checkCấu hình trên imcp.pro
Cách A: From Git Repository
Upload toàn bộ thư mục này lên GitHub, ví dụ:
https://github.com/yourname/damirobot-mcp-serverTrong imcp.pro → Add MCP Server → From Git Repository:
Git Repository URL: https://github.com/yourname/damirobot-mcp-server
Category: Other hoặc Education nếu có
Add to public: không tickSau khi tạo, nếu có mục Environment Variables, thêm:
MOODLE_BASE_URL=https://elearning.anhngumsmy.com
MOODLE_API_TOKEN=TOKEN_THẬT_CỦA_BẠN
DEFAULT_COURSEID=4
VOICE=1Cách B: Manual STDIO + npx
Nếu imcp.pro cho cấu hình thủ công:
Mode: STDIO
Command: npx
Arguments:
-y
github:yourname/damirobot-mcp-serverEnvironment Variables như trên.
Tool có sẵn
test_connectionfind_studentget_student_summaryget_student_attendanceget_missing_homeworkget_student_suspend_statusget_student_dami_statusget_student_latest_scoresget_student_goal_statusget_course_risk_students
Ghi chú an toàn
Server này chỉ gọi API read-only của Moodle.
Không chứa token trong code.
Không sửa/xóa/đình chỉ/check-in/feed DAMI.
Token phải đặt trong Environment Variables.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/trantuandat0305/damirobot-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server