🌟 A powerful Model Context Protocol (MCP) server that seamlessly integrates Microsoft Edge Copilot capabilities into VS Code GitHub Copilot Chat
Bridge the gap between AI services and supercharge your development workflow
Transform your VS Code Copilot Chat with external AI services
This MCP server acts as a intelligent bridge between VS Code Copilot Chat and external services:
- 🌐 Microsoft Edge Copilot Integration - Forward prompts to Microsoft Edge Copilot API for enhanced AI responses
- 📋 GitHub Context Enrichment - Fetch detailed issue and pull request information directly in chat
- 🔧 Development Testing - Echo tool for testing and debugging MCP connections
Clean, modular architecture designed for scalability
🖥️ VS Code Copilot Chat
↓ (via MCP stdio/HTTP)
🌉 Unified MCP Bridge Server
↓ (HTTP/REST APIs)
┌─────────────────┬─────────────────┬─────────────────┐
│ 🌐 Edge Copilot │ 📱 GitHub API │ 🔧 Echo Tool │
│ Service │ │ (Testing) │
└─────────────────┴─────────────────┴─────────────────┘
- ⚡ MCP Server Core (
lib/index.js) - Reusable library with programmatic API - 🌐 HTTP Server (
server.js) - Standalone HTTP server with web playground - 💻 Stdio Server (
server-stdio.js) - VS Code Copilot integration endpoint - 🎮 CLI Tool (
bin/unified-mcp.js) - Command-line interface for easy deployment - 🎨 Web Playground - Browser-based testing interface at
/playground
Direct integration with Microsoft Edge AI
- 🚀 Forwards your prompts to Microsoft Edge Copilot API
- ⚙️ Configurable via
COPILOT_EDGE_URLandCOPILOT_EDGE_API_KEY - 🎚️ Supports custom token limits with
maxTokensparameter - 🛡️ Graceful error handling with detailed API responses
Rich GitHub integration for development context
- 📥 Fetch complete issue/PR metadata by URL
- 🔒 Supports both public and private repositories (with token)
- 📊 Returns structured JSON data including:
- 📝 Issue/PR title, description, state
- 👤 Author information and timestamps
- 🏷️ Labels, milestones, and assignees
- 💬 Comments and review status
Simple but essential testing tool
- 🔄 Simple text echo for testing MCP connectivity
- 🐛 Useful for debugging tool call workflows
- ✅ Validates JSON-RPC message formatting
Flexible deployment options for any environment
- 🌐 HTTP Mode - Standalone web server with REST API and visual playground
- 💻 Stdio Mode - Direct VS Code Copilot Chat integration
- 📦 Library Mode - Import as Node.js package in your projects
- 🎮 CLI Mode - Command-line tool with flexible configuration options
Built with developers in mind
- 🎨 Visual Playground - Test tools directly in your browser at
/playground - 🔍 MCP Inspector Support - Connect with official MCP debugging tools
- ⚡ Hot Configuration - Environment-based config with
.envsupport - 🎭 Mock Services - Built-in mock Edge endpoint for development at
/mock-edge - 🌐 CORS Enabled - Browser-friendly for web-based integrations
Get all required packages
npm installSet up your API credentials
Create .env file:
GH_TOKEN=ghp_your_github_token_here
COPILOT_EDGE_URL=https://your-edge-service.com/api
COPILOT_EDGE_API_KEY=your_edge_api_keyChoose your deployment mode
# 🌐 HTTP mode with playground
npm run start:http
# 💻 VS Code stdio mode
npm run start:stdio
# 🎮 CLI with options
node bin/unified-mcp.js --mock-edge --port 4000Verify everything works
Open http://localhost:3000/playground and try:
- ✅ Initialize connection
- 📋 List available tools
- 🔧 Call
echowith{"text": "Hello MCP!"}
Integrate with VS Code Copilot Chat
Add to VS Code settings.json:
{
"github.copilot.chat.mcpServers": {
"unified-copilot-bridge": {
"command": "node",
"args": ["/absolute/path/to/server-stdio.js"],
"env": {
"GH_TOKEN": "${env:GH_TOKEN}",
"COPILOT_EDGE_URL": "http://127.0.0.1:3000/mock-edge",
"COPILOT_EDGE_API_KEY": "dev"
}
}
}
}🔄 Reload VS Code and use: @unified-copilot-bridge list tools
📖 Everything you need to get started and scale to production
- 📖 INSTALLATION.md - Detailed setup instructions for all environments
- � TROUBLESHOOTING.md - Common issues and debugging guide
- � CHANGES.md - Recent fixes and improvements
- � STARTUP.md - Complete production deployment guide
- 🌐 MCP Protocol Documentation - Official MCP specification
- 🏢 Microsoft MCP Reference - Microsoft's implementation guide
🌐 Essential URLs for accessing your MCP server
- 🚀 HTTP MCP endpoint:
http://localhost:3000/mcp - 💓 Health check:
http://localhost:3000/health - 🎨 Web playground:
http://localhost:3000/playground - 🎭 Mock Edge service:
http://localhost:3000/mock-edge - 🏠 Homepage:
http://localhost:3000/
🚀 Ready to supercharge your VS Code Copilot Chat?
Your Unified Copilot MCP Bridge Server is ready to:
- ✨ Enhance your development workflow
- 🌐 Connect multiple AI services
- 📋 Enrich GitHub context in chat
- 🚀 Scale from development to production
🎯 Transform your coding experience today!