Moodle MCP Server
Moodle MCP 서버
LLM이 Moodle 플랫폼과 상호 작용하여 과정, 학생, 과제 및 퀴즈를 관리할 수 있도록 하는 MCP(모델 컨텍스트 프로토콜) 서버입니다.
특징
학생 관리 도구
list_students- 과정에 등록된 학생 목록을 검색합니다.각 학생의 ID, 이름, 이메일, 마지막 접속 시간을 표시합니다.
과제 관리 도구
get_assignments- 과정에서 사용 가능한 모든 과제를 검색합니다.ID, 이름, 설명, 마감일, 최대 학점 등의 정보가 포함됩니다.
get_student_submissions- 특정 과제에 대한 학생의 제출물을 검토합니다.과제 ID와 선택적으로 학생 ID가 필요합니다.
provide_assignment_feedback- 학생의 제출물에 대한 성적과 의견을 제공합니다.학생 ID, 과제 ID, 성적 및 피드백 의견이 필요합니다.
퀴즈 관리 도구
get_quizzes- 코스에서 사용 가능한 모든 퀴즈를 검색합니다.ID, 이름, 설명, 개강/폐강일, 최대 학점 등의 정보가 포함됩니다.
get_quiz_attempts- 특정 퀴즈에 대한 학생의 시도를 조사합니다.퀴즈 ID와 선택적으로 학생 ID가 필요합니다.
provide_quiz_feedback- 퀴즈 시도에 대한 의견을 제공합니다.시도 ID와 피드백 코멘트가 필요합니다.
Related MCP server: Moodle MCP
요구 사항
Node.js(v14 이상)
적절한 권한이 있는 Moodle API 토큰
Moodle 과정 ID
설치
이 저장소를 복제하세요:
지엑스피1
종속성 설치:
npm install다음 구성으로
.env파일을 만듭니다.
MOODLE_API_URL=https://your-moodle.com/webservice/rest/server.php
MOODLE_API_TOKEN=your_api_token
MOODLE_COURSE_ID=1 # Replace with your course ID서버를 빌드하세요:
npm run buildClaude와 함께 사용
Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.
MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"moodle-mcp-server": {
"command": "/path/to/node",
"args": [
"/path/to/moodle-mcp-server/build/index.js"
],
"env": {
"MOODLE_API_URL": "https://your-moodle.com/webservice/rest/server.php",
"MOODLE_API_TOKEN": "your_moodle_api_token",
"MOODLE_COURSE_ID": "your_course_id"
},
"disabled": false,
"autoApprove": []
}
}
}Windows 사용자의 경우 경로에 백슬래시를 사용합니다.
{
"mcpServers": {
"moodle-mcp-server": {
"command": "C:\\path\\to\\node.exe",
"args": [
"C:\\path\\to\\moodle-mcp-server\\build\\index.js"
],
"env": {
"MOODLE_API_URL": "https://your-moodle.com/webservice/rest/server.php",
"MOODLE_API_TOKEN": "your_moodle_api_token",
"MOODLE_COURSE_ID": "your_course_id"
},
"disabled": false,
"autoApprove": []
}
}
}구성이 완료되면 Claude는 Moodle 과정과 상호 작용하여 다음을 수행할 수 있습니다.
학생 및 제출물 목록 보기
과제에 대한 의견과 성적을 제공합니다
퀴즈 시도를 검토하고 피드백을 제공하세요
개발
자동 재빌드를 사용한 개발의 경우:
npm run watch디버깅
MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. MCP Inspector 사용을 권장합니다.
npm run inspector검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.
Moodle API 토큰 얻기
관리자로 Moodle 사이트에 로그인하세요
사이트 관리 > 플러그인 > 웹 서비스 > 토큰 관리로 이동하세요.
코스를 관리하는 데 필요한 권한이 있는 새 토큰을 만듭니다.
생성된 토큰을 복사하여
.env파일에 추가하세요.
보안
.env파일이나 Moodle API 토큰을 절대 공유하지 마세요.MCP 서버가 관리해야 하는 코스에만 액세스할 수 있는지 확인하세요.
최소한 필요한 권한이 있는 토큰을 사용하세요
특허
Available Tools
7 toolsget_assignmentsB
Obtiene la lista de tareas asignadas en el curso configurado
Inputs: no named parameters.
get_quiz_gradeB
Obtiene la calificación de un estudiante en un quiz específico
Inputs: studentId (required), quizId (required).
get_quizzesB
Obtiene la lista de quizzes en el curso configurado
Inputs: no named parameters.
get_studentsB
Obtiene la lista de estudiantes inscritos en el curso configurado
Inputs: no named parameters.
get_submission_contentC
Obtiene el contenido detallado de una entrega específica, incluyendo texto y archivos adjuntos
Inputs: studentId (required), assignmentId (required).
get_submissionsC
Obtiene las entregas de tareas en el curso configurado
Inputs: studentId, assignmentId.
provide_feedbackC
Proporciona feedback sobre una tarea entregada por un estudiante
Inputs: studentId (required), assignmentId (required), feedback (required), grade.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The tools are mostly distinct with clear purposes: get_assignments, get_quizzes, get_students, get_submissions, and get_submission_content target different resources, while get_quiz_grade and provide_feedback focus on specific actions. However, get_submissions and get_submission_content could be slightly confusing as they both relate to submissions, though their descriptions clarify the difference between listing submissions and getting detailed content.
All tool names follow a consistent verb_noun pattern using snake_case, starting with 'get_' for retrieval operations and 'provide_' for the feedback action. This uniformity makes the tool set predictable and easy to understand, with no deviations in naming conventions.
With 7 tools, the count is reasonable for a Moodle server focused on course management. It covers key areas like assignments, quizzes, students, and submissions, though it might be slightly thin for broader educational workflows, such as missing tools for creating or updating resources.
The tool set provides good read-only coverage for retrieving course data (assignments, quizzes, students, submissions) and includes a feedback action. However, there are notable gaps in CRUD operations: no tools for creating, updating, or deleting resources (e.g., assignments or quizzes), which limits agent functionality for full lifecycle management in the Moodle domain.
Maintenance
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables LLMs to interact with the Moodle platform to manage courses, students, assignments, and quizzes.7MIT
- AlicenseNot gradedqualityDmaintenanceA Moodle MCP server so students can collaborate with their courses through the LLM tools.1MIT
- AlicenseAqualityDmaintenanceMCP server that connects AI assistants to Instructure Canvas LMS, enabling teachers and administrators to manage courses, assignments, grades, and more through natural language.8030 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA powerful Model Context Protocol (MCP) server that seamlessly integrates AI assistants with Moodle Learning Management System. Enable your AI assistant to access courses, retrieve educational content, download resources, and search through your learning materials.1MIT