MCP ExplorerExplorer

Moodle Mcp

@loyaniuon a year ago
4 MIT
FreeCommunity
AI Systems
A Model Context Protocol (MCP) server implementation that provides capabilities to interact with Moodle LMS

Overview

What is Moodle Mcp

Moodle-MCP is a Model Context Protocol (MCP) server implementation that enables interaction with the Moodle Learning Management System (LMS).

Use cases

Use cases for moodle-mcp include automating event notifications from Moodle, integrating Moodle with other applications, and enhancing user experience by providing seamless access to Moodle functionalities.

How to use

To use moodle-mcp, you can set it up via the command line interface (CLI) by creating a .env file, installing MCP CLI tools, and running the installation command. Alternatively, you can configure it using uvx by editing the Claude app’s configuration file.

Key features

Key features of moodle-mcp include the ability to retrieve upcoming events from Moodle, enhancing the integration capabilities with the Moodle LMS.

Where to use

Moodle-mcp can be used in educational institutions and organizations that utilize Moodle as their learning management system, facilitating better integration and interaction.

Content

Moodle-MCP

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

Warning: This project is still in development, only some functions are available.

Features

  • [x] Get upcoming events from Moodle

API Reference

For available Moodle API functions, please refer to the official documentation.

Setup Instructions

Method 1: Using mcp CLI (recommended)

  1. Create your own .env file from .env.example
  2. Assume you have uv installed, run uv add "mcp[cli]" to install the MCP CLI tools
  3. Run mcp install main.py -f .env to add the moodle-mcp server to Claude app

Method 2: Using uvx

Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following

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

Authentication

Getting your Moodle token

  1. Navigate to your Moodle token management page https://{your-moodle-url}/user/managetoken.php
  2. Use the token with Moodle mobile web service in the Service column
  3. Add this token to your .env file

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers