A Moodle integration using FastMCP that provides a set of tools to interact with Moodle's Web Services API. This project allows programs like Claude Desktop or Cursor to interact with Moodle.
- Fetch assignments
- Get site information
- Access enrolled courses
- View course contents
- Get forum discussions
- Check assignment submissions
- View calendar events
- Access course grades
- Handle messages and notifications
- Look up course information
- Python 3.7+
- Moodle instance with Web Services enabled
- Moodle API token
- Clone the repository:
git clone https://github.com/gecitemre/moodle-mcp.git
cd moodle-mcp- Install dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root with your Moodle configuration:
MOODLE_URL=https://odtuclass.metu.edu.tr
MOODLE_TOKEN=your_moodle_tokenMOODLE_URL: The base URL of your Moodle instanceMOODLE_TOKEN: Your Moodle Web Services API token
MIT