Moodle MCP Server
Connects Moodle LMS with AI assistants through the Model Context Protocol, enabling users to interact with Moodle data via a conversational chatbot interface.
README
Moodle MCP Server
A Model Context Protocol (MCP)-compliant middleware server that connects Moodle LMS with Large Language Models (LLMs).
This project provides an AI-powered interface for interacting with Moodle through a web-based chatbot. It acts as a middleware layer between Moodle, an LLM service, and the user interface.
Project Overview
The Moodle MCP Server was developed as an application project to explore the integration of artificial intelligence with Moodle LMS.
The system uses the Model Context Protocol (MCP) to provide a structured connection between Moodle data and a Large Language Model. It allows users to interact with Moodle-related information through a conversational interface.
The project includes:
- A Node.js and Express server
- Moodle API integration
- Model Context Protocol (MCP) integration
- Integration with OpenAI-compatible LLM endpoints
- A web-based chatbot interface
- Evaluation scripts
- Docker and Docker Compose support
- Project documentation, survey results, reports, and presentations
Key Features
- Connects Moodle LMS with an AI assistant
- Uses the Model Context Protocol (MCP)
- Supports OpenAI-compatible LLM endpoints
- Provides a browser-based chatbot interface
- Uses Moodle Web Service authentication
- Supports environment-based configuration
- Includes evaluation scripts
- Supports Docker-based deployment
- Stores configuration securely using environment variables
Technology Stack
- Node.js
- JavaScript
- Express.js
- Model Context Protocol (MCP)
- Moodle LMS Web Services
- OpenAI-compatible LLM APIs
- HTML
- Docker
- Docker Compose
Project Structure
.
├── docs/
│ ├── Project Report
│ ├── Individual Contributions
│ ├── Moodle Chatbot Survey Summary
│ ├── Questions and Research Material
│ └── Student Survey Data
│
├── Presentations/
│ └── Project presentation files
│
├── scripts/
│ └── run-eval.js
│
├── src/
│ ├── agent/
│ │ └── agent.js
│ │
│ ├── moodle/
│ │ └── client.js
│ │
│ ├── public/
│ │ └── index.html
│ │
│ ├── tools/
│ │ └── index.js
│ │
│ └── server.js
│
├── .dockerignore
├── .env.example
├── .gitignore
├── docker-compose.yml
├── Dockerfile
├── package.json
└── package-lock.json
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.