Moodle-MCP

A Model Context Protocol (MCP) server implementation that provides capabilities to interact with Moodle LMS.

Local serverstdio

What is the Moodle-MCP Server?

Moodle-MCP source profile. From the maintainer documentation: “A Model Context Protocol (MCP) server implementation that provides capabilities to interact with Moodle LMS.”

Installation

The documented pypi package is moodle-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares MOODLE_URL, MOODLE_TOKEN. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Moodle-MCP Server

{
  "mcpServers": {
    "moodle-mcp": {
      "command": "uvx",
      "args": [
        "moodle-mcp"
      ],
      "env": {
        "MOODLE_URL": "https://{your-moodle-url}/webservice/rest/server.php",
        "MOODLE_TOKEN": "YOUR_MOODLE_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MOODLE_URLDeclared in the maintainer’s client configuration.Check documentation
MOODLE_TOKENDeclared in the maintainer’s client configuration.Check documentation