librus-mcp
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., "@librus-mcp show me my recent grades"
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.
librus-mcp
Local, read-only MCP server for a Librus Portal account. It uses the Portal login flow to obtain a short-lived Librus API token for a chosen Synergia account.
Security model
Credentials are read from
LIBRUS_EMAILandLIBRUS_PASSWORDonly.Cookies and tokens are kept in memory and are discarded when the process exits or
librus_logoutis called.The server permits HTTPS requests only to
portal.librus.plandapi.librus.pl.It exposes an allowlist of read-only API resources; it cannot send messages, mark notices read, or submit arbitrary requests.
It deliberately writes no request, response, credential, token, or API payload to stdout/stderr. Stdout is reserved for MCP protocol traffic.
Do not put credentials in package.json, MCP configuration checked into git, or a tracked .env file.
Related MCP server: Librus Read-only MCP
Install and build
cd /home/xadix0wy/librus-mcp
npm install
npm run buildConfigure an MCP host
Use environment variables in the host's private configuration or secret store:
{
"mcpServers": {
"librus": {
"command": "node",
"args": ["/home/xadix0wy/librus-mcp/dist/index.js"],
"env": {
"LIBRUS_EMAIL": "your-email@example.com",
"LIBRUS_PASSWORD": "your-password"
}
}
}
}LIBRUS_CLIENT_ID is optional. The default is the public client ID from the legacy Librus mobile flow. It is not treated as a secret.
Tools
librus_profiles: lists the Synergia accounts linked to the Portal account.librus_get: reads grades, attendance, timetable, homework, notices, school information and other supported API resources. Passaccount_loginfromlibrus_profiles.librus_logout: clears all in-memory authentication material.
The Portal can require reCAPTCHA or an account action. The server stops with a clear error in that case; complete the required action directly at https://portal.librus.pl or in the official app, then retry.
Compatibility
This relies on an undocumented Portal/API flow observed in the legacy Szkolny Android source. Librus can change or restrict it without notice. It is intended only for the account owner and should be used in accordance with Librus terms and school policy.
Available Tools
3 toolslibrus_getB
Read a supported Librus API resource. This tool is read-only and accepts no arbitrary URL or write operation.
Inputs: resource (required), account_login (required), week_start.
librus_logoutA
Clear all in-memory Librus cookies and tokens. Nothing is persisted to disk.
Inputs: no named parameters.
librus_profilesA
List Librus Synergia accounts linked to the configured Librus Portal account. Use the returned login with librus_get.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clear, distinct responsibility: list linked accounts, read a specific API resource, and clear the session. The profiles tool explicitly points to librus_get, removing ambiguity.
All tools share the consistent librus_ prefix and snake_case style, making them easy to recognize. There is a minor inconsistency between noun-based librus_profiles and verb-based librus_get/librus_logout.
Three tools is a minimal but well-scoped set for a read-only, session-based Librus API bridge. Each tool serves a real workflow step: discovering accounts, reading data, and ending the session.
The session lifecycle is covered, but librus_get is generic and does not enumerate which resources are supported. An agent may struggle to know what API resources can actually be requested.
Related MCP Connectors
Read your plat.plus courses, tasks, course pages, sessions, files and messages. Read-only.
Read Kisi places, doors, users, groups, access rights and access logs (no unlocking).
Read users, groups, departments, courses, content and enrollments in iSpring Learn.
Read-only access to your CodeMouse accounts, repositories, and AI pull-request reviews.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables guardians to securely query read-only Vklass data such as children, news, calendar entries, assignments, grades, meals, and notifications through MCP, with per-user BankID and OAuth 2.1 authentication.2MIT
- FlicenseAqualityBmaintenanceProvides read-only access to Librus parent account data for multiple children, enabling retrieval of grades, attendance, timetable, calendar, homework, announcements, messages, and attachments via MCP.111-
- AlicenseAqualityBmaintenanceProvides read-only access to FreeStyle Libre CGM glucose readings via LibreLinkUp, enabling users to list patients, get current glucose with trend, view 12-hour graphs, and retrieve logbook events.4MIT
- AlicenseAqualityBmaintenanceEnables AI apps to read a student's courses, due dates, grades, missing work, announcements, modules, discussions, syllabus, and calendar events in a read-only way. It cannot submit, edit, or delete anything, and credentials go only to the user's own school.21180 npmMIT