SecureAuth AI Gateway
IntegrationsAgents

GitHub Copilot (VS Code)

Connect GitHub Copilot in VS Code to SecureAuth AI Gateway

AI pair programmer in VS Code with agent mode.

Setup

  1. Create MCP config — Create .vscode/mcp.json in your project (or run MCP: Open User Configuration from the Command Palette for global setup).

  2. Add the MCP server — Add the following to the file:

{
  "servers": {
    "secureauth": {
      "type": "http",
      "url": "https://your-gateway-url/gateway/mcp"
    }
  }
}
  1. Authenticate — A browser window will open for sign-in on first MCP tool use.

The agent is auto-registered on first connect.

Connecting to just one MCP? To stay under an agent's tool limit, point the URL at a single MCP — /gateway/mcp/{slug} instead of /gateway/mcp. Grab the exact URL from the resource's detail page; see Scope a connection to one MCP.

On this page