librus-mcp
librus-mcp
Librus Portal アカウント向けの、ローカルで読み取り専用の MCP サーバーです。選択した Synergia アカウント用の短時間有効な Librus API トークンを取得するために、Portal のログインフローを使用します。
セキュリティモデル
認証情報は
LIBRUS_EMAILとLIBRUS_PASSWORDからのみ読み取ります。Cookie とトークンはメモリ上に保持され、プロセスが終了するか
librus_logoutが呼び出されると破棄されます。サーバーは
portal.librus.plとapi.librus.plへの HTTPS リクエストのみを許可します。読み取り専用の API リソースの許可リストのみを公開します。メッセージを送信したり、お知らせを既読にしたり、任意のリクエストを送信したりすることはできません。
リクエスト、レスポンス、認証情報、トークン、API ペイロードは意図的に stdout/stderr には書き出しません。Stdout は MCP プロトコルのトラフィック専用に予約されています。
認証情報を package.json、git にチェックインされた MCP 設定、または追跡対象の .env ファイルに置かないでください。
Related MCP server: moodle-utn-mcp
インストールとビルド
cd /home/xadix0wy/librus-mcp
npm install
npm run buildMCP ホストの設定
ホストのプライベート設定またはシークレットストアで環境変数を使用します:
{
"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 は省略可能です。デフォルトは従来の Librus モバイルフローの公開クライアント ID であり、シークレットとしては扱われません。
ツール
librus_profiles: Portal アカウントにリンクされた Synergia アカウントを一覧表示します。librus_get: 成績、出席、時間割、宿題、お知らせ、学校情報など、サポートされている API リソースを読み取ります。librus_profilesのaccount_loginを渡します。librus_logout: メモリ内のすべての認証情報を消去します。
Portal は reCAPTCHA またはアカウント操作を要求する場合があります。その場合、サーバーは明確なエラーを表示して停止します。https://portal.librus.pl または公式アプリで直接必要な操作を完了してから、再試行してください。
互換性
この実装は、従来の Szkolny Android ソースで観察された非公開の Portal/API フローに依存しています。Librus は予告なくこれを変更または制限することがあります。これはアカウント所有者のみを対象としており、Librus の利用規約と学校の方針に従って使用されるべきものです。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityCmaintenanceEnables read-only querying of Moodle as a student, including courses, assignments, grades, forums, and files, using a personal web services token.11
- FlicenseNot gradedqualityBmaintenanceEnables browser-based login to approved UTN Moodle sites and read-only access to the user's profile, course list, and course activities via local Chromium automation.1
- FlicenseBqualityCmaintenanceProvides read-only access to Canvas LMS data including courses, assignments, grades, and deadlines through 23 structured tools.23
- AlicenseAqualityAmaintenanceProvides read-only access to StudyLife data including courses, notes, sessions, and learning goals, enabling MCP clients to query study information via natural language.7AGPL 3.0
Related MCP Connectors
Read-only NuMetric.work accounting & ERP data: statements, KPIs, reports, invoices, documents.
Glucose readings from your LibreLink Up sensor: graph, logbook, stats and summaries (read-only). Sec
Unofficial NTNU course data: search, timetables, grades, course info, and exam logistics.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TechAdrianPro/librus-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server