Classroom Suite MCP
๐ Classroom Suite MCP
A unified MCP (Model Context Protocol) server for Google Workspace education tools - seamlessly integrate Google Classroom, Google Drive, and Google Docs with AI assistants like Claude.
โจ Features
Service | Tools | Description |
๐ Classroom | 6 | Manage courses, assignments, and submissions |
๐ Drive | 7 | Create, upload, download, and share files |
๐ Docs | 4 | Create, read, edit documents and export to PDF |
17 tools total - Everything you need for education automation!
๐ Installation
Using uvx (Recommended)
uvx classroom-suite-mcpUsing pip
pip install classroom-suite-mcpFrom Source
git clone https://github.com/anasdevai/classroom-suite-mcp.git
cd classroom-suite-mcp
pip install -e .๐ Google Cloud Setup
Before using this server, you need to set up Google Cloud credentials:
1. Create a Google Cloud Project
Go to Google Cloud Console
Create a new project or select an existing one
Enable the following APIs:
Google Classroom API
Google Drive API
Google Docs API
2. Create OAuth Credentials
Go to APIs & Services > Credentials
Click Create Credentials > OAuth client ID
Select Desktop app as the application type
Download the credentials as
credentials.json
3. Configure the Server
Place credentials.json in your working directory, or set the path:
export GOOGLE_CREDENTIALS_PATH=/path/to/credentials.jsonOn first run, a browser window will open for OAuth authentication.
โ๏ธ Configuration
Environment Variables
Variable | Default | Description |
|
| Path to OAuth credentials file |
|
| Path to store auth token |
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"classroom-suite": {
"command": "uvx",
"args": ["classroom-suite-mcp"]
}
}
}Or with pip installation:
{
"mcpServers": {
"classroom-suite": {
"command": "classroom-suite-mcp"
}
}
}๐ ๏ธ Available Tools
Google Classroom (6 tools)
Tool | Description |
| List all enrolled courses |
| Get course details |
| List course assignments |
| Get assignment details |
| List assignment submissions |
| Submit work with attachments |
Google Drive (7 tools)
Tool | Description |
| List files and folders |
| Search by name or content |
| Create a new folder |
| Upload a file |
| Download a file |
| Share with users or publicly |
| Move to trash or delete |
Google Docs (4 tools)
Tool | Description |
| Create a new document |
| Read document content |
| Append, prepend, or replace text |
| Export as PDF |
๐ Usage Examples
With Claude
You: List my Google Classroom courses
Claude: I'll list your courses using the classroom-suite-mcp tools.
[Uses list_courses tool]
Here are your courses:
1. Introduction to Computer Science (ACTIVE)
2. Data Structures and Algorithms (ACTIVE)
...Common Workflows
Check assignments and submit:
1. list_courses โ Get course ID
2. list_assignments โ Find pending assignment
3. create_doc โ Create solution document
4. submit_assignment โ Submit with Drive fileOrganize course materials:
1. create_folder โ Create organized folder
2. upload_file โ Upload materials
3. share_file โ Share with classmates๐งช Development
Running Locally
# Clone the repository
git clone https://github.com/anasdevai/classroom-suite-mcp.git
cd classroom-suite-mcp
# Install dependencies
pip install -e .
# Run with stdio transport (for MCP clients)
classroom-suite-mcp
# Run with HTTP transport (for testing)
classroom-suite-mcp --transport http --port 8000Testing with MCP Inspector
npx @anthropic-ai/mcp-inspector classroom-suite-mcp๐ License
MIT License - see LICENSE for details.
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
๐ฌ Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Made with โค๏ธ for educators and students