Skip to main content

A Model Context Protocol (MCP) server implementation that provides capabilities to interact with Moodle LMS.

Project description

MseeP.ai Security Assessment Badge

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)

  1. Create your own .env file from .env.example
  2. Assume you have uv installed, run uv add "mcp[cli]" to install the MCP CLI tools
  3. 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

  1. Navigate to your Moodle token management page https://{your-moodle-url}/user/managetoken.php
  2. Use the token with Moodle mobile web service in the Service column
  3. Add this token to your .env file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_loyaniu_moodle_mcp-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_loyaniu_moodle_mcp-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_loyaniu_moodle_mcp-0.1.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_loyaniu_moodle_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec0da3fd3d81855ddde29c5b147910e3074f9c78eac4f5e44c64f75049171df1
MD5 0b20a0ccf6ba5cb4e626c9a95106e8d5
BLAKE2b-256 a717bb1f6fcff28224a3736def6cb37edaa7db5643b5200d198cfff73c5809cc

See more details on using hashes here.

File details

Details for the file iflow_mcp_loyaniu_moodle_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_loyaniu_moodle_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4c86c1bbdca3e99636decdc73bef1e716ac4fbf51c4bafb3186fc32394a9080
MD5 785f62d7f5460f8d5aca45c723d76f1f
BLAKE2b-256 af029fa2bd56a40ca33c2e79832f16ffde818c2228bd5029c9fa97ef1c042c7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page