Google Classroom MCP Server
Сервер MCP Google Classroom
Сервер MCP (Model Context Protocol), который обеспечивает доступ к данным Google Classroom через Claude и других помощников на базе искусственного интеллекта, поддерживающих протокол MCP.
Настраивать
Предпосылки
Node.js (v16 или выше)
Проект Google Cloud Platform с включенным Google Classroom API
Учетные данные клиента OAuth 2.0 для API Google Classroom
Установка
Установка через Smithery
Чтобы автоматически установить Google Classroom MCP Server для Claude Desktop через Smithery :
npx -y @smithery/cli install @faizan45640/google-classroom-mcp-server --client claudeУстановка вручную
Клонировать этот репозиторий
Установите зависимости:
npm installПоместите учетные данные клиента Google OAuth в файл с именем
credentials.jsonв корне проекта:
{
"web": {
"client_id": "YOUR_CLIENT_ID",
"project_id": "YOUR_PROJECT_ID",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_secret": "YOUR_CLIENT_SECRET",
"redirect_uris": ["http://localhost:3000/auth/google/callback"]
}
}Аутентификация с помощью Google:
node index.js authОткроется окно браузера для завершения процесса OAuth и сохранения ваших учетных данных в tokens.json .
Настройте Claude для использования этого сервера, обновив
claude_desktop_config.json(обычно в%APPDATA%\Claude\):
{
"mcpServers": {
"class": {
"command": "node",
"args": [
"PATH_TO_YOUR_DIRECTORY\\index.js"
]
}
}
}Related MCP server: gscope
Использование
Доступные инструменты
Сервер предоставляет несколько инструментов для взаимодействия с Google Classroom:
1. courses — перечислите все свои курсы Google Classroom
Use the 'courses' tool to get a list of all your Google Classroom courses2. course-details - Получите подробную информацию о конкретном курсе
Use the 'course-details' tool with the courseId parameter to get details and announcements for a specific courseПараметры:
courseId: идентификатор курса (можно получить с помощью инструментаcourses)
3. assignments - Получите задания по определенному курсу
Use the 'assignments' tool with the courseId parameter to get assignments and your submissions for a specific courseПараметры:
courseId: идентификатор курса (можно получить с помощью инструментаcourses)
Примеры подсказок для Клода
Покажите мне все мои курсы Google Classroom
Получить подробную информацию о моем курсе математики с идентификатором 123456789
Покажите мне все задания по моему курсу истории с идентификатором 987654321
Разрешения
Сервер запрашивает следующие разрешения API Google Classroom:
classroom.courses.readonly— для доступа к информации о курсеclassroom.announcements.readonly— для доступа к объявлениям курсаclassroom.coursework.me.readonly— для доступа к вашим курсовым работам и заданиямclassroom.rosters.readonly— для доступа к спискам классов
Поиск неисправностей
Если вы столкнулись с ошибками разрешений, попробуйте:
Повторный запуск команды auth для обновления разрешений:
node index.js authУбедитесь, что ваша учетная запись Google добавлена в качестве тестового пользователя в Google Cloud Console, если ваше приложение находится в режиме тестирования.
Проверка областей OAuth в функции
authenticateAndSaveCredentials, чтобы убедиться, что они соответствуют вашим потребностям
Примечания
Этот сервер предназначен для использования с Claude AI или другими помощниками, совместимыми с MCP.
Все запросы API выполняются с использованием вашей аутентифицированной учетной записи Google.
Обновление токена выполняется сервером автоматически.
Конфиденциальные учетные данные хранятся локально в файле
tokens.json
This server cannot be installed
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
- Alicense-qualityDmaintenanceAn MCP server that integrates with the Dnevnik.ru API to provide AI assistants with access to school schedules, grades, and homework. It enables users to query educational data and manage school-related information through natural language.2MIT
- Flicense-qualityDmaintenanceAn MCP server that enables AI assistants to interact with Google Docs, Sheets, and Drive using the user's own Google account.
- Alicense-qualityDmaintenanceUnified MCP server for Google Classroom, Drive, and Docs, enabling AI assistants to manage courses, assignments, files, and documents.MIT
- Alicense-qualityCmaintenanceAn MCP server that connects AI assistants to university D2L Brightspace and Piazza, enabling query of courses, grades, assignments, deadlines, files, and Piazza posts.7MIT
Related MCP Connectors
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
An MCP server that integrates with Discord to provide AI-powered features.
An MCP server that gives your AI access to the source code and docs of all public github repos
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/faizan45640/google-classroom-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server