To securely access your company's enterprise applications directly from Visual Studio Code, you must connect it to the JumpCloud AI Gateway. Connecting through JumpCloud ensures your enterprise data remains secure and your access is verified.
Configuring VS Code
You can configure Copilot to connect to the universal AI Gateway endpoint by modifying your user MCP configuration file.
- Open Visual Studio Code.
- Open the Command Palette (Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS).
- Type and run MCP: Open User Configuration to open your user
mcp.jsonfile. - Add the JumpCloud AI Gateway to your servers object using the exact JSON snippet below
{
"servers": {
"jumpcloud-ai-gateway": {
"type": "http",
"url": "https://ai.jumpcloud.com/mcp"
}
}
}
- Save the file. VS Code will automatically detect the new MCP server connection.
Authenticating Your Tools
- In the Copilot Chat view, submit a prompt that requires access to a company application.
- When prompted by the AI client, click the link to authenticate. You will be redirected to the JumpCloud authorization page in your web browser.
- Review the list of available applications and select the checkbox next to each one you want to access.
- Authenticate to the selected tools via OAuth or by entering your API token (click the documentation link provided in the UI if you need help finding your API token).
- Once all required tools display a green Connected status, click Authorize tools at the bottom of the page.
- Return to VS Code. Your AI client can now use the tools authorized through the gateway.
Back to Top