Moodle Plugin Db MCP

MCP数据服务

提供方 micaherne

数据服务 未标注 无需鉴权 社区 / 第三方 Claude DesktopClaudeVS Code

一个基于TypeScript的MCP服务器,用于查询Moodle插件数据库API,提供插件版本查找和缓存管理功能。

一句话选型结论

按资料字段整理

Moodle Plugin Db MCP 属于数据服务类 MCP 服务器,传输方式未标注,无需鉴权,可直接接入 Claude Desktop、Claude、VS Code,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类数据服务 传输方式未标注 鉴权无需鉴权 部署方式未标注
GitHub 星标 0 仓库热度,无公开仓库时显示未标注
工具数 3 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

数据服务
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量3暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

Moodle插件TypeScript本地部署数据库查询版本管理缓存服务

安装与配置

未标注 无需鉴权
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 3 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
数据库查询

用自然语言查库、取数,不用手写 SQL。

数据同步与清洗

把多来源数据拉到一处做整理。

报表取数

按口径快速拉出统计结果。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 3 个工具,职责相对集中,接入后不容易误操作。
  • 已适配 Claude Desktop、Claude、VS Code,换客户端不用重新研究配置。
  • 资料标注无需鉴权,装好就能连。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在数据服务场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop、Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Moodle Plugin Db MCP当前 3 未标注 未标注 无 2026-05-17
Memory 9d25f64e 9 未标注 未标注 无 2026-05-17
Getzep MCP 9 stdio · 本地进程 本地部署 有 2026-05-17
anything-llm 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Prisma MCP Server 未标注 stdio · 本地进程 本地部署 有 2026-05-17
Astr Bot 未标注 stdio · 本地进程 本地部署 有 2026-05-17

服务器档案

数据服务
字段来自项目仓库与公开索引,中文说明由本站标注
提供方micaherne上游标注的维护方 micaherne
分类数据服务本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式无需鉴权远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

4.8 KB
来自项目仓库与上游目录的原文,未做删改

Moodle Plugin DB MCP Server

This repository contains a TypeScript-based MCP (Model Context Protocol) server for querying the Moodle plugin database API at:

https://download.moodle.org/api/1.3/pluglist.php

What this provides

  • Proper MCP Server: Built with @modelcontextprotocol/sdk
  • Browser Testing: MCP Inspector integration for interactive testing
  • stdio Transport: Compatible with Claude Desktop and other MCP clients

Available Tools

Tool Description Parameters
get_raw_pluglist Fetch raw JSON data from Moodle plugin database API (with caching) None
find_latest_plugin_version Find the latest version of a plugin compatible with a Moodle version or release plugin_name (string): Name of the plugin component (e.g., mod_attendance)

moodle_identifier (string): Moodle identifier as 10-digit version number (e.g., "2022111500") or major release (e.g., "4.1") |
get_cache_status · Get information about the current cache status · None

Quick Start

Local Development

Install dependencies:```bash
npm install


### GitHub Codespaces (Recommended)

The easiest way to get started is using GitHub Codespaces:

1. **Create a GitHub repository** from this code
2. **Open in Codespaces**: Click the "Code" button → "Codespaces" → "Create codespace on main"
3. **Automatic setup**: The devcontainer will automatically:
- Install Node.js 20
- Run `npm install`
- Configure VS Code with recommended extensions
- Forward the necessary ports (3000, 6274, 6277)

### Testing with MCP Inspector (Browser)

The easiest way to test and develop your MCP server is using the MCP Inspector, which provides a web interface:```bash
npm run inspector:dev

This will:

  1. Build the TypeScript code
  2. Launch the MCP Inspector
  3. Open your browser to an interactive testing interface (auto-forwarded in Codespaces)
  4. Show you all available tools and let you test them

You can also run the inspector against an already-built version:```bash
npm run build
npm run inspector


## Using with Claude Desktop

Add this to your Claude Desktop configuration (`~/Library/Application Support/Claude/claude_desktop_config.json`):```json
{
"mcpServers": {
"moodle-plugin-db": {
"command": "node",
"args": ["/absolute/path/to/moodle-plugin-db-mcp/dist/index.js"],
"env": {
"CACHE_DIR": "/path/to/your/cache/directory"
}
}
}
}

Configuration Options

The server supports the following configuration options:

  • CACHE_DIR (environment variable): Directory to store cached plugin data (defaults to system temp directory)
  • Example: CACHE_DIR=/Users/username/.cache/moodle-plugins npm start
  • The cache uses a 1-hour TTL with automatic fallback to fresh data if needed

Then restart Claude Desktop and you'll see the tools available in the interface.

Development```bash

Build TypeScript

npm run build

Run the built server (stdio mode)

npm start
```

Codespaces Features

This repository is configured for GitHub Codespaces with:

  • Pre-configured environment: Node.js 20, TypeScript, and all dependencies
  • VS Code extensions: TypeScript, Prettier, Copilot, and JSON support
  • Port forwarding: MCP Inspector UI automatically opens in browser
  • Instant setup: Ready to code in seconds

Codespaces Port Configuration

  • Port 3000: MCP Server (for direct connections)
  • Port 6274: MCP Inspector UI (auto-opens in browser)
  • Port 6277: MCP Inspector Proxy (background service)

Completed Features

  • ✅ Parse the pluglist JSON response into typed structures
  • ✅ Implement real logic for find_plugin_latest_version tool with Moodle version/release filtering
  • ✅ Add filesystem caching layer for the pluglist data (1-hour TTL with fallback)
  • ✅ Basic error handling and input validation
  • ✅ MCP settings support for configurable cache directory

Contributing

  1. Fork this repository
  2. Open in GitHub Codespaces for instant development environment
  3. Make your changes and test with npm run inspector:dev
  4. Submit a pull request

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
Moodle Plugin Db MCP 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Moodle Plugin Db MCP 怎么在 Claude Desktop、Claude、VS Code 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Moodle Plugin Db MCP 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Moodle Plugin Db MCP 需要 API Key 吗?

资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Moodle Plugin Db MCP 支持哪些客户端?

资料标注支持 Claude Desktop、Claude、VS Code;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Moodle Plugin Db MCP 能提供哪些能力?

资料显示约 3 个工具;能力标签包括 版本管理、TypeScript、Claude。具体工具清单以官方文档为准。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。