ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Moodle MCP Server Aql

โดย csmediaproรุ่น 0.1.6i★ –iรันบนเครื่อง
ชื่อใน registryio.github.csmediapro/moodle-mcp-server-aql

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Query Moodle LMS data through natural language. Attach your agent to your LMS data.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: MOODLE_URL, MOODLE_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "moodle-aql": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ],
      "env": {
        "MOODLE_URL": "ใส่ค่าของคุณ",
        "MOODLE_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add moodle-aql --env MOODLE_URL='ใส่ค่าของคุณ' --env MOODLE_TOKEN='ใส่ค่าของคุณ' -- npx -y moodle-mcp-server-aql

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "moodle-aql": {
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ],
      "env": {
        "MOODLE_URL": "ใส่ค่าของคุณ",
        "MOODLE_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "moodle-aql": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "moodle-mcp-server-aql"
      ],
      "env": {
        "MOODLE_URL": "ใส่ค่าของคุณ",
        "MOODLE_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • MOODLE_URL จำเป็น env
    Base URL for the Moodle instance to query.
  • MOODLE_TOKEN ความลับ จำเป็น env
    Moodle Web Services API token.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub csmediapro ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32718 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 49% ของอีก 32718 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32718 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Moodle MCP Server Aql ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: MOODLE_URL, MOODLE_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.6) เข้า registry 42 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, MemberVault MCP by usefulapi

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

moodle-mcp-server — AI-Powered LMS Analytics

Ask your Moodle instance anything. Get structured answers in seconds.

moodle-mcp-server is an open-source MCP (Model Context Protocol) server that connects AI agents directly to Moodle's Web Services API. It is the first reference implementation of the Agentic Query Layer (AQL) pattern — a software design pattern for giving large language models safe, permission-aware, read-only access to structured data.

Instead of learning report builders, writing SQL, or exporting CSVs, you ask questions in plain English — the AI agent queries your LMS and returns structured data.

AQL pattern: https://csmediapro.com/notes/agentic-query-layer Project home: https://csmediapro.com/products/moodle-mcp-server npm package: https://www.npmjs.com/package/moodle-mcp-server-aql MCP Registry: io.github.csmediapro/moodle-mcp-server-aql


Features

  • Core query tools — course catalog, user enrollment, assignments, category navigation, site metadata, user lookup, and cache management
  • Premium reporting plugins — optional tools such as course completion reports and recent activity can be attached through the plugin runtime
  • LLM-agnostic — works with Claude, GPT, Gemini, Ollama, or any MCP-compatible AI client
  • Zero LMS modification — uses Moodle's existing Web Services API, no plugin installation required
  • Compliance-ready data handling — secure, efficient data processing with privacy by design
  • Read-only — never modifies Moodle data, safe for production
  • Plugin-extensible — drop new tool modules into a directory; tools and optional agent routing hints auto-register at runtime

Quick Start

Prerequisites
  • Node.js 20+
  • A Moodle instance with Web Services enabled
  • A Moodle API token (Site administration → Plugins → Web services → Manage tokens)
Use With An MCP Client

Most users launch the server through an MCP client such as Claude Desktop:

{

"mcpServers": { "moodle-mcp-server-aql": { "command": "npx", "args": ["-y", "moodle-mcp-server-aql"], "env": { "MOODLE_URL": "https://your-moodle-instance.example", "MOODLE_TOKEN": "your-moodle-web-services-token" } } } }

Setup From Source
# Clone the repo

git clone https://github.com/csmediapro/moodle-mcp-server cd moodle-mcp-server

Install dependencies

npm install

Configure

cp packages/server/.env.example packages/server/.env

Edit .env: add your MOODLE_URL and MOODLE_TOKEN

Run (stdio mode)

npm run server:build node packages/server/dist/index.js

User field schema

User field display settings are generated per Moodle instance and stored locally at packages/server/data/user-field-schema.json. This file is intentionally ignored by git because it can include site-specific custom profile fields.

After connecting to a Moodle site, run the refresh_user_field_schema tool once to discover available standard and custom user fields. A minimal example shape is included at packages/server/data/user-field-schema.example.json.

Separately installed plugins can use this schema to flatten custom profile fields into stable keys such as school. The premium user-directory plugin, for example, uses it to cache and summarize full-user directory fields outside the OSS core.

Config identity

The core owns two different server identity fields:

  • server.id — stable machine identity, for example mcp_8f3k2q9x
  • server.name — human-facing display label

If server.id is missing, the core generates one once and persists it to the resolved config file before startup continues.

Environment overrides:

  • MOODLE_MCP_CONFIG or MOODLE_MCP_SERVER_CONFIG — choose the config file path
  • SERVER_ID — explicit server.id override
  • SERVER_NAME — explicit server.name override
  • SERVER_VERSION — explicit server.version override

If server.id is missing and the resolved config path is not writable, startup fails deliberately.

Using the reference client
# From the project root

cp packages/client/.env.example packages/client/.env npm run client:dev

Open http://localhost:3000

The client will auto-detect your Moodle instance and present a chat interface where you can ask questions in plain English.


Connecting an LLM

moodle-mcp-server needs an AI model to power the natural-language interface. You bring the model — the moodle-mcp-server core and reference client support any MCP-compatible provider.

Option 1: Run Locally (Recommended for Speed & Privacy)

Running a local model keeps all data on your own hardware — nothing leaves your network. Modern quantized models run well on consumer GPUs and even CPU-only setups.

Performance: A quantized 24B model on a single RTX 3090 delivers ~1.5-second responses after the first query — faster than most cloud APIs once the system is initialized.

Via Ollama (easiest)
# Install Ollama: https://ollama.com

ollama pull gemma3:12b # Fast, reliable tool use (~200ms TTFT) ollama pull qwen3:14b # Strong reasoning, good for complex queries ollama pull deepseek-r1:14b # Excellent at multi-step chains

Then point the reference client at http://localhost:11434 (Ollama's default).

Via llama.cpp (maximum control)
# Download a GGUF model (example: Devstral 24B Q4)

Run the llama.cpp server:

llama-server -m devstral-24b-Q4_K_M.gguf --ctx-size 60000 --port 8080

Point the reference client at http://localhost:8080/v1.

Recommended local models
ModelSizeBest ForHardware
Gemma 3 12B~7 GB VRAMFast tool calls, straightforward queriesSingle consumer GPU
Qwen 3 14B~8.5 GB VRAMComplex reasoning, multi-tool chainsSingle consumer GPU
Devstral 24B Q4~14.5 GB VRAMMaximum capability, 60K contextRTX 3090 / 4090
Option 2: Cloud Providers

Anthropic (Claude):

export ANTHROPIC_API_KEY=sk-ant-...

Select "Anthropic" in the reference client's provider dropdown. Claude Sonnet offers the most reliable tool-calling behavior.

OpenAI (GPT):

export OPENAI_API_KEY=sk-...

Select "OpenAI" in the provider dropdown. GPT-4o performs well on structured queries.

Ollama Cloud: Uses the same API as local Ollama, hosted at https://ollama.com/v1. Good middle ground — faster than local cold starts, more private than big cloud providers.

Option 3: Claude Desktop (Direct MCP)

Claude Desktop connects to the moodle-mcp-server core directly over stdio — no reference client needed.

Add to your Claude Desktop config (claude_desktop_config.json):

{

"mcpServers": { "moodle-mcp-server": { "command": "node", "args": ["/path/to/moodle-mcp-server/packages/server/dist/index.js"], "env": { "MOODLE_URL": "https://your-moodle-instance.com", "MOODLE_TOKEN": "your-api-token" } } } }

Restart Claude Desktop. The server's tools will appear in Claude's tool list — ask questions directly.


Tools

Core Tools (free, open source — AGPL)
ToolDescription
list_coursesFull course catalog with category drill-down
get_courseDetail view for any course
list_course_usersEnrolled users with roles and access data (now supports course name search with interactive selection)
list_assignmentsAll assignments with due dates
list_categoriesFull hierarchy with exact parent resolution
get_site_infoInstance overview — site name, version, course count
get_userDetail view for a Moodle user
list_user_coursesCourses for a specific user
search_usersUser search by standard Moodle identity fields
search_courses_by_nameSearch for courses by name with partial matching and interactive selection
Premium Plugins (available separately)
  • Advanced Reporting — gradebooks, cross-course comparison, custom report builder
  • User Analytics — progress tracking, engagement scoring, risk flags
  • User Directory — cached directory listing and structured filtering across standard and custom profile fields
  • Compliance Pack — certification tracking, expiration alerts, audit exports

Architecture

This project is a reference implementation of the Agentic Query Layer (AQL) pattern — a layer that sits between an AI agent and your data, providing permission-aware, read-only, plain-language access without exposing the underlying data to the model.

User (plain English question)

│ ▼ AI Agent (Claude / GPT / Gemini / Ollama / local) │ ▼ MCP Protocol moodle-mcp-server ← AQL connector for Moodle ├── Tool Registry (core + plugins) ├── Agent Runtime Config (core + plugin rules) ├── Optimized Data Layer (secure, efficient data handling) └── Moodle Client (REST API calls) │ ▼ Moodle Web Services API

Transport modes
  • Stdio — dist/index.js — runs as a subprocess, used by Claude Desktop and similar clients

The OSS core intentionally ships with stdio only. Any network-facing wrapper, remote supervision, or premium plugin attachment belongs in a separate commercial node agent or wrapper.

Plugin docs
  • Plugin Contract
  • Creating Plugins
  • Hello Plugin Example

License

AGPL v3 — see LICENSE.

This means you can:

  • ✅ Use the moodle-mcp-server core for free, in any environment
  • ✅ Modify the source code for your needs
  • ✅ Build and distribute derivative works

You cannot:

  • ❌ Repackage the moodle-mcp-server core as a closed-source competing commercial product
  • ❌ Offer it as a network service without sharing your modifications

Trademark Notice

Moodle is a trademark of Moodle Pty Ltd. moodle-mcp-server is an independent CSMediaPro project and is not affiliated with, endorsed by, sponsored by, or officially connected to Moodle Pty Ltd or the Moodle project. The name is used descriptively to identify compatibility with Moodle LMS.


Built by CSMediaPro

moodle-mcp-server is built and maintained by CSMediaPro, a software development company specializing in AI integration, systems engineering, and workflow automation. It is the first reference implementation of the Agentic Query Layer (AQL) pattern.

  • AQL pattern: https://csmediapro.com/notes/agentic-query-layer
  • Contact: contact@csmediapro.com
ถาม PopNx