Skip to main content

MseeP.ai Security Assessment Badge

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

  • Get upcoming events from Moodle

API Reference

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

Setup Instructions

  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

Metadata

Release files for iflow-mcp_loyaniu-moodle-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_loyaniu-moodle-mcp 0.1.0
File Size Uploaded
iflow_mcp_loyaniu_moodle_mcp-0.1.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_loyaniu-moodle-mcp 0.1.0
File Interpreter ABI Platform
iflow_mcp_loyaniu_moodle_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / iflow_mcp_loyaniu_moodle_mcp-0.1.0.tar.gz

Download URL iflow_mcp_loyaniu_moodle_mcp-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ec0da3fd3d81855ddde29c5b147910e3074f9c78eac4f5e44c64f75049171df1
BLAKE2b-256 checksum
How to use checksums
a717bb1f6fcff28224a3736def6cb37edaa7db5643b5200d198cfff73c5809cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Release files / iflow_mcp_loyaniu_moodle_mcp-0.1.0-py3-none-any.whl

Download URL iflow_mcp_loyaniu_moodle_mcp-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4c86c1bbdca3e99636decdc73bef1e716ac4fbf51c4bafb3186fc32394a9080
BLAKE2b-256 checksum
How to use checksums
af029fa2bd56a40ca33c2e79832f16ffde818c2228bd5029c9fa97ef1c042c7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page