Install
$ agentstack add mcp-owainow-github-copilot-mcp-server-workshop ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
GitHub Copilot Custom MCP Server with Azure Functions Workshop
[](https://codespaces.new/owainow/github-copilot-mcp-server-workshop) [](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fyour-repo%2Fserverless-mcp-on-functions%2Fmain%2Finfra%2Fmain.json)
🚀 Overview
Welcome to this comprehensive workshop where you'll learn to extend GitHub Copilot's capabilities by building and deploying a custom Model Context Protocol (MCP) server on Azure Functions. This workshop demonstrates the complete journey from local development to production AI integration.
What You'll Build
- Custom MCP Server: A serverless MCP server with three types of tools
- Educational Tools: Markdown review and dependency checking with local algorithms
- Production AI Tool: Azure AI-powered code review demonstrating true MCP architecture
- Azure Functions Deployment: Scalable, serverless hosting for your MCP server
- GitHub Copilot Integration: Seamless connection between Copilot and your custom tools
Learning Outcomes
By the end of this workshop, you'll understand:
- ✅ The difference between educational and production MCP tools
- ✅ How to build and deploy serverless MCP servers on Azure Functions
- ✅ True MCP architecture: tools provide context, AI provides intelligence
- ✅ GitHub Copilot integration patterns and best practices
- ✅ Azure AI Foundry integration with graceful fallback patterns
⚡ How to start! Quick Start Options:
🌟 Option 1: GitHub Codespaces (Recommended - Zero Setup)
Click the "Open in GitHub Codespaces" badge above for instant setup!
- ✅ No local installation required
- ✅ Pre-configured Linux environment with all tools
- ✅ Works on any device with a browser
- ✅ Ready in 2-3 minutes
- 📖 Follow the [Linux/Bash Documentation Path](docs/linux/)
💻 Option 2: Local Development
Choose your platform for local development:
🐧 Linux/macOS (Bash)
- 📖 [Linux Workshop Documentation](docs/linux/) - Complete Linux setup with Bash commands
- 🛠️ Requirements: Node.js, Azure CLI, Azure Functions Core Tools, VS Code
- 💡 Best for: Linux/macOS developers, Bash users, script automation
📚 Choose Your Workshop Path
| Platform | Quick Start | Documentation | Best For | |----------|-------------|---------------|----------| | 🌟 Codespaces | [](https://codespaces.new/owainow/github-copilot-mcp-server-workshop) | [📖 Linux/Bash Docs](docs/linux/) | Zero setup, any device | | 🐧 Linux/macOS | [Setup Guide](docs/linux/setup.md) | [📖 Linux/Bash Docs](docs/linux/) | Linux/macOS developers |
🛠️ Prerequisites
Required Software
- Node.js (v18 or later)
- Azure CLI
- Azure Functions Core Tools
- GitHub Copilot subscription
- VS Code with Copilot extension
Azure Account
- Azure subscription (free tier works!)
- Contributor access to create resources
Knowledge Level
- Intermediate JavaScript/TypeScript
- Basic Azure Functions knowledge
- Familiarity with GitHub Copilot
📋 Workshop Flow (3 Hours Total)
Choose your platform path above, then follow these sequential steps:
[Part 1: Setup and Understanding] (30 minutes)
- Understanding MCP and Architecture Patterns
- Environment Setup and Prerequisites
- Project Structure and Dependencies
[Part 2: Local Development] (45 minutes)
- Building the MCP Server Core
- Creating Educational Tools (markdown review, dependency check)
- Implementing Production AI Tool Architecture
- Testing Locally with Azure Functions
[Part 3: Azure Deployment] (30 minutes)
- Infrastructure as Code with Bicep
- Deploying to Azure Functions
- Monitoring and Troubleshooting
[Part 4: GitHub Copilot Integration] (30 minutes)
- Configuring MCP in VS Code
- Testing Tool Discovery and Usage
- Advanced Integration Patterns
[Part 5: AI Integration](45 minutes) 🤖
- Setting Up Azure AI Foundry
- Implementing Real AI Analysis
- Comparing Educational vs Production Tools
- Understanding True MCP Architecture
🏗️ Architecture Overview
graph LR
A[GitHub Copilot] -->|MCP Protocol| B[Azure Functions]
B --> C[Markdown Tool - Educational]
B --> D[Dependency Tool - Educational]
B --> E[AI Code Review - Production]
E -->|API Calls| F[Azure AI Foundry]
B --> G[Azure Monitor]
B --> H[Azure Key Vault]
B --> I[Azure Storage]
Tool Categories
This workshop demonstrates three distinct tool patterns:
🎓 Educational Tools
markdown_review: Local analysis algorithms, quality scoringdependency_check: Static package analysis, security checks- Purpose: Learn MCP concepts, no external dependencies
🚀 Production Tools
ai_code_review: Azure AI integration with intelligent analysis- Purpose: Demonstrate true MCP architecture (tools provide context, AI provides intelligence)
- Features: Real LLM analysis, graceful fallback to mock analysis
🔄 Hybrid Approach
All tools work without Azure costs (minor GPT3.5 cost($.10) if desired) through intelligent fallback patterns, making the workshop accessible to everyone while demonstrating production capabilities.
🎯 Key Learning Outcomes
Technical Skills
- ✅ MCP protocol implementation with JSON-RPC 2.0
- ✅ Azure Functions serverless development
- ✅ TypeScript development with Azure tooling
- ✅ Infrastructure as Code with Bicep
- ✅ Azure AI service integration
Architectural Understanding
- ✅ Educational vs Production MCP tool patterns
- ✅ Graceful degradation and fallback strategies
- ✅ True MCP architecture: tools provide context, AI provides intelligence
- ✅ Serverless cost optimization strategies
- ✅ Security considerations for production MCP servers
GitHub Copilot Integration
- ✅ MCP server configuration in VS Code
- ✅ Tool discovery and usage patterns
- ✅ Advanced integration scenarios
- ✅ Troubleshooting and monitoring
🏁 Workshop Navigation
🌟 Codespaces Users (Recommended)
Start Here: [Part 1: Setup and Understanding](docs/linux/part-1-setup-and-understanding.md)
🐧 Linux/macOS Users
Start Here: [Part 1: Setup and Understanding](docs/linux/part-1-setup-and-understanding.md)
🌟 What Makes This Workshop Special
- Progressive Complexity: From simple local tools to production AI integration
- Cost Conscious: Carefully curated services for lowest possible cost.
- Real-World Ready: Production patterns with security considerations
- Complete Coverage: Local development → Azure deployment → Copilot integration → AI enhancement
- Hands-On Testing: Comprehensive test scripts for every stage
🤝 Support and Contributing
- Issues: Found a bug? Open an issue
- Discussions: Questions? Start a discussion
- Contributing: See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines
📄 License
MIT License - see [LICENSE](LICENSE) file for details.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: owainow
- Source: owainow/github-copilot-mcp-server-workshop
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.