Read-only Moodle server: assignments, deadlines, grades, courses, forums, notifications.
moodle MCP Server
Published by av-leschinskiyMoodle MCP server for teachers: review assignment submissions, grade and give feedback; SSO login
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.6.0
- SOURCE CHECKED
- Nov 30, 2026
Quick answers
How do I add moodle MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'MOODLE_URL=<your-moodle-url>' --env 'MOODLE_TOKEN=<your-moodle-token>' --transport stdio moodle -- npx -y @av-leschinskiy/moodle-mcpReplace the <your-…> placeholder with your own MOODLE_URL and MOODLE_TOKEN.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"moodle": {
"command": "npx",
"args": [
"-y",
"@av-leschinskiy/moodle-mcp"
],
"env": {
"MOODLE_URL": "<your-moodle-url>",
"MOODLE_TOKEN": "<your-moodle-token>"
}
}
}
}Replace the <your-…> placeholder with your own MOODLE_URL and MOODLE_TOKEN.
CodexCommand
Run this in your terminal:
codex mcp add moodle --env 'MOODLE_URL=<your-moodle-url>' --env 'MOODLE_TOKEN=<your-moodle-token>' -- npx -y @av-leschinskiy/moodle-mcpReplace the <your-…> placeholder with your own MOODLE_URL and MOODLE_TOKEN.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"moodle": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@av-leschinskiy/moodle-mcp"
],
"env": {
"MOODLE_URL": "<your-moodle-url>",
"MOODLE_TOKEN": "<your-moodle-token>"
}
}
}
}Replace the <your-…> placeholder with your own MOODLE_URL and MOODLE_TOKEN.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"moodle": {
"command": "npx",
"args": [
"-y",
"@av-leschinskiy/moodle-mcp"
],
"env": {
"MOODLE_URL": "<your-moodle-url>",
"MOODLE_TOKEN": "<your-moodle-token>"
}
}
}
}Replace the <your-…> placeholder with your own MOODLE_URL and MOODLE_TOKEN.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use moodle MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does moodle MCP Server need an API key?
To run it on your computer, set MOODLE_URL and MOODLE_TOKEN first, with values from the publisher.
Is moodle MCP Server official?
It's published by av-leschinskiy. The Official MCP Registry accepts names under io.github.av-leschinskiy only from the GitHub account or organisation av-leschinskiy. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @av-leschinskiy/moodle-mcp@0.6.0