原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Moodle MCP

作者:fabioov版本 0.1.1i★ –i在你的电脑上运行
注册名称io.github.fabioov/moodle-mcp

安装

概览

作者提供的说明(英文原文)

Read-only Moodle server: assignments, deadlines, grades, courses, forums, notifications.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 游戏、体育、美食与学习
  • 你需要填写:MOODLE_URL, MOODLE_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: MCP_TRANSPORT, MOODLE_URL, MOODLE_TOKEN

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "moodle": {
      "command": "npx",
      "args": [
        "-y",
        "@fabioov/moodle-mcp"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "MOODLE_URL": "your-value",
        "MOODLE_TOKEN": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add moodle --env MCP_TRANSPORT=your-value --env MOODLE_URL=your-value --env MOODLE_TOKEN=your-value -- npx -y @fabioov/moodle-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "moodle": {
      "command": "npx",
      "args": [
        "-y",
        "@fabioov/moodle-mcp"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "MOODLE_URL": "your-value",
        "MOODLE_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "moodle": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@fabioov/moodle-mcp"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "MOODLE_URL": "your-value",
        "MOODLE_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • MCP_TRANSPORT env
    Run over stdio for local clients
  • MOODLE_URL 必填 env
    Root URL of your Moodle site, e.g. https://moodle.example.edu
  • MOODLE_TOKEN 机密 必填 env
    Your Moodle web service token (Preferences > Security keys)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 fabioov 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“游戏、体育、美食与学习”中的其他服务器比较i

  • 星标数多于此分类中其他 1320 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1320 个服务器的 88% 更新
  • 基础检查结果等于或优于此分类中其他 1320 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Moodle MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:MOODLE_URL, MOODLE_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.1)于4天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Wieldr game radar, SFX Brew, ReversePort

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Wieldr game radar

Hourly radar of Roblox, Steam, Fortnite, iOS and itch.io games: rising games, niches and gaps.

作者:wieldr.app起步阶段今天更新

在云端运行✓ wieldr.app

SFX Brew

Free game sound effects for AI agents: 45 Eastern and general SFX rendered locally to WAV or JS.

作者:2365836149-sketch非常新今天更新

在你的电脑上运行✓ sfxbrew.com

ReversePort

Reverse engineer and port apps and games: Godot, Unity IL2CPP, .NET, binaries, with parity checks.

作者:laaielichter起步阶段↓ 1687/周今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Moodle MCP

An open source, read-only MCP server for Moodle. Connect it to Claude and ask about your assignments, deadlines, grades, courses, forums and notifications in plain language.

Not affiliated with or endorsed by Moodle Pty Ltd. "Moodle" is a trademark of its owner.

What you can ask

  • "Which assignments do I still have to hand in this month?"
  • "What's due this week, and what have I already submitted?"
  • "What are my grades in Machine Learning?"
  • "Any new announcements in my courses?"
  • "Show me the sections and activities of my Computer Graphics course."

Tools

All tools are read-only and return concise, readable output.

ToolWhat it doesParameters
get_site_infoValidates the token; site, Moodle version and current user–
list_coursesYour courses (current ones by default)includePast?
get_course_contentsSections and activities of a course. Each module has id and instancecourseId
list_assignmentsAssignments with due dates, sorted by due datecourseId?, upcomingOnly?, limit? (25)
get_assignment_statusSubmission/grading status, grade and feedback commentsassignmentId
get_upcoming_deadlinesCalendar events + assignments in the next N days, each assignment marked submitted or pendingdays? (14), onlyPending?
get_gradesGrade items of a coursecourseId
list_forum_discussionsRecent discussions of a forumforumId (the instance from get_course_contents)
get_notificationsRecent Moodle notifications–

Requirements

  • A Moodle site with Web Services / mobile app access enabled (Moodle 4.x; developed against 4.5).
  • Your own web service token (below). Functions your institution disables simply return an error for that tool.
  • Node 20+ for the server (Node 22+ to deploy with Wrangler), or Docker, or a free Cloudflare account.

Setup

1. Get your Moodle URL and token
  • URL: the root of your Moodle, without a page or /webservice, e.g. https://moodle.example.edu (if Moodle lives in a subfolder, include it: https://example.edu/moodle).
  • Token: in Moodle, *Preferences → Security keys* shows a key for Moodle mobile web service. Some sites only show a label there; *Reset* generates a new key (and signs out your Moodle mobile app). Alternatively, if you log in with a Moodle username and password (not SSO), request one: curl -s "$MOODLE_URL/login/token.php" -d username=... --data-urlencode password=... -d service=moodle_mobile_app (type the password interactively so it doesn't end up in your shell history).
2. Configure

Copy .env.example to .env and fill in MOODLE_URL, MOODLE_TOKEN and MCP_AUTH_SECRET (generate the latter with openssl rand -hex 24). .env is git-ignored.

3. Run it, pick one

Cloudflare Workers (free, always on, no domain needed): recommended

npm ci

npx wrangler login npx wrangler secret put MOODLE_URL # https://your.moodle.edu npx wrangler secret put MOODLE_TOKEN # your Moodle web service token npx wrangler secret put MCP_AUTH_SECRET # openssl rand -hex 24 npm run deploy # prints https://moodle-mcp. .workers.dev

Check Cloudflare's current free-tier limits. Try it locally first by copying your `.env` values to a

git-ignored .dev.vars and running npm run dev:worker.

Docker / Node (self-hosted)

docker build -t moodle-mcp . && docker run --env-file .env -p 3000:3000 moodle-mcp

or: npm ci && npm run build && npm start

Then expose it over HTTPS (for example with a Cloudflare Tunnel or Tailscale Funnel).

Local only (Claude Desktop / Claude Code, stdio): no install needed:

MCP_TRANSPORT=stdio MOODLE_URL=https://your.moodle.edu MOODLE_TOKEN=... npx -y @fabioov/moodle-mcp

MCP_AUTH_SECRET is not needed in this mode.

4. Add it to Claude
  • Claude.ai: *Settings → Connectors → Add custom connector*. URL https:// /mcp, choose No sign-in, then *Add header* Authorization = Bearer .
  • Claude Code: claude mcp add --transport http moodle https:// /mcp --header "Authorization: Bearer "
  • If a client can only be given a URL, use https:// /mcp/ . Treat that URL as a password; the header is preferred because URLs end up in logs.

Security and privacy

  • Your token acts as you: anyone who can call your endpoint can read what your token can read. Keep MOODLE_TOKEN and MCP_AUTH_SECRET in environment variables or Cloudflare secrets, never in the repo.
  • The server is read-only by design and has no write tools.
  • Whatever the tools return (grades, messages, names) is sent to Claude as part of your conversation. Check your institution's rules on sharing academic data with third-party services before using this, especially if you have access to other people's data (for example as a teacher).
  • See SECURITY.md to report a vulnerability.

Known limitations

  • Tested mainly against Moodle 4.5 with a student account. Teacher/admin roles and other versions or plugins are untested; reports and fixtures are welcome.
  • Sites can disable individual web service functions, so some tools may not work everywhere.
  • Large result sets are trimmed (for example, 25 assignments by default) to save context.

Development

npm ci

npm test # unit tests with fixtures (no Moodle needed) npm run typecheck npm run dev # HTTP server on :3000 (needs .env) npm run dev:worker # Cloudflare Worker locally (needs .dev.vars)

See [CONTRIBUTING.md](CONTRIBUTING.md). Changes are listed in [CHANGELOG.md](CHANGELOG.md).

License

MIT

问 PopNx