Casperjuel/aula-mcp
MCP server for Denmark's Aula school platform — TypeScript MitID auth, no headless browser. Exposes profiles, calendar, messages, ugeplaner to AI agents (Claude/Cursor/etc) via Model Context Protocol.
5c64e98eaba9aula-mcp1.6.2 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 53 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
- 1 tool, prompt or resource registered only in the repository's tests is not counted on this page
Top risks in plain words
- HIGHTool
aula.utils.extract_pdf_textreads or writes any file path by design: an agent steered by prompt injection can use it that way. - HIGHTool
aula.posts.get_attachmentrequests any address by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
aula.utils.extract_pdf_textcan read or write any file path. Mount a single project folder, read-only where you can. - Limit where it can connect
aula.posts.get_attachmentcan request any address. Block access to internal hosts and cloud metadata endpoints. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
aula.posts.get_attachment,aula.utils.extract_pdf_text, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 25 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
aula.calendar.events, aula.opgaver.minuddannelseaula.lektier.easyiq, aula.messages.get_attachment, aula.opgaver.minuddannelse, aula.posts.get_attachmentaula.discover, aula.messages.get_attachment, aula.posts.get_attachmentNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses2 tools · aula.messages.get_attachment, aula.posts.get_attachment
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (25: 25 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
aula.posts.get_attachmenttool Download an attachment from a news feed post and write it to a local temporary file, returning the path. Pass `url` and `name` exactly as they appear in the attNetworkEnv varsoutside textRequests any address
Download an attachment from a news feed post and write it to a local temporary file, returning the path. Pass `url` and `name` exactly as they appear in the attachments array from `aula.posts.list` — the CloudFront signature is part of the URL, so altering a single character produces a MalformedSignature 403.
aula.utils.extract_pdf_texttool Read a PDF from a local absolute path — typically one returned by aula.posts.get_attachment or aula.messages.get_attachment — and return its text so it can be rReads/writes files
Read a PDF from a local absolute path — typically one returned by aula.posts.get_attachment or aula.messages.get_attachment — and return its text so it can be read or summarised.
aula.calendar.eventstool The lesson timetable (skoleskema): subjects, times, rooms — not the weekly letter a teacher writes (that is aula.ugeplan.* / aula.ugebrev.*). Lessons + events fFiles
The lesson timetable (skoleskema): subjects, times, rooms — not the weekly letter a teacher writes (that is aula.ugeplan.* / aula.ugebrev.*). Lessons + events for the given child institution-profile IDs. Call aula.discover first and pass children[].id as profileIds. Pass `range` for a preset window (today/tomorrow/this_week/next_week) OR `start`+`end` for a specific window. Timestamps are formatted as Aula expects: "YYYY-MM-DD HH:MM:SS.0000+ZZZZ". Aula uses Europe/Copenhagen.
aula.contacts.listtool Members of one group or class, from aula.groups.list. Contains other families’ personal data (names, birthdays) — only surface what the user asked for.
Members of one group or class, from aula.groups.list. Contains other families’ personal data (names, birthdays) — only surface what the user asked for.
aula.discovertool Returns a typed manifest of the logged-in guardian: children (with names + ids), institutions, API version, detected widgets, and which subordinate aula.* toolsEnv vars
Returns a typed manifest of the logged-in guardian: children (with names + ids), institutions, API version, detected widgets, and which subordinate aula.* tools to call. Includes a `usage` block with name-resolution and tool-selection rules. Call ONCE per session and reuse the result — do not re-call mid-session.
aula.groups.listtool Classes and groups the family’s children belong to. Use the returned group ids with aula.contacts.list.
Classes and groups the family’s children belong to. Use the returned group ids with aula.contacts.list.
aula.huskelisten.systematictool Homework reminders from Systematic. Args may include `from`/`to` ISO YYYY-MM-DD dates.
Homework reminders from Systematic. Args may include `from`/`to` ISO YYYY-MM-DD dates.
aula.lektier.easyiqtool Homework items from EasyIQ Lektier (widget 0142) — same vendor as `aula.ugeplan.easyiq_skoleportal` but a separate "Lektier" product. Use when discover.detectedNetwork
Homework items from EasyIQ Lektier (widget 0142) — same vendor as `aula.ugeplan.easyiq_skoleportal` but a separate "Lektier" product. Use when discover.detectedWidgets contains "0142".
aula.messages.get_attachmenttool Download an attachment from a thread message and write it to a local temporary file, returning the file path. Prefer this over passing Aula attachment URLs throNetworkEnv varsoutside text
Download an attachment from a thread message and write it to a local temporary file, returning the file path. Prefer this over passing Aula attachment URLs through the model — CloudFront presigned URLs are long opaque blobs that LLMs often mangle when echoing into tool calls (MalformedSignature / AccessDenied 403). `attachmentIndex` is zero-based across all attachments in the thread, flattened message-by-message in the order returned by `aula.messages.get_thread`.
aula.messages.get_threadtool Returns subject + every message in the thread. If the thread is sensitive, this tool returns an error code that means the user must MitID step-up to read it (cu
Returns subject + every message in the thread. If the thread is sensitive, this tool returns an error code that means the user must MitID step-up to read it (currently a fresh `aula login` from the CLI).
aula.messages.list_threadstool One page of threads, most recent first. Aula serves 20 per page and IGNORES `pageSize` — asking for 50 still returns 20. Returns `{ threads, page, hasMorePages
One page of threads, most recent first. Aula serves 20 per page and IGNORES `pageSize` — asking for 50 still returns 20. Returns `{ threads, page, hasMorePages }`: when `hasMorePages` is true there are older threads you have not seen, so keep calling with `page` + 1 before concluding anything about the mailbox as a whole (e.g. "no unread messages"). A single call answers "what arrived recently", never "what does the mailbox contain".aula.messages.mark_readtool Move the read marker in a thread to its newest message, clearing the unread badge. WRITES to Aula — enabled when AULA_MCP_WRITE=1. Pass `messageId` from `aula.m
Move the read marker in a thread to its newest message, clearing the unread badge. WRITES to Aula — enabled when AULA_MCP_WRITE=1. Pass `messageId` from `aula.messages.list_threads` (thread.latestMessage.id); omit it to mark the thread read up to whatever its newest message is right now. Marking read is not reversible through this API — Aula offers no way to set a thread back to unread, so only call this for threads the user has actually seen.
aula.notifications.listtool Unread items + activity for the active guardian profile.
Unread items + activity for the active guardian profile.
aula.opgaver.minuddannelsetool Homework / task list from Min Uddannelse for the given children. `content` holds the forløb name plus the teacher's description as plain text, fetched through aFilesNetwork
Homework / task list from Min Uddannelse for the given children. `content` holds the forløb name plus the teacher's description as plain text, fetched through a minuddannelse.net session; if that fails the items come back title-only with a warning.
aula.posts.listtool Teacher posts and class-level updates, across every institution the family belongs to (school and club).
Teacher posts and class-level updates, across every institution the family belongs to (school and club).
aula.presence.report_sicktool Mark a child as sick for today, or take the report back. WRITES to Aula — enabled when AULA_MCP_WRITE=1. The institution is notified. Applies to today; Aula has
Mark a child as sick for today, or take the report back. WRITES to Aula — enabled when AULA_MCP_WRITE=1. The institution is notified. Applies to today; Aula has no future-dated sick report — use aula.presence.set_template or a vacation registration for a planned absence. An institution can withhold this from guardians, in which case Aula rejects the call.
aula.presence.set_templatetool Register or overwrite a child's komme/gå template for one day. WRITES to Aula — enabled when AULA_MCP_WRITE=1. Covers one child and one date per call; call once
Register or overwrite a child's komme/gå template for one day. WRITES to Aula — enabled when AULA_MCP_WRITE=1. Covers one child and one date per call; call once per day to fill a week. Read `aula.presence.templates` first to see the current schedule and confirm the child id. `activityType` picks how the child leaves: picked_up_by ("Hentes af", a named person collects), self_decider ("Selvbestemmer", may leave alone between two times), send_home ("Sendes hjem", leaves alone at exitTime), go_home_with ("Går hjem med", leaves with a named person). Set `repeat` to make it recur on that weekday until `repeatUntil`.aula.presence.templatestool Recurring komme/gå (presence) templates for the given children — the drop-off and pickup times a guardian has registered per day. Pass the same child IDs as `au
Recurring komme/gå (presence) templates for the given children — the drop-off and pickup times a guardian has registered per day. Pass the same child IDs as `aula.presence.today`. `from`/`to` bound the window (YYYY-MM-DD); they default to the current week. Each returned template carries the `institutionProfile.id` that `aula.presence.set_template` needs. Read this before changing a schedule.
aula.presence.todaytool Returns presence/check-in/check-out info for the given child IDs. Status codes: 0=IKKE_KOMMET (not arrived), 1=SYG (reported sick), 2=FERIE_FRI (holiday/not enr
Returns presence/check-in/check-out info for the given child IDs. Status codes: 0=IKKE_KOMMET (not arrived), 1=SYG (reported sick), 2=FERIE_FRI (holiday/not enrolled), 3=KOMMET (arrived/present), 4=PAA_TUR (on a trip), 5=SOVER (sleeping), 6=FRITIDSAKTIVITET, 7=FYSISK_PLACERING, 8=GAAET (picked up/left).
aula.profiles.listtool Raw profiles.getProfilesByLogin response — every child + institution.
Raw profiles.getProfilesByLogin response — every child + institution.
aula.raw_requesttool Call any Aula API method directly. Enabled when AULA_MCP_RAW=1. The CSRF token + access_token are added automatically; the response envelope is unwrapped to its
Call any Aula API method directly. Enabled when AULA_MCP_RAW=1. The CSRF token + access_token are added automatically; the response envelope is unwrapped to its `data` field. Use sparingly — most needs have a typed tool.
aula.ugebrev.minuddannelsetool Weekly newsletter (ugebrev) from Min Uddannelse.
Weekly newsletter (ugebrev) from Min Uddannelse.
aula.ugeplan.easyiqtool Weekly plan from EasyIQ for the given children. Use when the school is on EasyIQ.
Weekly plan from EasyIQ for the given children. Use when the school is on EasyIQ.
aula.ugeplan.easyiq_skoleportaltool Weekly plan from EasyIQ SkolePortal (widget 0128) — a different EasyIQ product than `aula.ugeplan.easyiq` (widget 0001). Use when discover.detectedWidgets conta
Weekly plan from EasyIQ SkolePortal (widget 0128) — a different EasyIQ product than `aula.ugeplan.easyiq` (widget 0001). Use when discover.detectedWidgets contains "0128".
aula.ugeplan.meebooktool Weekly plan from Meebook for the given children. Use when the school is on Meebook.
Weekly plan from Meebook for the given children. Use when the school is on Meebook.
Text the model reads (25)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
aula.discover tool
Returns a typed manifest of the logged-in guardian: children (with names + ids), institutions, API version, detected widgets, and which subordinate aula.* tools to call. Includes a `usage` block with name-resolution and tool-selection rules. Call ONCE per session and reuse the result — do not re-call mid-session.
aula.profiles.list tool
Raw profiles.getProfilesByLogin response — every child + institution.
aula.presence.today tool
Returns presence/check-in/check-out info for the given child IDs. Status codes: 0=IKKE_KOMMET (not arrived), 1=SYG (reported sick), 2=FERIE_FRI (holiday/not enrolled), 3=KOMMET (arrived/present), 4=PAA_TUR (on a trip), 5=SOVER (sleeping), 6=FRITIDSAKTIVITET, 7=FYSISK_PLACERING, 8=GAAET (picked up/left).
aula.presence.templates tool
Recurring komme/gå (presence) templates for the given children — the drop-off and pickup times a guardian has registered per day. Pass the same child IDs as `aula.presence.today`. `from`/`to` bound the window (YYYY-MM-DD); they default to the current week. Each returned template carries the `institutionProfile.id` that `aula.presence.set_template` needs. Read this before changing a schedule.
aula.presence.set_template tool
Register or overwrite a child's komme/gå template for one day. WRITES to Aula — enabled when AULA_MCP_WRITE=1. Covers one child and one date per call; call once per day to fill a week. Read `aula.presence.templates` first to see the current schedule and confirm the child id. `activityType` picks how the child leaves: picked_up_by ("Hentes af", a named person collects), self_decider ("Selvbestemmer", may leave alone between two times), send_home ("Sendes hjem", leaves alone at exitTime), go_home_with ("Går hjem med", leaves with a named person). Set `repeat` to make it recur on that weekday until `repeatUntil`.aula.presence.report_sick tool
Mark a child as sick for today, or take the report back. WRITES to Aula — enabled when AULA_MCP_WRITE=1. The institution is notified. Applies to today; Aula has no future-dated sick report — use aula.presence.set_template or a vacation registration for a planned absence. An institution can withhold this from guardians, in which case Aula rejects the call.
aula.messages.mark_read tool
Move the read marker in a thread to its newest message, clearing the unread badge. WRITES to Aula — enabled when AULA_MCP_WRITE=1. Pass `messageId` from `aula.messages.list_threads` (thread.latestMessage.id); omit it to mark the thread read up to whatever its newest message is right now. Marking read is not reversible through this API — Aula offers no way to set a thread back to unread, so only call this for threads the user has actually seen.
aula.calendar.events tool
The lesson timetable (skoleskema): subjects, times, rooms — not the weekly letter a teacher writes (that is aula.ugeplan.* / aula.ugebrev.*). Lessons + events for the given child institution-profile IDs. Call aula.discover first and pass children[].id as profileIds. Pass `range` for a preset window (today/tomorrow/this_week/next_week) OR `start`+`end` for a specific window. Timestamps are formatted as Aula expects: "YYYY-MM-DD HH:MM:SS.0000+ZZZZ". Aula uses Europe/Copenhagen.
aula.notifications.list tool
Unread items + activity for the active guardian profile.
aula.groups.list tool
Classes and groups the family’s children belong to. Use the returned group ids with aula.contacts.list.
aula.contacts.list tool
Members of one group or class, from aula.groups.list. Contains other families’ personal data (names, birthdays) — only surface what the user asked for.
aula.posts.list tool
Teacher posts and class-level updates, across every institution the family belongs to (school and club).
aula.raw_request tool
Call any Aula API method directly. Enabled when AULA_MCP_RAW=1. The CSRF token + access_token are added automatically; the response envelope is unwrapped to its `data` field. Use sparingly — most needs have a typed tool.
aula.messages.list_threads tool
One page of threads, most recent first. Aula serves 20 per page and IGNORES `pageSize` — asking for 50 still returns 20. Returns `{ threads, page, hasMorePages }`: when `hasMorePages` is true there are older threads you have not seen, so keep calling with `page` + 1 before concluding anything about the mailbox as a whole (e.g. "no unread messages"). A single call answers "what arrived recently", never "what does the mailbox contain".aula.ugeplan.easyiq tool
Weekly plan from EasyIQ for the given children. Use when the school is on EasyIQ.
aula.ugeplan.meebook tool
Weekly plan from Meebook for the given children. Use when the school is on Meebook.
aula.ugeplan.easyiq_skoleportal tool
Weekly plan from EasyIQ SkolePortal (widget 0128) — a different EasyIQ product than `aula.ugeplan.easyiq` (widget 0001). Use when discover.detectedWidgets contains "0128".
aula.lektier.easyiq tool
Homework items from EasyIQ Lektier (widget 0142) — same vendor as `aula.ugeplan.easyiq_skoleportal` but a separate "Lektier" product. Use when discover.detectedWidgets contains "0142".
aula.opgaver.minuddannelse tool
Homework / task list from Min Uddannelse for the given children. `content` holds the forløb name plus the teacher's description as plain text, fetched through a minuddannelse.net session; if that fails the items come back title-only with a warning.
aula.ugebrev.minuddannelse tool
Weekly newsletter (ugebrev) from Min Uddannelse.
aula.huskelisten.systematic tool
Homework reminders from Systematic. Args may include `from`/`to` ISO YYYY-MM-DD dates.
aula.messages.get_thread tool
Returns subject + every message in the thread. If the thread is sensitive, this tool returns an error code that means the user must MitID step-up to read it (currently a fresh `aula login` from the CLI).
aula.messages.get_attachment tool
Download an attachment from a thread message and write it to a local temporary file, returning the file path. Prefer this over passing Aula attachment URLs through the model — CloudFront presigned URLs are long opaque blobs that LLMs often mangle when echoing into tool calls (MalformedSignature / AccessDenied 403). `attachmentIndex` is zero-based across all attachments in the thread, flattened message-by-message in the order returned by `aula.messages.get_thread`.
aula.posts.get_attachment tool
Download an attachment from a news feed post and write it to a local temporary file, returning the path. Pass `url` and `name` exactly as they appear in the attachments array from `aula.posts.list` — the CloudFront signature is part of the URL, so altering a single character produces a MalformedSignature 403.
aula.utils.extract_pdf_text tool
Read a PDF from a local absolute path — typically one returned by aula.posts.get_attachment or aula.messages.get_attachment — and return its text so it can be read or summarised.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path HIGH1 finding in aula.utils.extract_pdf_text
- Requests any address HIGH1 finding in aula.posts.get_attachment
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 25 capabilities; 25 more call code the scanner could not follow, where it may happen
- Tools that touch files2 of 25 capabilities touch files; 23 more call code the scanner could not follow, where it may happen
- Tools that call the network4 of 25 capabilities call the network; 21 more call code the scanner could not follow, where it may happen
Where the code is: 25 handlers in 1 file at commit 5c64e98eaba9
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests5 manifests: apps/cli/package.json, package.json, packages/aula-auth/package.json, packages/aula-client/package.json, packages/mcp-server/package.json
- Lockfiles checked against OSVNothing could be resolved to exact versions; 6 not resolved: apps/cli/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked; package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK version@modelcontextprotocol/sdk ^1.32.2
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 25 capabilities; 25 more call code the scanner could not follow, where it may happen
- Environment variables3 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.32.2 |
| Servers in the code | 3 (aula-mcp-test, aula-mcp) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-09 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2026-05-03 |
| Topics | ai-agents aula bun claude denmark hono mcp mcp-server mitid model-context-protocol |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.