For detailed information on MCP servers in VS Code, refer to the official VS Code MCP documentation.
Prerequisites
VS Code & GitHub Copilot Extension
Download VS Code and install the GitHub Copilot extension
Service Account Token
Create a service account with appropriate permissions
Configuration
1
Open MCP Configuration
Open the Command Palette (
Cmd/Ctrl + Shift + P) and run MCP: Open User Configuration. This will open the mcp.json configuration file.2
Add the MCP Server
Add the Control Plane MCP Server configuration:
3
Save and Reload
Save the configuration file. VS Code will automatically reload the MCP server configuration.
Verify the Connection
Open GitHub Copilot Chat and ask:Example Usage
1
Set Context
2
Deploy a Workload
3
Get the Endpoint
Troubleshooting
Authentication errors
Authentication errors
- Check that your service account token is valid.
- Ensure the token is entered without extra spaces or quotes.
- Verify the token has appropriate permissions (see Service Account Permissions).
- Check for typos in the org name you’re using for context, this is a common cause of authentication failures.