Setup Guide
GitHub Copilot supports MCP servers when used in Agent mode in both VS Code and JetBrains IDEs. This enables Copilot to access Vaadin documentation for more accurate code suggestions and responses.
| Important | MCP servers only work when GitHub Copilot is used in Agent mode. Regular Copilot Chat does not support MCP. Enterprise customers: Organizations with Copilot Business or Enterprise must enable the "MCP servers in Copilot" policy (disabled by default). | 
VS Code Configuration
Requirements:
- 
VS Code 1.99 or later 
- 
GitHub Copilot extension with Agent mode enabled 
Setup Steps
- 
Create .vscode/mcp.jsonin your project root
- 
Add the following configuration: 
Source code
JSON
{
  "servers": {
    "vaadin": {
      "type": "http",
      "url": "https://mcp.vaadin.com/docs"
    }
  }
}- 
Click the Start button that appears at the top of the MCP servers list 
- 
Switch to Agent mode: Open Copilot Chat → Click mode selector → Select "Agent" 
- 
Click the tools icon in Agent mode to view available MCP servers 
| Tip | The  | 
JetBrains IDEs Configuration
Requirements:
- 
JetBrains IDE with GitHub Copilot plugin 
- 
Agent mode enabled (public preview as of May 2025) 
Setup Steps
- 
Create .copilot/mcp-config.jsonin your project root
- 
Add the following configuration: 
Source code
JSON
{
  "servers": {
    "vaadin": {
      "type": "http",
      "url": "https://mcp.vaadin.com/docs"
    }
  }
}- 
Restart your JetBrains IDE 
- 
Enable Agent mode in GitHub Copilot settings 
- 
Access the MCP server through Copilot Agent interactions 
| Tip | For best results, create the  | 
Enterprise Configuration
For organizations using Copilot Business or Enterprise:
- 
An administrator must enable the "MCP servers in Copilot" policy 
- 
This setting is found in the GitHub organization’s Copilot policies 
- 
Individual developers can then configure MCP servers in their projects 
- 
Contact your GitHub organization administrator if you don’t see this option