Overview
The eClass MCP Server is a client designed to interact with the University of Athens' eClass platform, facilitating a connection between a Large Language Model (LLM) and the eClass instance through a Model Context Protocol (MCP).
To use the eClass MCP Server, clone the repository, set up a virtual environment, install dependencies, and configure your credentials in the .env file. You can then run a test script to verify authentication or use the client in your own Python code.
- Authentication with UoA's Single Sign-On (SSO) system (CAS) - Fetching the list of enrolled courses - Session management (login/logout) - Robust error handling and logging
- Accessing course information directly from an LLM chatbox.
- Integrating eClass data into AI-assisted IDEs.
- Automating course management tasks for students and educators.
Add to your AI client
Use these steps to connect eClass MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"eclass-mcp-server-sdi2200262": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eclass-mcp-server-sdi2200262"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"eclass-mcp-server-sdi2200262": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eclass-mcp-server-sdi2200262"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"eclass-mcp-server-sdi2200262": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eclass-mcp-server-sdi2200262"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"eclass-mcp-server-sdi2200262": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eclass-mcp-server-sdi2200262"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"eclass-mcp-server-sdi2200262": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eclass-mcp-server-sdi2200262"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"eclass-mcp-server-sdi2200262": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eclass-mcp-server-sdi2200262"
]
}
}
}FAQ
Is the eClass MCP Server free to use?
Yes! The eClass MCP Server is open-source and free to use.
How do I secure my credentials?
Credentials are stored in a local `.env` file, which should be kept secure and never committed to version control.
What programming language is used?
The eClass MCP Server is implemented in Python.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3513,"uuid":"69402625-8f59-4e7f-83ca-45f76bdbced4","name":"eClass-MCP-Server","title":"eClass MCP Server","description":"an MCP server for GUnet's Open eClass","avatar_url":"https://avatars.githubusercontent.com/u/127118124?v=4","created_at":"2025-03-20T00:39:09.351Z","updated_at":"2025-03-20T00:48:05.913Z","status":"created","author_name":"sdi2200262","author_avatar_url":"https://avatars.githubusercontent.com/u/127118124?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/sdi2200262/eClass-MCP-Server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-23 19:00:35\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]