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.1.tar.gz (2.2 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.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mseep_moodle_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 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.1.tar.gz
Algorithm Hash digest
SHA256 2190638715c47d8a783442460a0d8e448acd8f7f515dce85e96c3dc438cd6ce7
MD5 2b0e8e86b865fb612d7e97c0df0229a9
BLAKE2b-256 f18280ce5730c841066953b876b1521c4837baaa54d9e46980b51327dac02e64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mseep_moodle_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea0a6a78cac2f37abb15ff40716bddf9ac925da8864ab403a741a19d4db276b8
MD5 fd9e4bd9cde3f5d5beb1e88d34087df0
BLAKE2b-256 c7b100236d0fe6a1bf26eb98d1d6803aae257b617a9abc7c3a09c3146307f14a

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