A Model Context Protocol (MCP) server for managing and querying Cloud Computing course materials. This server provides intelligent access to your lecture notes, tutorials, homework, and past papers through AI-powered tools.
- Search Across All Materials: Full-text search across lectures, tutorials, homework, and past papers
- Week-Based Organization: Retrieve all materials for any specific week (1-13)
- Past Paper Access: Quick access to all past year exam papers
- Course Overview: Get a complete overview of available materials
- AI-Powered Study Assistant: Built-in prompts for studying and exam preparation
- Resource Access: Direct access to any document by path
- Node.js 17 or higher
- npm
- Clone or navigate to this directory
- Install dependencies:
npm install- Build the project:
npm run buildPlace your materials in the materials/ directory following this structure:
materials/
├── lectures/week-1/ # Week 1 lecture notes
├── lectures/week-2/ # Week 2 lecture notes
├── ...
├── tutorials/week-1/ # Week 1 tutorial questions
├── tutorial-answers/week-1/ # Week 1 tutorial answers
├── homework/week-1/ # Week 1 homework
├── homework-answers/week-1/ # Week 1 homework answers
└── past-papers/ # Past year papers by year (2015-2024)
├── 2015/
├── 2016/
├── ...
├── 2023/
└── 2024/
Supported file formats:
- Markdown (.md)
- Text (.txt)
- PDF (.pdf)
- Any text-based format
# Add lecture notes
cp ~/Downloads/week1-lecture.pdf materials/lectures/week-1/
# Add tutorial
cp ~/Downloads/week1-tutorial.md materials/tutorials/week-1/
# Add tutorial answers
cp ~/Downloads/week1-answers.md materials/tutorial-answers/week-1/
# Add past papers by year
cp ~/Downloads/2023-midterm.pdf materials/past-papers/2023/
cp ~/Downloads/2023-final.pdf materials/past-papers/2023/
cp ~/Downloads/2024-exam.pdf materials/past-papers/2024/- Open VS Code Command Palette (
Cmd+Shift+Pon macOS,Ctrl+Shift+Pon Windows/Linux) - Type and select: "MCP: Open User Configuration"
- Add this configuration to your
mcp.json:
{
"mcpServers": {
"cloud-computing": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/Cloud Computing MCP Server/build/index.js"]
}
}
}Replace /ABSOLUTE/PATH/TO/ with the actual path to this directory.
- Save the file and restart VS Code or GitHub Copilot
Note: The MCP configuration file is located at:
- macOS/Linux:
~/.vscode/mcp.json - Windows:
%USERPROFILE%\.vscode\mcp.json
If you prefer Claude Desktop, add to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS:
{
"mcpServers": {
"cloud-computing": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/Cloud Computing MCP Server/build/index.js"]
}
}
}npx @modelcontextprotocol/inspector node build/index.jsSearch across all course materials by content or filename.
Parameters:
query(string): Search termmaterialType(optional): Filter by type (lectures,tutorials,tutorialAnswers,homework,homeworkAnswers,pastPapers, orall)
Example:
Search for "virtualization" in all materials
Search for "docker" in lectures only
Retrieve all materials for a specific week.
Parameters:
week(number): Week number (1-13)materialType: Type of material (lectures,tutorials,tutorialAnswers,homework,homeworkAnswers)
Example:
Get lecture notes for week 5
Get tutorial answers for week 3
List all available past year exam papers organized by year (2015-2024).
Parameters:
year(optional): Filter by specific year
Example:
Show me all past papers
List past papers for 2023
Get all past papers for a specific year.
Parameters:
year(number): Year to retrieve papers from (2015-2024)
Example:
Get all papers from 2024
Show me 2023 exam papers
Get an overview of all available course materials.
Example:
Give me an overview of the course
A guided prompt to help you study materials for a specific week.
Example usage in AI chat:
/study-week week=5 focusArea="containerization"
A comprehensive prompt to help you prepare for your exam.
Example usage in AI chat:
/exam-prep topics="cloud architecture, virtualization, docker"
The server also exposes documents as resources that can be directly referenced:
cloudcomputing://document/{path}- Access any document by its relative path
- Ask your AI assistant: "Help me study Week 3"
- The AI will use
get-week-materialsto retrieve lectures, tutorials, and answers - Ask follow-up questions about specific concepts
- Ask: "Find all materials about Kubernetes"
- The AI will use
search-materialsto find relevant content across all weeks - Get direct access to the relevant documents
- Use the
/exam-prepprompt or ask: "Help me prepare for my Cloud Computing exam" - The AI will:
- List all past papers
- Search for key concepts
- Help you practice questions
- Create a study plan
.
├── src/
│ └── index.ts # Main MCP server implementation
├── materials/ # Your course materials
│ ├── lectures/
│ ├── tutorials/
│ ├── tutorial-answers/
│ ├── homework/
│ ├── homework-answers/
│ └── past-papers/
├── build/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
└── README.md
- Edit
src/index.ts - Rebuild:
npm run build - Restart your MCP client to pick up changes
npm run devThis will automatically rebuild when you make changes to the source code.
- Organize Your Materials: Keep materials organized by week for easy retrieval
- Use Descriptive Filenames: Name files clearly (e.g.,
week3-docker-containers.md) - Combine with AI: Ask the AI to quiz you, explain concepts, or create study guides
- Search Effectively: Use specific terms to find relevant materials across all weeks
- Practice with Past Papers: Use the
list-past-paperstool to access previous exams
All materials are stored locally on your machine. The MCP server only provides access to your AI assistant through the Model Context Protocol. Your course materials never leave your computer.
MIT
To create a distribution package for sharing:
# Create npm package
npm pack
# This creates cloud-computing-mcp-server-1.0.0.tgz
# Share this file with others who can install it with:
# npm install -g cloud-computing-mcp-server-1.0.0.tgzThis is a personal study tool, but feel free to customize it for your own needs!
- Make sure you've run
npm installandnpm run build - Check that Node.js version is 17 or higher:
node --version
- Verify files are in the correct directory structure
- Check file permissions (files must be readable)
- Try using the
get-course-overviewtool to see what's detected
- Ensure files are text-based (not binary PDFs without text layer)
- Check file encoding (should be UTF-8)
- Try searching for exact words from the document
See materials/lectures/week-1/lecture-notes.md for a template of how to structure your content.
Happy Studying! 🎓 Use this tool to ace your Cloud Computing exam!