Classavo MCP Server
Allows exporting gradebook data to Canvas LMS format.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Classavo MCP ServerCreate an assignment for my physics course"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Classavo MCP Server
A Model Context Protocol (MCP) server that enables AI assistants like Claude Desktop to interact with the Classavo education platform via natural language.
Features
For Professors
Course Management - Create courses, manage rosters, invite students
Assignments - Create, update, clone assignments and quizzes
Grading - View submissions, grade work, provide feedback
Attendance - Start sessions, generate codes, track attendance
Live Polling - Create and run polls during class
Discussions - Create threads, pin comments, manage discussions
Analytics - View insights, export gradebook to LMS formats
For Students
View Grades - See YOUR grades (privacy protected)
Submit Work - Submit assignments
Attendance - Check in with attendance codes
Polling - Vote in active polls
Discussions - Participate in discussions
Content - View course chapters and materials
Related MCP server: EduBase MCP Server
Privacy Controls
Important: This server implements strict privacy controls:
Students can ONLY view their own grades, submissions, and attendance
Student tools do not accept
student_idparametersAPI endpoints return only the authenticated user's data
Professor-only tools verify user role before execution
Installation
Prerequisites
Python 3.10+
A Classavo account (Professor or Student)
Setup
Clone the repository:
git clone https://github.com/kiranprakashkm/classavo-mcp.git
cd classavo-mcpCreate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtConfiguration
Environment Variables
Create a .env file or set these environment variables:
# Classavo API URL (production or local)
CLASSAVO_API_URL=https://api.classavo.com
# Option 1: Pre-configured API token
CLASSAVO_API_TOKEN=your_token_here
# Option 2: Username/password for login flow
CLASSAVO_USERNAME=your_email@example.com
CLASSAVO_PASSWORD=your_password
# Optional settings
CLASSAVO_RATE_LIMIT=10 # Requests per second
DEBUG=falseClaude Desktop Configuration
Add to ~/.config/claude/claude_desktop_config.json (macOS/Linux) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"classavo": {
"command": "python",
"args": ["/path/to/classavo-mcp/main.py"],
"env": {
"CLASSAVO_API_URL": "https://api.classavo.com",
"CLASSAVO_USERNAME": "your_email@example.com",
"CLASSAVO_PASSWORD": "your_password"
}
}
}
}Alternatively, use an API token:
{
"mcpServers": {
"classavo": {
"command": "python",
"args": ["/path/to/classavo-mcp/main.py"],
"env": {
"CLASSAVO_API_URL": "https://api.classavo.com",
"CLASSAVO_API_TOKEN": "your_api_token_here"
}
}
}
}Running the Server
Standalone
python main.pyWith Claude Desktop
After configuring Claude Desktop, restart it. The Classavo tools will be available automatically.
Available Tools
Authentication
Tool | Description |
| Authenticate with username/password |
| End session |
| View current user info |
| View notifications |
Courses
Tool | Description | Access |
| List your courses | All |
| Get course details | All |
| Create a new course | Professor |
| View enrolled students | Professor |
| Invite students by email | Professor |
| Join with invite code | Student |
| View course insights | Professor |
Assignments
Tool | Description | Access |
| List assignments | All |
| Get assignment details | All |
| Create assignment | Professor |
| Update assignment | Professor |
| Delete assignment | Professor |
| Add question to assignment | Professor |
| Clone to another course | Professor |
Grading & Submissions
Tool | Description | Access |
| View all submissions | Professor |
| View submission details | Professor |
| Grade a submission | Professor |
| Full gradebook | Professor |
| Export to LMS format | Professor |
| Your grades only | Student |
| Your submissions only | Student |
| Submit your work | Student |
Attendance
Tool | Description | Access |
| Start attendance | Professor |
| End session | Professor |
| View active sessions | Professor |
| Attendance report | Professor |
| Manual marking | Professor |
| Check in with code | Student |
| Your attendance | Student |
Polling
Tool | Description | Access |
| List polls | Professor |
| Create a poll | Professor |
| Launch poll | Professor |
| End poll | Professor |
| View results | Professor |
| Cast your vote | Student |
| View active polls | Student |
Discussions
Tool | Description | Access |
| List discussions | All |
| View discussion | All |
| Create thread | Professor |
| Add comment | All |
| Pin comment | Professor |
| Delete thread | Professor |
Search
Tool | Description | Access |
| Search across courses | All |
Example Usage
Professor Examples
"List all my courses"
"Show the roster for Chemistry 101"
"Create a homework assignment called 'Chapter 5 Review' for course abc123"
"Start attendance for my Biology class"
"How did students do on the midterm exam?"
"Export grades to Canvas format"Student Examples
"What are my grades in Chemistry?"
"Show my upcoming deadlines"
"Check me in with attendance code 1234"
"Submit my homework for assignment xyz"
"Vote option B in the current poll"Development
Running Tests
pytest
pytest --cov=. --cov-report=term-missingProject Structure
classavo-mcp/
├── main.py # FastMCP server entry point
├── config.py # Environment configuration
├── client.py # Async HTTP client for Classavo API
├── auth.py # Authentication management
├── tools/
│ ├── __init__.py # Tool registration
│ ├── auth_tools.py # Login, profile, notifications
│ ├── course_tools.py # Course CRUD, roster
│ ├── assignment_tools.py # Assignment management
│ ├── grading_tools.py # Submissions, grading
│ ├── attendance_tools.py # Attendance tracking
│ ├── polling_tools.py # Live polls
│ ├── discussion_tools.py # Discussion boards
│ └── student_tools.py # Student-specific (privacy protected)
├── requirements.txt
├── README.md
└── PLAN.mdLicense
MIT License - See LICENSE file for details.
Support
For issues or questions:
Open an issue on GitHub
Contact the Classavo support team
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.
Latest Blog Posts
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/kiranprakashkm/classavo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server