Aula MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Aula MCP Server What's happening at school this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Aula MCP Server
An MCP (Model Context Protocol) server that gives Claude real-time access to Aula.dk — the Danish school communication platform. Ask Claude about your child's school day, upcoming events, messages from teachers, and more — all translated from Danish on the fly.
Prerequisites
Node.js 18+
Google Chrome installed (used for MitID authentication)
A MitID account linked to your child's Aula profile
Claude Desktop (Windows, macOS, or Linux)
Related MCP server: io.github.thehesiod/psquare
Quick Start
Add this to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"aula": {
"command": "npx",
"args": ["-y", "@ilenhart/aula-mcp-server"],
"env": {
"BROWSER_EXECUTABLE_PATH": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"AULA_CHILD_NAME": "YourChildFirstName"
}
}
}
}Restart Claude Desktop. Then just ask Claude: "Log me into Aula" — a Chrome window will open for MitID authentication.
How Authentication Works
Aula.dk uses Denmark's MitID national 2FA system. There's no API key — you authenticate by scanning a QR code with the MitID phone app.
Ask Claude to log into Aula
A Chrome window opens with the Aula login page
Click through to the MitID screen, enter your username, and scan the QR code with your MitID app
The server detects the completed login, captures the session cookie, and closes the browser
The session is kept alive automatically with background pings every 15 minutes
Sessions persist across Claude Desktop restarts (stored in ~/.aula-mcp/session.json). You only need to re-authenticate if the session expires (typically after server maintenance).
Available Tools
Authentication
Tool | Description |
| Start MitID auth flow or confirm existing session |
| Poll for completed QR scan (called automatically) |
| Check if current session is valid |
School Data
Tool | Description |
| Recent school announcements and updates |
| Recent messages from teachers and parents |
| Full conversation thread by ID |
| All active message threads |
| Calendar events with type filtering |
| Today's attendance status and notes |
| Recent photo albums and media |
| Search for parents, teachers, and staff |
| Weekly lesson plans and book lists |
Configuration
All configuration is via environment variables, set in the "env" block of your Claude Desktop config.
Variable | Required | Default | Description |
| Yes | — | Path to Chrome executable |
| Yes | — | Your child's first name (for profile selection) |
| No | (first found) | School name (partial match) |
| No |
| Aula API base URL |
| No |
| Session keepalive interval |
| No |
| Directory for session data |
Common Chrome paths
Windows:
C:\Program Files\Google\Chrome\Application\chrome.exemacOS:
/Applications/Google Chrome.app/Contents/MacOS/Google ChromeLinux:
/usr/bin/google-chrome
Example Conversations
You: What's happening at school this week?
Claude: Fetches posts, calendar events, and messages, translates from Danish, and gives you a summary
You: Are there any messages from the teacher I should respond to?
Claude: Checks recent message threads, identifies ones needing a reply
You: What does my child's schedule look like next week?
Claude: Pulls calendar events and MeeBook weekly plans
Development
If you want to contribute or run from source:
git clone https://github.com/ilenhart/aula-mcp-server.git
cd aula-mcp-server
npm install
npm run buildFor local development with auto-reload:
npm run devTo use the local version in Claude Desktop, update your config to point at the built file:
{
"mcpServers": {
"aula": {
"command": "node",
"args": ["C:/path/to/aula-mcp-server/dist/index.js"],
"env": {
"BROWSER_EXECUTABLE_PATH": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"AULA_CHILD_NAME": "YourChildFirstName"
}
}
}
}Troubleshooting
"No session stored" / "Session expired"
Call aula_login to re-authenticate via MitID.
Chrome doesn't open
Verify BROWSER_EXECUTABLE_PATH points to your actual Chrome installation. The path must be the full path to the executable, not just the directory.
"Failed to start login flow" Chrome may already be running with a conflicting profile. Try closing all Chrome windows first.
Session dies frequently
The default 15-minute ping interval should keep sessions alive. If you're still losing sessions, try reducing PING_INTERVAL_MINUTES to 10.
How It Works
This server uses the @ilenhart/aula-apiclient-ts library to communicate with Aula's internal API. Authentication is handled via puppeteer-core (using your installed Chrome — no bundled browser) to capture the session cookie after MitID login.
All content from Aula is in Danish. Claude translates and interprets it conversationally when presenting it to you.
License
MIT
Available Tools
14 toolsaula_check_authA
Check if the MitID QR code was scanned and authentication completed. Call this after aula_login. May return a refreshed QR screenshot if the previous one expired.
Inputs: no named parameters.
aula_find_peopleB
Search for people (parents, children, teachers, employees) connected to your school on Aula.
Inputs: name (required), role.
aula_get_attachmentA
Download an attachment (image or file) from Aula and save it locally. Returns metadata and local file path WITHOUT including the actual file content in the response (to avoid overwhelming context). Use the attachment URL from aula_get_posts or aula_get_messages results.
Inputs: attachment_url (required), attachment_type (required), filename, attachment_id.
aula_get_calendarB
Get calendar events from Aula (school events, excursions, holidays, lessons, etc.).
Inputs: filter, days_back, days_forward.
aula_get_daily_overviewA
Get today's daily overview for your child (attendance status, check-in/out times, notes).
Inputs: no named parameters.
aula_get_galleryA
Get recent photo albums and media from Aula. Returns album metadata and media URLs (not the actual images).
Inputs: days_back, album_limit, media_limit.
aula_get_meebookA
Get MeeBook weekly plans and book lists for your child's class. Includes lesson plans, learning goals, and assigned reading.
Inputs: no named parameters.
aula_get_messagesA
Get recent messages from Aula (individual or group messages from teachers/parents). Content is in Danish.
Inputs: limit, days_back.
aula_get_postsA
Get recent general posts from Aula (announcements, updates from school). Content is in Danish — Claude can translate.
Inputs: limit, days_back.
aula_get_threadA
Get a full message thread by thread ID, including all messages in the conversation.
Inputs: thread_id (required).
aula_get_threadsA
Get all message threads with recent activity, including full message history for each thread.
Inputs: days_back.
aula_loginA
Start Aula authentication. If a valid session exists, confirms it. Otherwise opens a Chrome window with the MitID QR code and returns a screenshot for you to scan with your phone.
Inputs: no named parameters.
aula_session_statusA
Check if the current Aula session is valid without starting an auth flow.
Inputs: no named parameters.
aula_view_attachmentA
Load and view a previously downloaded attachment. Returns the actual file content (as base64 for images/files or text for text files). ONLY call this when the user explicitly asks to view/see/analyze an attachment. WARNING: MCP tool responses have a 1MB limit. Files larger than ~750KB will fail when base64-encoded. For large files, provide the user with the S3 URL or local file path instead.
Inputs: local_path (required), max_size_mb.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool targets a clearly distinct resource or action: auth status, login initiation, auth polling, daily overview, posts, messages, threads, calendar, gallery, people search, MeeBook, and attachment handling. Even the three auth-related tools are well separated by their specific roles.
All tools share the 'aula_' prefix and snake_case format, with most following the verb_noun pattern (get_posts, get_thread, find_people). Minor deviations like 'aula_login' and 'aula_session_status' break the pattern slightly, but the overall style is consistent and readable.
14 tools is well within the ideal range for a domain-specific server. Each tool covers a distinct feature of the Aula platform, from authentication to content retrieval, without unnecessary redundancy or bloat.
The server provides comprehensive read-only coverage for Aula: authentication, daily overview, posts, messages, threads, calendar, gallery, people, MeeBook, and attachments. However, it lacks any write operations (e.g., sending messages or creating posts) and does not explicitly address multiple children, leaving notable gaps for a full parent-facing integration.
Maintenance
Related MCP Connectors
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Your Telegram, WhatsApp, Instagram, mail and calendar in Claude or ChatGPT. Never sends messages.
Your own WhatsApp in Claude and ChatGPT: read chats, draft replies, send messages you approve.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceThis server enables MCP clients (LLMs) to access data from the Danish school platform Aula, such as messages, schedules, and child profiles, by authenticating via MitID and running locally.17 npm65MIT
- AlicenseAqualityBmaintenanceEnables Claude to access ParentSquare school-parent communication platform, including feeds, calendar, conversations, and media files.48129 PyPI15MIT
- AlicenseAqualityFmaintenanceEnables Claude to access the ParentSquare school-parent communication platform via its web interface and internal APIs, covering parent features like feeds, calendars, messages, forms, and payments, plus school admin roster management such as students, guardians, classes, and staff.48MIT
- AlicenseAqualityCmaintenanceEnables Claude to access school information system data such as timetables, grades, homework, messages, students, teachers, and meal information, including meal ratings.26GPL 3.0