Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MOODLE_ORIGINYesEnter your school's Moodle origin.
WEBUNTIS_HOSTNoset `WEBUNTIS_HOST` to your school's WebUntis hostname (without a scheme or path)
MCP_PUBLIC_URLYesSet `MCP_PUBLIC_URL` to your public HTTPS URL ending in `/mcp`.
MCP_AUTH_ISSUERNoSet `MCP_PUBLIC_URL`, `MCP_AUTH_ISSUER`, `MCP_AUTH_JWKS_URL`, and `MCP_AUTH_OWNER_SUBJECT`.
MOODLE_PASSWORDYesEnter your school's Moodle password.
MOODLE_USERNAMEYesEnter your school's Moodle username.
WEBUNTIS_SCHOOLNoset `WEBUNTIS_SCHOOL` to the school identifier in the WebUntis sign-in URL
MOODLE_STATE_DIRYesset `MOODLE_STATE_DIR` to a private persistent directory owned by that account.
MCP_AUTH_JWKS_URLNoSet `MCP_PUBLIC_URL`, `MCP_AUTH_ISSUER`, `MCP_AUTH_JWKS_URL`, and `MCP_AUTH_OWNER_SUBJECT`.
MOODLE_SSO_ISSUERNoFor a standard Moodle password form, leave `MOODLE_SSO_ISSUER` unset. If your school uses an external sign-in issuer, configure it only after verifying the destination on your school's real Moodle login page.
WEBUNTIS_PASSWORDNoSet both `WEBUNTIS_USERNAME` and `WEBUNTIS_PASSWORD` using your WebUntis credentials.
WEBUNTIS_USERNAMENoSet both `WEBUNTIS_USERNAME` and `WEBUNTIS_PASSWORD` using your WebUntis credentials.
MCP_LOGIN_PASSWORDNoset a separate `MCP_LOGIN_PASSWORD` with at least 16 characters.
MCP_OAUTH_STATE_DIRNoOptional. Defaults to $MOODLE_STATE_DIR/.oauth MCP_OAUTH_STATE_DIR=/var/lib/moodle-mcp/.oauth
MCP_AUTH_OWNER_SUBJECTNoSet `MCP_PUBLIC_URL`, `MCP_AUTH_ISSUER`, `MCP_AUTH_JWKS_URL`, and `MCP_AUTH_OWNER_SUBJECT`.
MCP_OAUTH_REDIRECT_URINoMCP_OAUTH_REDIRECT_URI=https://chatgpt.com/connector_platform_oauth_redirect
MCP_OAUTH_CLIENT_SECRETNoOptional. If set, enter the same secret in ChatGPT's client settings. MCP_OAUTH_CLIENT_SECRET=replace-with-a-random-secret-of-at-least-32-characters

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources