Skip to main content

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

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_moodle_mcp-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_moodle_mcp-0.1.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file mseep_moodle_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: mseep_moodle_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_moodle_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8f0d623c08e079999edd529a96af9ab398f0242ffa843fc821754e2453c00cd1
MD5 f36a6e6a6325cb36346269171d81fe76
BLAKE2b-256 a58209d61cd7900ded2d0f59ecb5a6898285a7fac3a5610c630b795efd4f4eeb

See more details on using hashes here.

File details

Details for the file mseep_moodle_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_moodle_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b66bb28e7c3d04b2a1d56dd859a5915b9379afb814de1f91538f6717bdcf437b
MD5 e1156f7fe9a0418ed2f20b6177971b16
BLAKE2b-256 d0ac3ecc7e3dc50908c81a20da946c9e0076898833b3959b5e120c03bc806c49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page