MCP, MCP server
Moodle Mcp Server
Ask your Moodle instance anything.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
packages/client/app/page.tsx, line 179
const res = await fetch("/api/chat", { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
packages/server/src/config/loader.ts, line 251
"MOODLE_TOKEN is not set. Copy .env.example to .env and fill in your Moodle API token.\n" + - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
packages/client/lib/mcp-client.ts, line 134
const token = mcpConfig.authToken || process.env.MCP_AGENT_EDGE_TOKEN || "";
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
packages/client/app/page.tsx, line 179
const res = await fetch("/api/chat", {
packages/client/app/page.tsx, line 257
fetch("/api/providers")
packages/client/app/page.tsx, line 308
fetch("/api/status")
Show more
packages/client/app/page.tsx, line 374
fetch("/api/chat", {
packages/client/app/api/chat/route.ts, line 44
* fetch() with a ReadableStream reader in the browser.
packages/client/components/tool-results/ToolResultView.tsx, line 654
const response = await fetch("/api/tool-action", {
packages/client/lib/llm/anthropic.ts, line 50
const res = await fetch(url, {
packages/client/lib/llm/discovery.ts, line 115
const res = await fetch(`${provider.baseUrl.replace(/\/$/, "")}/v1/models`, {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
packages/client/lib/mcp-client.ts, line 134
const token = mcpConfig.authToken || process.env.MCP_AGENT_EDGE_TOKEN || "";
packages/client/scripts/bake-off.js, line 18
const OLLAMA_API_KEY = process.env.OLLAMA_API_KEY || '';
packages/server/src/config/loader.ts, line 251
"MOODLE_TOKEN is not set. Copy .env.example to .env and fill in your Moodle API token.\n" +
Show more
packages/server/src/config/loader.ts, line 248
const token = process.env.MOODLE_TOKEN;
.gitignore, line 7
packages/server/data/user-field-schema.json
.gitignore, line 8
.env
CONTRIBUTING.md, line 16
cp packages/server/.env.example packages/server/.env
CONTRIBUTING.md, line 18
cp packages/client/.env.example packages/client/.env
README.md, line 66
cp packages/server/.env.example packages/server/.env
README.md, line 67
# Edit .env: add your MOODLE_URL and MOODLE_TOKEN
README.md, line 110
cp packages/client/.env.example packages/client/.env
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 9d7e300dfc8f. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 9d7e300dfc8f24acf5abc4590ce76114b6d4c85a
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.