
Moodle-MCP
模型上下文协议(MCP)服务器实现,可提供与Moodle LMS交互的功能
1
Github Watches
0
Github Forks
1
Github Stars
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
.env
file from.env.example
- Assume you have
uv
installed, runuv add "mcp[cli]"
to install the MCP CLI tools - 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
- Navigate to your Moodle token management page
https://{your-moodle-url}/user/managetoken.php
- Use the token with
Moodle mobile web service
in theService
column - Add this token to your
.env
file
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Reviews

user_R7jN4XrD
I've been a dedicated user of moodle-mcp for some time now, and it has significantly improved my Moodle experience. The features are robust and user-friendly, allowing for seamless integration into my workflow. Kudos to the author, loyaniu, for developing such a valuable tool for the community. Highly recommend checking it out on GitHub: https://github.com/loyaniu/moodle-mcp.