Welcome to the training hub for mastering Context Engineering with Model Context Protocol (MCP). Whether you're building AI applications or deepening your understanding of persistent AI memory, this guide provides everything you need to implement production-ready context systems.
π Looking for the course plan? View the Context Engineering Course Plan!
Last updated: October 30, 2025
- Claude MCP Documentation - Official Claude integration guide
- MCP Specification 2025-06-18 - Latest protocol specification
- Model Context Protocol Organization - Official MCP GitHub organization with core repositories
- MCP TypeScript SDK - Official TypeScript/JavaScript SDK for building MCP servers and clients
- Official MCP Servers Collection - Anthropic's curated collection of production-ready MCP servers
- Introduction to Model Context Protocol Course - Free training course by Anthropic
- MCP Servers Directory - Community-maintained directory of available MCP servers
- Awesome MCP Servers - Curated list of community MCP server implementations
- MCP Community Hub - Community-driven MCP projects and resources
- Zapier MCP Server Collection - Zapier's MCP server implementations and integrations
- GitHub MCP Server - Official GitHub MCP server for repository integration
This hands-on course is structured into 4 segments, each approximately 50 minutes:
-
Understanding Context - Why Your AI Has Amnesia (50 min)
- Token budgets, context windows, and tokenization fundamentals
- Live demo: ChatGPT vs Claude with MCP
- Hands-on with Claude Desktop and VS Code GitHub Copilot
- Configure your first MCP server for persistent context
-
Building Local MCP Servers - Your First Context System (50 min)
- Build production-ready MCP servers with TypeScript/Python SDK
- Implement tools, resources, and prompts for AI discovery
- Test with MCP Inspector browser tool
- Create GitHub repository integration for long-term memory
-
Azure Deployment - From Local to Cloud-Scale Memory (50 min)
- Deploy MCP servers to Azure App Service
- Configure authentication, secrets, and Key Vault integration
- Implement persistent storage with Azure Cosmos DB
- Monitor with Application Insights and logging
-
Advanced Patterns - Multi-Agent Memory Architectures (50 min)
- Design episodic, semantic, and working memory systems
- Implement vector search with Azure AI Search
- Build multi-agent orchestration across ChatGPT, Claude, and Copilot
- Production considerations: security, scale, and cost optimization
π‘ See the full detailed course plan for complete information!
Level: Intermediate Duration: 4 hours (4 Γ 50-minute segments) Format: Hands-on live training
You mastered promptingβnow stop your AI from forgetting everything. This hands-on course teaches you Context Engineering using MCPβthe production-ready protocol adopted by Microsoft and Anthropic. You'll build persistent AI memory using MCP servers, Azure AI Service, GitHub, and VS Code, eliminating tedious context resets forever.
By the end of this course, you will have:
- β Built a working MCP server that gives AI access to your GitHub repositories
- β Deployed production MCP infrastructure to Azure with authentication and monitoring
- β Implemented multi-agent memory systems that persist across sessions
- β Configured Claude Desktop, VS Code Copilot, and ChatGPT with persistent context
Leave with working code, templates, and the exact memory patterns the leading companies use today.
As a context engineer, you implement, manage, and optimize AI memory systems that enable agents to maintain state across sessions. You build MCP servers that expose tools, resources, and persistent context to AI platforms including Claude, ChatGPT, and GitHub Copilot.
- Use ChatGPT Plus/Team, Claude Pro, or GitHub Copilot in your daily work
- Need AI tools that retain context reliably across sessions and workflows
- Want practical, Azure-integrated solutions for context persistence
- Seek to master MCP early to lead adoption in your enterprise
- Are tired of copy-pasting the same context into every conversation
- Active experience with at least one AI assistant (ChatGPT, Claude, or Copilot)
- Comfortable with GitHub repos, commits, and basic Git workflows
- Basic understanding of Azure services or willingness to create free account
- Programming experience in JavaScript/TypeScript or Python
- Command-line basics: can run npm/pip commands and navigate directories
Essential links for mastering Model Context Protocol:
- MCP Official Specification
- MCP Documentation Hub
- Course Repository
- TypeScript SDK Documentation
- Python SDK Documentation
- MCP Inspector Tool
- Claude Desktop Setup Guide
Structured resources to master all course skills:
- MCP Protocol Overview
- MCP Architecture Guide
- Building MCP Servers
- MCP Client Integration
- Security Best Practices
- Claude Desktop MCP Configuration
- VS Code GitHub Copilot Extensions
- ChatGPT Custom GPTs and Actions
- Azure OpenAI Service
Expert guidance for implementing robust AI memory systems:
- Episodic Memory Systems - Time-ordered conversation storage
- Semantic Memory Systems - Knowledge and facts storage
- Working Memory - Active task context management
- Vector Databases for AI
- Azure App Service - Host MCP servers
- Azure Key Vault - Secure secrets management
- Azure Cosmos DB - Globally distributed database
- Azure AI Search - Vector search capabilities
- Application Insights - Monitoring and diagnostics
- Token Counting and Management
- Prompt Engineering Guide
- RAG (Retrieval Augmented Generation)
- Context Compression Techniques
Essential tools to follow along and practice efficiently:
GitHub Account
- Ability to create repositories
- Generate personal access tokens
- Fork and clone repositories
AI Platform Access
- Claude Desktop (Windows/Mac) - Native MCP support
- VS Code with GitHub Copilot
- ChatGPT Plus or Team (optional for multi-agent)
Development Environment
- Node.js 20 LTS or Python 3.10+
- Git
- Azure CLI
- Azure account (free tier available)
# Install MCP Inspector globally
npm install -g @modelcontextprotocol/inspector
# Install TypeScript SDK
npm install @modelcontextprotocol/sdk
# Install Python SDK
pip install mcp-sdk# Install Azure CLI
# Windows: winget install Microsoft.AzureCLI
# Mac: brew install azure-cli
# Install Azure PowerShell module
Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -ForceLearn through hands-on experience:
Clone the repository and set up your environment:
git clone https://github.com/timothywarner-org/context-engineering.git
cd context-engineering
npm installDetailed setup instructions are available in labs/LAB-SETUP.md
- MCP Server Examples - Official example servers
- Azure Free Account - $200 credit for 30 days
- GitHub Education Pack - Free Azure credits for students
- Microsoft Learn Sandbox - Free practice environments
Essential Reading:
- MCP Specification - Official protocol documentation (30 min)
- MCP Quickstart Guide - Basic setup (15 min)
Recommended Videos:
- How LLMs Understand & Generate Human Language by Kate Harwood (O'Reilly)
- Introduction to Azure AI Services (Microsoft Learn)
Optional Books:
- Quick Start Guide to Large Language Models by Sinan Ozdemir
- AI for Everyone: A Beginner's Handbook for Artificial Intelligence by Pearson
Advanced Learning:
- Generative AI Toolbox by Shaun Wassell (O'Reilly)
- Securing Generative AI by Omar Santos (O'Reilly)
- Building LLM Applications (O'Reilly, 2024)
Related Topics:
- Vector databases and embeddings
- Prompt engineering advanced techniques
- Multi-agent orchestration patterns
- Production AI system architecture
Each segment is 50 minutes with 10-minute breaks between segments. Total duration: 4 hours.
Learning Objectives:
- Understand token budgets and context windows in modern LLMs
- Experience context loss firsthand in ChatGPT vs. context persistence in Claude
- Learn how MCP solves the context problem architecturally
- Use MCP in Claude Desktop and VS Code GitHub Copilot
Topics Covered:
- The anatomy of context loss: tokens, windows, and limitations
- Live demo: Watch ChatGPT forget, Claude remember - the MCP difference
- Introduction to Model Context Protocol: architecture and capabilities
- Hands-on: Configure Claude Desktop with your first MCP server
- Using MCP with GitHub Copilot in VS Code
Exercise: Configure Claude Desktop to use the filesystem MCP server and maintain context across conversations (10 min)
Key Takeaways:
- Context windows are measured in tokens (words β 1.3 tokens)
- Copy-paste workflows don't scale for professional development
- MCP provides tools, resources, prompts, and sampling capabilities
- Claude Desktop has native MCP support today
Learning Objectives:
- Build a working MCP server using the official TypeScript SDK
- Implement tools that AI can discover and invoke
- Create resources for AI to access persistent data
- Test your MCP server with MCP Inspector and Claude Desktop
Topics Covered:
- MCP server architecture: tools, resources, prompts, and sampling
- Setting up the TypeScript SDK project structure
- Implementing your first tool: GitHub repository access
- Creating resources: files, URLs, and dynamic content
- Testing with MCP Inspector browser tool
Live Coding:
// Build an MCP server that gives Claude access to GitHub repos
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
const server = new Server({
name: 'github-context-server',
version: '1.0.0'
}, {
capabilities: {
tools: {},
resources: {}
}
});
// Implement tools for repo access, file reading, commit history
server.setRequestHandler(ListToolsRequestSchema, async () => ({
tools: [
{
name: 'read_repo_file',
description: 'Read a file from a GitHub repository',
inputSchema: {
type: 'object',
properties: {
repo: { type: 'string' },
path: { type: 'string' }
}
}
}
]
}));Exercise: Extend the GitHub MCP server to access your own repository and read specific files (10 min)
Key Takeaways:
- MCP servers are simple Node.js/Python applications
- The SDK handles protocol details; you focus on tool logic
- Tools define schemas for AI to understand parameters
- Local testing with Inspector ensures reliability
Learning Objectives:
- Deploy MCP servers to Azure App Service
- Configure authentication and environment variables securely
- Connect Claude Desktop to remote MCP servers
- Implement persistent memory using Azure Storage
Topics Covered:
- Azure deployment strategies for MCP servers
- Environment configuration and secrets management
- Authentication: API keys and Azure AD integration
- Persistent storage: Azure Blob, Table Storage, Cosmos DB
- Monitoring and logging with Application Insights
Live Deployment:
# Deploy MCP server to Azure App Service
az webapp up --name coretext-mcp --runtime "NODE:20-lts"
# Configure environment variables
az webapp config appsettings set --name coretext-mcp \
--settings [email protected](...)
# Enable Application Insights
az monitor app-insights component create --app coretext-mcpArchitecture:
Claude Desktop β HTTPS β Azure App Service (MCP Server)
β
Azure Key Vault (secrets)
β
Azure Cosmos DB (memory store)
β
Application Insights (monitoring)
Exercise: Deploy your GitHub MCP server to Azure and connect Claude Desktop to the remote endpoint (10 min)
Key Takeaways:
- Azure App Service provides easy MCP server hosting
- Key Vault keeps secrets secure
- Cosmos DB enables globally distributed memory
- Application Insights provides production observability
Learning Objectives:
- Design memory architectures: episodic, semantic, and working memory
- Implement vector-based semantic search with Azure AI Search
- Orchestrate multiple AI agents sharing context through MCP
- Build a production customer service bot with persistent memory
Topics Covered:
- Memory architecture patterns in AI systems
- Vector databases: embeddings and similarity search
- Multi-agent orchestration: ChatGPT β Claude via shared MCP context
- Context compression and pruning strategies
- Cost optimization and caching techniques
Live Build: Customer Service Bot
// Multi-agent memory system
class CustomerServiceMemory {
episodic: ConversationHistory[]; // What happened
semantic: VectorStore; // What it means
working: CurrentContext; // Active task state
async retrieveRelevantContext(query: string) {
// 1. Semantic search for similar past conversations
const similar = await this.semantic.search(query, k=5);
// 2. Retrieve recent episodic memory
const recent = this.episodic.slice(-10);
// 3. Combine with working memory
return this.compress({
similar,
recent,
working: this.working
});
}
}Architecture Patterns:
- Episodic Memory: Time-ordered conversation storage
- Semantic Memory: Vector embeddings for similarity retrieval
- Working Memory: Current task context (4K tokens)
- Long-term Memory: Compressed summaries in Azure Cosmos DB
Exercise: Design a memory architecture for your specific use case (e.g., code review bot, documentation assistant, data analyst) (10 min)
Production Considerations:
- Security: Authentication, authorization, audit logging
- Scale: Horizontal scaling, caching, rate limiting
- Cost: Token budgets, pruning strategies, smart retrieval
- Future: MCP on Windows, expanding platform support
Key Takeaways:
- Memory architectures mirror human cognition patterns
- Vector search enables semantic understanding at scale
- Multi-agent systems require shared context coordination
- Production MCP requires security, monitoring, and cost optimization
Expand your AI and cloud engineering skills:
- AI-102: Designing and Implementing a Microsoft Azure AI Solution
- AZ-204: Developing Solutions for Microsoft Azure
- AZ-500: Microsoft Azure Security Technologies
- DP-100: Designing and Implementing a Data Science Solution on Azure
- Prompt Engineering: Advanced techniques for AI interaction
- Vector Databases: Embeddings, similarity search, and retrieval
- Multi-Agent Systems: Orchestration and communication patterns
- LangChain & LlamaIndex: AI application frameworks
- Production AI Systems: Monitoring, scaling, and reliability
- Azure Free Account - $200 credit for 30 days + 12 months free services
- Azure for Students - $100 credit, no credit card required
- GitHub Education Pack - Additional Azure credits
Running labs with Azure free tier:
- App Service (Free tier): $0
- Cosmos DB (Free tier): $0
- Azure AI Search (Free tier): $0
- Key Vault: ~$0.03 per 10,000 operations
- Application Insights (first 5GB): $0
Total estimated cost for course labs: < $5
- MCP Setup and Configuration
- Azure App Service Deployment Walkthrough
- GitHub Actions for MCP Servers
- Debugging MCP with Inspector
- Getting Started with Model Context Protocol
- Deploying MCP Servers to Azure
- Multi-Agent Memory Architectures
- Long-term conversation storage beyond session limits
- Vector-based semantic retrieval across conversations
- User preference learning and adaptation
- Text, code, images, and structured data in unified context
- Cross-modal retrieval and reasoning
- Context compression for efficient token usage
- GitHub as organizational knowledge base
- Database query tools for business intelligence
- API integration for external systems
- Security and compliance controls
- Authentication and authorization for MCP servers
- Data encryption at rest and in transit
- Audit logging and compliance tracking
- GDPR and data residency requirements
- Horizontal scaling with load balancers
- Caching strategies for frequently accessed context
- Rate limiting and quota management
- Connection pooling and resource optimization
- Application Insights integration
- Custom metrics and dashboards
- Alerting on errors and performance degradation
- Distributed tracing across MCP components
Connect with context engineering practitioners:
context-engineering/
βββ README.md # This file - course hub
βββ course-plan.md # Detailed 4-segment plan
βββ GETTING-STARTED.md # Navigation and setup guide
βββ CLAUDE.md # Claude Code AI instructions
β
βββ images/
β βββ cover.png # Course cover image
β
βββ labs/ # Hands-on exercises
β βββ LAB-SETUP.md # Lab environment setup
β βββ lab01-context/ # Segment 1 exercises
β βββ lab02-local/ # Segment 2 exercises
β βββ lab03-azure/ # Segment 3 exercises
β βββ lab04-advanced/ # Segment 4 exercises
β
βββ examples/ # Working code samples
β βββ filesystem/ # File access MCP server
β βββ github/ # GitHub integration
β βββ database/ # SQL query tools
β βββ memory/ # Memory persistence
β
βββ deploy/ # Azure deployment
β βββ bicep/ # Infrastructure as Code
β β βββ main.bicep # Main template
β β βββ parameters.json # Configuration
β βββ scripts/ # Automation scripts
β βββ deploy.sh # Bash deployment
β βββ deploy.ps1 # PowerShell deployment
β
βββ docs/ # Additional documentation
βββ mcp-architecture.md # Architecture deep dive
βββ azure-setup.md # Azure configuration
βββ security.md # Security best practices
βββ troubleshooting.md # Common issues & fixes
Microsoft MVP - Azure AI and Cloud/Datacenter Management (6+ years) Microsoft Certified Trainer (25+ years)
Tim Warner specializes in cloud computing, DevOps, and AI engineering with a focus on practical, production-ready solutions. His O'Reilly Live Training courses emphasize hands-on learning and real-world implementation patterns.
Expertise:
- Azure AI Services and OpenAI integration
- Cloud-native application architecture
- DevOps automation and CI/CD
- AI agent development and orchestration
- Technical training and content creation
Connect with Tim:
- π Website: techtrainertim.com
- πΌ LinkedIn: linkedin.com/in/timothywarner
- π¦ Bluesky: @techtrainertim.bsky.social
- πΊ YouTube: youtube.com/timothywarner
Β© 2025 Timothy Warner. Course materials provided for educational purposes.
This repository and its contents are available for:
- β Personal learning and education
- β Reference during and after the course
- β Modification for your own projects
- β Sharing with attribution
Model Context Protocol is an open standard:
- MCP Specification License
- Free to implement in commercial and open-source projects
- Community contributions welcome
Found an issue or have a suggestion? Contributions are welcome!
- Report Issues: Open an issue
- Suggest Improvements: Submit feature requests
- Fix Bugs: Create pull requests with fixes
- Share Examples: Add your MCP server implementations
- Improve Documentation: Help make instructions clearer
- Follow existing code style and conventions
- Test your changes thoroughly
- Update documentation as needed
- Include clear commit messages
- Be respectful and constructive
- Official MCP Servers Repository - Community servers
- MCP TypeScript SDK - Build servers in JS/TS
- MCP Python SDK - Build servers in Python
- MCP Inspector - Debug and test servers
- Anthropic Research - Latest AI safety and capability research
- OpenAI Research - GPT and AI system papers
- Microsoft Research AI - Azure AI innovations
- arXiv AI Papers - Academic research
This README is designed for maximum utility and easy navigation. If you have suggestions or corrections, feel free to reach out via the contact information above.
Ready to build persistent AI memory? Start with the Getting Started Guide or jump straight to Lab Setup!
Questions? See you in the course, or reach out via the community channels above.
