How seongyul-lee/canvas-dongseo-mcp works
This is a Rust stdio MCP server exposing read and selected write operations across Dongseo University systems. The main workflow is a client invoking a domain tool, the server routing it through the application gateway to a system-specific data source, then returning the source response with minimal MCP formatting. Authentication and profile retrieval support that workflow; portal, library, academic databases, MYDEX, CBT, notices, and other integrations are distinct capabilities. Several subsystem links are documented but their handlers were not sampled, so those links are marked unverified.
Main entry points: app.rs Application gateway · tools Tool handlers · server.rs MCP server · main.rs Server composition
Components 20
MCP entrypoint
- MCP server
crates/entrypoints/mcp/src/server.rs - Tool handlers
crates/entrypoints/mcp/src/tools - Result formatting
crates/entrypoints/mcp/src/output.rs
Application core
- Server composition
crates/bin/server/src/main.rs - Application gateway
crates/bin/server/src/app.rs - Use cases
crates/application/src/usecases/mod.rs
Campus services
- SSO and sessions
crates/data_access/auth/src - Student portal
crates/data_access/student_portal/src/client.rs - Library services
crates/data_access/library/src/lib.rs - Academic databases
crates/data_access/academic_db/src/lib.rs - MYDEX services
crates/data_access/mydex/src/lib.rs - CBT services
crates/data_access/cbt/src/lib.rs - Notices and calendar
crates/data_access/school_site/src/lib.rs
Learning systems
- Canvas
crates/data_access/canvas/src/lib.rs - LearningX
crates/data_access/learningx/src/lib.rs - Smart attendance
crates/data_access/smart_attendance/src/lib.rs - Course materials
crates/data_access/commons/src/lib.rs
Other integrations
- Copykiller
crates/data_access/copykiller/src/lib.rs - Everytime
crates/data_access/everytime/src/lib.rs
Other components
- MCP client
Connections 20
- MCP client → MCP server: invokes tools
crates/entrypoints/mcp/src/server.rs - MCP server → Tool handlers: routes tools
crates/entrypoints/mcp/src/server.rs - Server composition → MCP server: starts server
crates/bin/server/src/main.rs - Server composition → Application gateway: assembles sources
crates/bin/server/src/main.rs - Application gateway → Use cases: delegates calls
- Tool handlers → Use cases: invokes operations
- Tool handlers → Result formatting: formats results
crates/entrypoints/mcp/src/tools/auth.rs - Application gateway → Canvas: delegates calls
crates/bin/server/src/app.rs - Application gateway → LearningX: delegates calls
crates/bin/server/src/app.rs - Application gateway → Smart attendance: delegates calls
crates/bin/server/src/app.rs - Application gateway → Notices and calendar: delegates calls
crates/bin/server/src/app.rs - Application gateway → Student portal: delegates calls
crates/bin/server/src/app.rs - Application gateway → Library services: delegates calls
crates/bin/server/src/app.rs - Application gateway → MYDEX services: delegates calls
crates/bin/server/src/app.rs - Application gateway → SSO and sessions: delegates calls
- Application gateway → Academic databases: delegates calls
- Application gateway → CBT services: delegates calls
- Application gateway → Course materials: delegates calls
- Application gateway → Copykiller: delegates calls
- Application gateway → Everytime: delegates calls