Skip to main content

Users: Connect Claude Code to the AI Gateway

To securely access your company's enterprise applications directly from Claude 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 Claude Code

Important

Use the AI Gateway MCP server URL for your JumpCloud datacenter region. See JumpCloud Data Centers: Login URLs and Service Endpoints.

You can add the AI Gateway to Claude Code from the terminal. See Anthropic’s Connect Claude Code to tools via MCP to learn more.

  1. Open your terminal.
  2. Run the following command to add the AI Gateway as a remote MCP server. 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

    claude mcp add --transport http jumpcloud-ai-gateway https://ai.jumpcloud.com/mcp

The example uses the US URL.

  1. Start a Claude Code session, then run /mcp.
  2. Select jumpcloud-ai-gateway, then choose Authenticate to begin the JumpCloud authorization flow.
  3. Proceed to Authenticating Your Tools.
note

Alternatively, from your shell you can run claude mcp login jumpcloud-ai-gateway to start the OAuth flow without opening the /mcp panel.

Authenticating Your Tools

Once Claude Code is connected to the gateway, you must authorize and authenticate to the specific enterprise tools (such as Atlassian) before the AI can access them.

  1. You'll be redirected to the JumpCloud AI Gateway authorization page.

  2. Review the list of available enterprise tools and select the checkbox next to each tool you want your AI client to access.

  3. 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.
  4. Once all required tools display a green Connected status, click Authorize tools at the bottom of the page.

  5. Return to your terminal. Your AI client can now use the tools authorized through the gateway.

Was this information helpful?