Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

INIAD-MOOCs-MCP

MCP.Pizza Chef: rarandeyo

INIAD-MOOCs-MCP is an unofficial MCP server automating login, assignment submission, file uploads, and form filling for the INIAD MOOCs university platform. Built on Playwright MCP, it supports automatic retrieval of lectures, slides, and assignments, enabling seamless integration with MCP hosts like Claude, Cursor, and VSCode. It requires environment variables for user credentials and simplifies academic workflow automation.

Use This MCP server To

Automate login to INIAD MOOCs with environment-stored credentials Automatically retrieve lecture lists, slides, and assignment details Submit assignments including file uploads and form inputs automatically Integrate with MCP hosts like Claude, Cursor, and VSCode for task automation Streamline university coursework submission workflows Enable scripted interaction with INIAD MOOCs platform for bulk tasks

README

非公式 INIAD MOOCs MCP サーバー

大学の課題提出サイト INIAD MOOCs への自動ログイン・課題提出・ファイルアップロード・フォーム入力を自動化する Model Context Protocol (MCP) サーバーです。
Playwright MCP をベースに、INIAD向けの自動化ツールを追加しています。

主な特徴

  • INIADアカウントで自動ログイン(環境変数で指定)
  • 講義一覧・講義回・スライド・課題内容の自動取得
  • 課題提出の自動化(ファイルアップロード・フォーム入力)
  • MCPプロトコル対応:ClaudeやCursor、VSCode等各種MCPホストから利用可能

必要な環境変数

  • INIAD_USERNAME : INIAD MOOCsのユーザー名(メールアドレスの「@」より前の部分、かつ必ずsで始まる学籍番号を指定してください。
  • INIAD_PASSWORD : INIAD MOOCsのパスワード

使用方法

⚠️ CursorやVS CodeなどでWSLを利用している場合のnpm・npxバージョン互換性について

CursorやVS CodeなどでWSLを利用している場合、WSL側とWindows側で異なるメジャーバージョンのnpmやnpxを使用していると、コマンド実行時にエラーや予期しない挙動が発生することがあります。
特にnpxのバージョン違いによる動作不良が報告されています。
トラブルが発生した場合は、WSLとWindowsのnpm/npxのバージョンを揃えることを検討してください。

1. MCPホスト設定例

Cursor、Cline、Claude Desktop など主要なMCPホストでは、以下のような 例: mcp_config.json を用いてMCPサーバーを登録できます。

{
  "mcpServers": {
    "iniad-moocs-mcp": {
      "command": "npx",
      "args": [
        "@rarandeyo/iniad-moocs-mcp",
        "--headless"
      ],
      "env": {
        "INIAD_USERNAME": "your_username",
        "INIAD_PASSWORD": "your_password"
      }
    }
  }
}
ヘッドあり(ブラウザ画面を表示したい場合)
{
  "mcpServers": {
    "iniad-moocs-mcp": {
      "command": "npx",
      "args": [
        "@rarandeyo/iniad-moocs-mcp"
      ],
      "env": {
        "INIAD_USERNAME": "your_username",
        "INIAD_PASSWORD": "your_password"
      }
    }
  }
}

2. VS Code からのインストール・起動

コマンドパレットから
  1. コマンドパレット(Ctrl+Shift+P)を開く
  2. MCP: Add Server を選択
  3. 以下の内容を入力

ヘッドレスモード:

{"name":"iniad-moocs-mcp","command":"npx","args":["@rarandeyo/iniad-moocs-mcp","--headless"],"env":{"INIAD_USERNAME":"your_username","INIAD_PASSWORD":"your_password"}}

ヘッドあり:

{"name":"iniad-moocs-mcp","command":"npx","args":["@rarandeyo/iniad-moocs-mcp"],"env":{"INIAD_USERNAME":"your_username","INIAD_PASSWORD":"your_password"}}
CLIから直接追加

VS Codeの場合:

code --add-mcp '{"name":"iniad-moocs-mcp","command":"npx","args":["@rarandeyo/iniad-moocs-mcp","--headless"],"env":{"INIAD_USERNAME":"your_username","INIAD_PASSWORD":"your_password"}}'

VS Code Insidersの場合:

code-insiders --add-mcp '{"name":"iniad-moocs-mcp","command":"npx","args":["@rarandeyo/iniad-moocs-mcp","--headless"],"env":{"INIAD_USERNAME":"your_username","INIAD_PASSWORD":"your_password"}}'

ユーザーデータディレクトリについて

Playwright MCP(および本ツール)は、ブラウザを起動する際に「ユーザープロファイル(ユーザーデータ)」を新規作成し、その中にログイン情報やCookie、キャッシュなどを保存します。

  • 保存場所(OSごと):
    • Windows: %USERPROFILE%\AppData\Local\ms-playwright\mcp-chrome-profile
    • macOS: ~/Library/Caches/ms-playwright/mcp-chrome-profile
    • Linux: ~/.cache/ms-playwright/mcp-chrome-profile

このディレクトリには、ログイン状態やセッション情報、履歴などが保存されます。

  • メリット:
    • 一度ログインすれば、次回以降も自動でログイン状態が維持されます。
    • 毎回ログインし直す必要がありません。
  • リセット方法:
    • セッションやログイン状態をリセットしたい場合は、このディレクトリを削除してください。
    • 削除すると、次回起動時は新しいプロファイルでまっさらな状態から開始されます。

ライセンス

Apache License 2.0


注意事項・コントリビューション

⚠️ 非公式・自己責任について

  • 本ツールはINIAD公式・東洋大学公式のものではありません。
  • 本ツールの利用によって生じたいかなる損害・不利益についても、開発者は一切責任を負いません。利用は自己責任でお願いします。

💡 コントリビューション歓迎
バグ報告・機能要望・プルリクエスト等は歓迎です!

参考

INIAD-MOOCs-MCP FAQ

How do I set up environment variables for INIAD-MOOCs-MCP?
Set INIAD_USERNAME with your student ID starting with 's' and INIAD_PASSWORD with your INIAD MOOCs password as environment variables.
Can I use INIAD-MOOCs-MCP with different MCP hosts?
Yes, it supports integration with various MCP hosts such as Claude, Cursor, and VSCode.
What base technology does INIAD-MOOCs-MCP use for automation?
It is built on Playwright MCP, extending it with INIAD-specific automation features.
Are there any compatibility issues to be aware of?
When using WSL with Cursor or VSCode, ensure npm and npx versions match between Windows and WSL to avoid errors.
Does INIAD-MOOCs-MCP support automatic form filling?
Yes, it automates form input as part of the assignment submission process.
Is this MCP server officially supported by INIAD?
No, it is an unofficial server developed to automate INIAD MOOCs tasks.
How secure is the credential handling?
Credentials are passed via environment variables, so secure your environment accordingly.
Can I customize the automation workflows?
Customization is possible by modifying the underlying Playwright scripts and MCP server configuration.