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
- [x] 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
Recommend MCP Servers 💡
FalkorDB-MCPServer
A Model Context Protocol (MCP) server for FalkorDB, allowing AI models to query and interact with graph databases.
TrueNasCoreMCP
Control TrueNAS Core system using natural language through MCP clients like Claude Desktop
ragieai/ragie-mcp-server
A Model Context Protocol (MCP) server that provides access to Ragie's knowledge base retrieval capabilities.
nazar256/combine-mcp
An MCP aggregator that combines multiple MCP servers into a single stdio interface for clients like Cursor
MSAdministrator/enrichment-mcp
An MCP server that enriches security observables using various security services like VirusTotal, Shodan, and Hybrid Analysis
Eacus/misp-mcp
An MCP server enabling interaction with MISP (Malware Information Sharing Platform) for LLM context integration
