Feedback

Moodle MCP Server — by peancor

@peancor Claim

Basic information

Runtime
node
Version
0.1.6
Category
License
MIT
Transports
stdio
Author
peancor
Submitted by
Community
Quality
25
Stars
39

About Moodle MCP Server

Query Moodle LMS data through natural language. Attach your agent to your LMS data.

Moodle MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by peancor. Supported transport: stdio. Runtime: node. License: MIT. The repository has 39 GitHub stars. Source code is hosted on github.com.

Moodle MCP Server — by peancor config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Moodle MCP Server — by peancor tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Moodle MCP Server?

The Moodle MCP Server is an MCP (Model Context Protocol) server that enables LLMs (such as Claude) to interact with the Moodle learning platform. It provides tools for managing courses, students, assignments, and quizzes. It is intended for administrators or educators who want to use AI assistants to perform Moodle tasks.

How to use Moodle MCP Server?

Install by cloning the repository, running npm install, creating a .env file with MOODLE_API_URL, MOODLE_API_TOKEN, and MOODLE_COURSE_ID, then building with npm run build. Configure Claude Desktop by adding the server configuration (with paths to Node.js and the built index.js) to the claude_desktop_config.json file. Once configured, Claude can invoke tools such as get_courses, get_assignments, list_students, get_student_submissions, provide_assignment_feedback, get_quizzes, get_quiz_attempts, and provide_quiz_feedback.

Key features of Moodle MCP Server

  • Course management with pagination and optional filtering by course ID
  • Student management: list enrolled students with ID, name, email, last access
  • Assignment management: view assignments, submissions, and provide graded feedback
  • Quiz management: list quizzes, view student attempts, and offer comments
  • All tools operate via the Moodle Web Services REST API
  • Configurable for any Moodle site using an API token

Use cases of Moodle MCP Server

  • An AI assistant can retrieve a course’s student list and their recent activity.
  • Query all upcoming assignments and their due dates for a given course.
  • Grade a student’s assignment submission by providing a score and written feedback.
  • Review a student’s quiz attempts and add comments to guide improvement.

Frequently asked questions

1 What are the requirements to run this server?

Node.js v14 or higher and a Moodle API token with appropriate permissions for the target course.

2 How do I obtain a Moodle API token?

Log in as administrator, go to Site Administration > Plugins > Web Services > Manage tokens, create a token with necessary permissions, and copy it into your .env file.

3 How do I configure the server with Claude Desktop?

Add a JSON entry under mcpServers in the Claude Desktop config file (located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%/Claude/claude_desktop_config.json on Windows) specifying the command and arguments for Node.js and the built server, along with the required environment variables.

4 How does the server communicate with the LLM?

The server communicates over standard I/O (stdio) using the Model Context Protocol, which is the default transport for MCP servers.

5 How can I keep the Moodle API token secure?

Never share your .env file or token, ensure the server only accesses the courses it needs, and use a token with the minimum necessary permissions.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬