PM

peancor/moodle-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

45 stars 14 forks 품질 71 트렌드 0MIT

peancor/moodle-mcp-server는 MCP 서버 후보가 https://github.com/peancor/moodle-mcp-server.에서 수입되었습니다

개요

peancor/moodle-mcp-server는 MCP 서버 후보가 https://github.com/peancor/moodle-mcp-server.에서 수입되었습니다

개요(AI 번역)

MCP (Model Context Protocol) 서버는 Moodle 플랫폼과 상호 작용하여 코스, 학생, 할당 및 퀴즈를 관리할 수 있습니다.

특징

과정 관리 도구

  • get_courses - Moodle 코스에 대한 정보를 검색
  • 지원 pagination (page, limit]) 안전하게 사용할 수 있는 모든 과정을 잡아.
  • 선택적으로 courseId]을 제공함으로써 특정 과정을 습득할 수 있습니다.

학생 관리 도구

  • list_students - 수업에 등록 된 학생들의 목록을 검색
  • 각 학생에 대한 ID, 이름, 이메일 및 마지막 액세스 시간 표시

할당 관리 도구

  • get_assignments - 코스에서 모든 가능한 할당을 검색
  • ID, name, description, due date 및 최대 등급과 같은 정보를 포함합니다.
  • get_student_submissions - 특정 할당에 대한 학생의 제출을 시험
  • 할당 ID 및 선택적 학생 ID가 필요합니다.
  • provide_assignment_feedback - 학생의 제출에 대한 등급 및 의견 제공
  • 학생 ID, 할당 ID, 등급 및 피드백 의견 필요

Quiz 관리 도구

  • get_quizzes - 코스에서 모든 가능한 퀴즈를 검색

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Moodle MCP Server

An MCP (Model Context Protocol) server that enables LLMs to interact with the Moodle platform to manage courses, students, assignments, and quizzes.

Features

Course Management Tools

  • get_courses - Retrieves information about courses in Moodle
    • Supports pagination (page, limit) to safely fetch all available courses.
    • Optionally allows fetching a specific course by providing a courseId.

Student Management Tools

  • list_students - Retrieves the list of students enrolled in the course
    • Displays ID, name, email, and last access time for each student

Assignment Management Tools

  • get_assignments - Retrieves all available assignments in the course
    • Includes information such as ID, name, description, due date, and maximum grade
  • get_student_submissions - Examines a student’s submissions for a specific assignment
    • Requires the assignment ID and optionally the student ID
  • provide_assignment_feedback - Provides grades and comments for a student’s submission
    • Requires student ID, assignment ID, grade, and feedback comment

Quiz Management Tools

  • get_quizzes - Retrieves all available quizzes in the course
    • Includes information such as ID, name, description, opening/closing dates, and maximum grade
  • get_quiz_attempts - Examines a student’s attempts on a specific quiz
    • Requires the quiz ID and optionally the student ID
  • provide_quiz_feedback - Provides comments for a quiz attempt
    • Requires the attempt ID and feedback comment

Requirements

  • Node.js (v14 or higher)
  • Moodle API token with appropriate permissions
  • Moodle course ID

Installation

  1. Clone this repository:
git clone https://github.com/your-username/moodle-mcp-server.git
cd moodle-mcp-server
  1. Install dependencies:
npm install
  1. Create a .env file with the following configuration:
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
  1. Build the server:
npm run build

Usage with Claude

To use with Claude Desktop, add the server configuration:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On 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": []
    }
  }
}

For Windows users, the paths would use backslashes:

{
  "mcpServers": {
    "moodle-mcp-server": {
      "command": "C:\\path\\to\\node.exe",
      "args": [
        "C:\\path\\to\\moodle-mcp-server\\build\\index.js"
      ],
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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": [] } } }