Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MERLIN_DBNoSQLite database path for pending sends. Default: ./merlin.sqlite.
API_BEARERNoBearer token for /api/* REST endpoints. Required for the REST API when serving HTTP.
MCP_BEARERNoBearer token for the /mcp endpoint. Required when serving MCP over HTTP.
MOODLE_URLNoPins the server to one Merlin/Moodle year URL.
MERLIN_YEARSNoComma-separated academic years to read, e.g. "2025-2026,2026-2027".
MOODLE_TOKENYesMoodle web-service token for your Merlin account. Required.
RELAY_BEARERNoBearer token for the phone-approval relay that polls GET /api/pending. When set, moodle_send_message is offered.
MOODLE_TOKENSNoJSON map of academic year to Moodle token, e.g. {"2025-2026":"..."}; missing years fall back to MOODLE_TOKEN.
MOODLE_CONTACTNoContact details added to the User-Agent for polite requests.
LEGACY_API_BEARERNoSet to "1" to allow the old single-bearer setup where /api and /mcp share a bearer.
MERLIN_PUBLIC_URLNoPublic base URL used for approval links behind a reverse proxy.
MERLIN_ENABLE_SENDNoSet to 0 to disable message sending even if RELAY_BEARER is set.

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