Google Classroom MCP サーバー
Claude や MCP プロトコルをサポートするその他の AI アシスタントを通じて Google Classroom データへのアクセスを提供する MCP (Model Context Protocol) サーバー。
設定
前提条件
- Node.js (v16 以上)
- Google Classroom API が有効になっている Google Cloud Platform プロジェクト
- Google Classroom API の OAuth 2.0 クライアント認証情報
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Google Classroom MCP サーバーを自動的にインストールするには:
手動でインストールする
- このリポジトリをクローンする
- 依存関係をインストールします:
- Google OAuth クライアント認証情報を、プロジェクト ルートの
credentials.json
という名前のファイルに配置します。
- Googleで認証する:
これにより、ブラウザ ウィンドウが起動し、OAuth フローが完了し、資格情報がtokens.json
に保存されます。
claude_desktop_config.json
(通常は%APPDATA%\Claude\
内) を更新して、Claude がこのサーバーを使用するように設定します。
使用法
利用可能なツール
サーバーは、Google Classroom とやり取りするためのいくつかのツールを提供します。
1. courses
- Google Classroom のすべてのコースを一覧表示します
2. course-details
- 特定のコースの詳細情報を取得する
パラメータ:
courseId
: コースのID(courses
ツールから取得できます)
3. assignments
- 特定のコースの課題を取得する
パラメータ:
courseId
: コースのID(courses
ツールから取得できます)
クロードの例題
- Google Classroomのコースをすべて表示
- ID 123456789 の私の数学コースの詳細をご覧ください
- ID 987654321 の歴史コースのすべての課題を表示します
権限
サーバーは次の Google Classroom API 権限を要求します。
classroom.courses.readonly
- コース情報にアクセスするclassroom.announcements.readonly
- コースのアナウンスにアクセスするclassroom.coursework.me.readonly
- 授業や課題にアクセスするにはclassroom.rosters.readonly
- クラス名簿にアクセスする
トラブルシューティング
権限エラーが発生した場合は、以下を試してください。
- 権限を更新するには、再度 auth コマンドを実行します。
- アプリがテストモードの場合、Google Cloud Console で Google アカウントがテストユーザーとして追加されていることを確認します。
authenticateAndSaveCredentials
関数の OAuth スコープをチェックして、ニーズに合致していることを確認します。
注記
- このサーバーは、Claude AI または他の MCP 互換アシスタントで使用するように設計されています。
- すべての API リクエストは認証された Google アカウントを使用して行われます
- トークンの更新はサーバーによって自動的に処理されます
- 機密性の高い認証情報は
tokens.json
ファイルにローカルに保存されます
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
AI アシスタントが Google Classroom データにアクセスして操作できるようにする MCP サーバー。ユーザーは自然言語コマンドを使用してコース、コースの詳細、課題を表示できます。
Related MCP Servers
- -securityFlicense-qualityMCP server that enables AI assistants to perform SEO automation tasks including keyword research, SERP analysis, and competitor analysis through Google Ads API integration.Last updated -
- -securityFlicense-qualityAn MCP server that provides access to Google's API Discovery Service, allowing agents to discover and interact with Google APIs through natural language commands.Last updated -Python
- -securityFlicense-qualityAn MCP (Multi-Agent Conversation Protocol) Server that provides a standardized interface for interacting with Google's Cloud Vision API, enabling AI agents to analyze images and extract visual information through natural language.Last updated -Python
- -securityFlicense-qualityThis MCP Server provides a natural language interface to interact with Google's Policy Analyzer API, allowing users to analyze policies and evaluate compliance through conversations.Last updated -Python