Configuring VS Code with GitHub Copilot

Connect VS Code to GitHub Copilot to the SystemLink MCP Server.

  1. For the Chat session target, select Copilot.
  2. Press Ctrl + Shift + P and run MCP: Add Server.
  3. Select HTTP.
  4. For the server URL, enter your SystemLink MCP URL.
  5. For the server ID, enter SystemLink.
  6. Select Global » Copilot Global.
  7. Edit the global configuration file.
    1. Open the %USERPROFILE%\.copilot\mcp-config.json file.
    2. Add the following settings, using the server URL for your edition. This example uses the SystemLink Enterprise URL.
      {
        "mcpServers": {
          "systemlink": {
            "type": "http",
            "url": "https://api.example.com/niaiassistant/v1/mcp/",
            "headers": {
              "X-NI-API-KEY": "YOUR_SYSTEMLINK_API_KEY"
            }
          }
        }
      }
      Note If the SystemLink entry already exists, update that entry. Keep any other server entries.
  8. Save the file.
  9. Restart VS Code.

For more information, including environment-variable headers, refer to VS Code MCP setup and the MCP configuration reference.