Users: Connect Cursor to the AI Gateway
To securely access your company's enterprise applications directly from Cursor, you must connect it to the JumpCloud AI Gateway. Connecting through JumpCloud ensures your enterprise data remains secure and your access is verified.
You can connect from the Cursor desktop app or Cursor Web (Agents). Both use the same AI Gateway URL for your JumpCloud datacenter region.
Use the AI Gateway MCP server URL for your JumpCloud datacenter region. See JumpCloud Data Centers: Login URLs and Service Endpoints.
Configuring Cursor Desktop
You can connect Cursor Desktop to the AI Gateway using Cursor's built-in MCP interface:
- Open the Cursor application.
- Go to Cursor Settings > Tools & MCPs and scroll down to Installed MCP Servers.
- Under New MCP Server, click + Add a Custom MCP Server.
- Copy the following and paste it into the mcp.json file. Use the URL for your datacenter region:
- US:
https://ai.jumpcloud.com/mcp - EU:
https://ai.eu.jumpcloud.com/mcp - IN:
https://ai.in.jumpcloud.com/mcp
{
"mcpServers": {
"jumpcloud-ai-gateway": {
"url": "https://ai.jumpcloud.com/mcp"
}
}
}
The example uses the US URL.
- Click Save.
- In the list of Installed MCP Servers, click Connect next to jumpcloud-ai-gateway.
- Proceed to Authenticating Your Tools.
Configuring Cursor Web
You can also connect Cursor Web (Agents) to the AI Gateway from the browser. See Cursor’s Model Context Protocol (MCP) to learn more.
- Open Cursor in your browser and sign in.
- On the Agents page, under the chat box, click + to expand the dropdown.
- Click MCP Servers > + Add MCP.
- In the Browse MCPs window, click Custom MCP.
- In the Add a Custom MCP window, click Edit JSON.
- Configure the JumpCloud AI Gateway using the same JSON as Cursor Desktop. Use the URL for your datacenter region:
- US:
https://ai.jumpcloud.com/mcp - EU:
https://ai.eu.jumpcloud.com/mcp - IN:
https://ai.in.jumpcloud.com/mcp
{
"mcpServers": {
"jumpcloud-ai-gateway": {
"url": "https://ai.jumpcloud.com/mcp"
}
}
}
The example uses the US URL.
- Click Add MCP.
- Connect jumpcloud-ai-gateway, then proceed to Authenticating Your Tools.
Cursor uses different OAuth callback URLs for desktop and web. If your admin registers static OAuth redirect URLs for Cursor, both of the following may be required: http://localhost:8787/callback (desktop) and https://www.cursor.com/agents/mcp/oauth/callback (web/Agents).
Authenticating Your Tools
Once Cursor is connected to the gateway, you must authorize and authenticate to the specific enterprise tools (such as Atlassian) before the AI can access them.
-
You'll be redirected to the JumpCloud AI Gateway authorization page.
-
Review the list of available enterprise tools and select the checkbox next to each tool you want your AI client to access.
-
Authenticate to the selected tools based on their required connection method:
- OAuth: Click Connect via OAuth. You'll be redirected to the application to securely sign in, and then returned to this page.
- API Key: Enter your API key for the application in the text field and click Save. 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.
-
You are redirected back to Cursor. Your AI client can now use the tools authorized through the gateway.
Was this information helpful?