Explore the power of context in GitHub Copilot through hands-on exercises. Learn how to supercharge Copilot by giving it the right knowledge at the right time using context engineering techniques and the Model Context Protocol (MCP).
By the end of this session, participants will:
- Understand the fundamentals of context engineering with GitHub Copilot
- Master prompt engineering techniques for better AI assistance
- Learn to leverage data and code context effectively
- Configure and use MCP servers to enhance Copilot's capabilities
- Practice UI testing with Playwright MCP server
- Apply context engineering in real-world scenarios
- Location:
docs/01-context-fundamentals.md - Practice Files:
examples/context-fundamentals/ - Time: 20 minutes
Understand the fundamentals of context engineering with GitHub Copilot.
- Location:
docs/02-prompt-engineering.md - Practice Files:
examples/prompt-engineering/ - Time: 25 minutes
Master effective prompt patterns and techniques for better AI assistance.
- Location:
docs/03-mcp-integration.md - Practice Files:
examples/demo-app/ - Time: 30 minutes
Learn to extend Copilot's capabilities with MCP servers and hands-on browser automation.
- Location:
docs/04-ui-testing.md - Practice Files:
examples/demo-app/ - Time: 15 minutes
Generate real Playwright tests using MCP server integration and GitHub Copilot working together in real-time.
- Location:
docs/05-custom-mcp-server.md - Practice Files:
examples/custom-mcp-server/ - Time: 20 minutes
Build your own MCP server from scratch - create a programming jokes server to add humor to your development workflow.
- VS Code with GitHub Copilot extension
- Node.js 18+
- Basic understanding of JavaScript/TypeScript
- Basic web development knowledge
├── docs/ # Step-by-step guides and workshop modules
├── examples/ # Modern code examples demonstrating context engineering
│ ├── context-fundamentals/ # Context engineering examples
│ ├── custom-mcp-server/ # Programming jokes MCP server implementation
│ ├── demo-app/ # Sample web application for hands-on practice
│ └── prompt-engineering/ # Prompt engineering examples
├── .vscode/ # VS Code configuration including MCP setup
└── README.md # This file
-
Clone this repository
git clone <repository-url> cd ghcp-context-engineering-mcp
-
Install dependencies
cd examples/demo-app npm install -
Start the demo application
npm run dev
-
Follow along with the modules
- Start with
docs/01-context-fundamentals.md - Progress through each module
- Practice with examples in
examples/
- Start with
- Playwright MCP Server: For enhanced UI testing and web automation
- Programming Jokes MCP Server: Custom server for adding humor to development workflow
Configuration is handled through .vscode/ settings in the project root.
Ready to dive into context engineering? Let's get started! 🚀