Overview
GitHub Copilot now has native MCP (Model Context Protocol) support in VS Code! Connect CodeAlive to enhance Copilot with deep understanding of your entire codebase.Prerequisites
- VS Code version 1.102 or higher
- GitHub Copilot Business or Enterprise subscription (MCP access controlled by organization administrators)
- CodeAlive account with API key (Sign up here)
- Indexed repositories in your CodeAlive dashboard
Setup
Add CodeAlive MCP Server
GitHub Copilot supports multiple MCP transports (stdio, HTTP Stream, SSE):
- Open Command Palette (Cmd/Ctrl+Shift+P)
- Run: “GitHub Copilot: Add MCP Server”
- Choose “HTTP Stream” server type (recommended)
- Enter configuration:
Using CodeAlive with Copilot
In Copilot Chat
The MCP integration automatically provides context:Enhanced Features
With CodeAlive connected, Copilot can:- Search across your entire codebase
- Understand project architecture
- Find similar implementations
- Generate code matching your patterns
Alternative: Local MCP Server
Run CodeAlive MCP locally with Docker:Configuration Options
Workspace Settings
Add to.vscode/settings.json:
Team Setup
For teams, use environment variables:- Add to
.vscode/settings.json:
- Each team member sets:
Troubleshooting
MCP not available in Copilot
MCP not available in Copilot
Common causes:
- MCP is disabled by organization policy (default)
- Using Individual plan (requires Business/Enterprise)
- VS Code version < 1.102
- Contact your GitHub organization administrator to enable MCP
- Upgrade to Copilot Business or Enterprise
- Update VS Code to version 1.102+
- Update GitHub Copilot extensions to latest versions
CodeAlive not providing context
CodeAlive not providing context
Solutions:
- Verify MCP server is configured
- Check API key is valid
- Run “MCP: List Servers” to verify CodeAlive is listed
- Try removing and re-adding the server
Authentication errors
Authentication errors
Solutions:
- Regenerate API key in CodeAlive dashboard
- Ensure “Bearer ” prefix is included
- Check for typos in configuration
- Test API key with curl
Best Practices
Keep Context Fresh
Regularly sync repositories in CodeAlive dashboard
Use Specific Queries
Be specific when asking Copilot to search
Leverage Context
Let CodeAlive provide context for large codebases
Team Consistency
Share workspace settings for team alignment