Connect Visual Studio Code to Control Plane using GitHub Copilot’s MCP support to manage your infrastructure from your editor.Documentation Index
Fetch the complete documentation index at: https://docs.controlplane.com/llms.txt
Use this file to discover all available pages before exploring further.
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
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.Verify the Connection
Open GitHub Copilot Chat and ask:Example Usage
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.
Next Steps
Usage Examples
See practical examples of Control Plane operations
Policy Reference
Learn about permissions and access control