Atlas / MCP servers / peancor / Moodle

MoodleSAFE

mcp/peancor/moodle
Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
8 8r · 0w · 0d
Transport
stdio
License
MIT
Stars
43
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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
MOOD
Read from source at commit 911782a2cb14OBSERVED · 2026-10-08
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add moodle-mcp-server --env MOODLE_API_TOKEN=${MOODLE_API_TOKEN} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "moodle-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MOODLE_API_TOKEN": "${MOODLE_API_TOKEN}"
      }
    }
  }
}
03

Exposed tools (8)

8 read · 0 write · 0 destructive.

ToolRiskDescription
get_assignmentsreadObtiene la lista de tareas asignadas en el curso configurado
get_coursesreadObtiene información de cursos en Moodle. Soporta paginación o búsqueda por ID.
get_quiz_gradereadObtiene la calificación de un estudiante en un quiz específico
get_quizzesreadObtiene la lista de quizzes en el curso configurado
get_studentsreadObtiene la lista de estudiantes inscritos en el curso configurado
get_submission_contentreadObtiene el contenido detallado de una entrega específica, incluyendo texto y archivos adjuntos
get_submissionsreadObtiene las entregas de tareas en el curso configurado
provide_feedbackreadProporciona feedback sobre una tarea entregada por un estudiante
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (4 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
axios, @types/node, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 911782a2cb14full audit observations/trust-audit/mcp-server/peancor__moodle.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08911782a2cb14SAFEB89first audit
06

Questions

What tools does Moodle expose?

8 in total: 8 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Moodle safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Moodle need?

It reads MOODLE_API_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Moodle run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as moodle-mcp-server at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (911782a2cb14), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement