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)
- Create your own
.envfile from.env.example - Assume you have
uvinstalled, runuv add "mcp[cli]"to install the MCP CLI tools - Run
mcp install main.py -f .envto 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
- Navigate to your Moodle token management page
https://{your-moodle-url}/user/managetoken.php - Use the token with
Moodle mobile web servicein theServicecolumn - Add this token to your
.envfile
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2190638715c47d8a783442460a0d8e448acd8f7f515dce85e96c3dc438cd6ce7
|
|
| MD5 |
2b0e8e86b865fb612d7e97c0df0229a9
|
|
| BLAKE2b-256 |
f18280ce5730c841066953b876b1521c4837baaa54d9e46980b51327dac02e64
|
File details
Details for the file mseep_moodle_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mseep_moodle_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea0a6a78cac2f37abb15ff40716bddf9ac925da8864ab403a741a19d4db276b8
|
|
| MD5 |
fd9e4bd9cde3f5d5beb1e88d34087df0
|
|
| BLAKE2b-256 |
c7b100236d0fe6a1bf26eb98d1d6803aae257b617a9abc7c3a09c3146307f14a
|