VS Code + GitHub Copilot
GitHub Copilot in VS Code supports MCP servers via Agent Mode.
Install and configure
- Open VS Code and ensure GitHub Copilot is installed
- Switch Copilot to Agent Mode (via the gear menu in Copilot Chat)
- Add the Zscaler MCP Server to your MCP configuration:
{
"mcpServers": {
"zscaler-mcp-server": {
"command": "uvx",
"args": ["--env-file", "/path/to/.env", "zscaler-mcp-server"]
}
}
}
- Refresh the tools list in Copilot Chat
- Prompt the agent
With service selection
{
"mcpServers": {
"zscaler-mcp-server": {
"command": "uvx",
"args": [
"--env-file", "/path/to/.env",
"zscaler-mcp-server",
"--services", "zia,zpa"
]
}
}
}
With Docker
{
"mcpServers": {
"zscaler-mcp-server": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"--env-file", "/full/path/to/.env",
"zscaler/zscaler-mcp-server:latest"
]
}
}
}
Try prompts
- "Create a ZPA segment group named DevServices"
- "List my ZIA URL categories"
- "Show the experience score for my Toronto office in ZDX"
📚 Learn more about Agent Mode in the VS Code Copilot documentation.