VS Code (GitHub Copilot)
Connect VS Code and GitHub Copilot to an MCP server exposed through agentgateway on Kubernetes
Before you begin
- Set up an agentgateway proxy.
- Deploy an MCP server and expose it through agentgateway with an HTTPRoute.
- Get the MCP endpoint URL for your proxy, and use it in place of
<MCP_URL>in the following steps.
Configuration
Add to your VS Code
settings.json.{ "mcp": { "servers": { "agentgateway": { "url": "<MCP_URL>" } } } }Restart VS Code and verify that agentgateway tools appear in the MCP tools list.