Overview
The scripts are designed to be executed on end-user devices through your MDM (Mobile Device Management) platform. They configure each AI coding tool to route through the Unbound Gateway.Before deploying, ensure your MDM provider is connected or devices are imported and you have an admin API key from your Unbound applications page.
YOUR_ADMIN_API_KEY— an admin API key from your Unbound applications pagehttps://backend.getunbound.ai— if your organization uses a custom backend URL, replace this with your own
Cursor
Run the following command to configure Cursor:Claude Code
Claude Code supports two deployment methods depending on how your organization uses Anthropic.Method 1: Using API Key
Use this method to route all Claude Code traffic through the Unbound Gateway without requiring an Anthropic subscription on the device:Method 2: With Anthropic Account
Use this method if the user already has an active Anthropic subscription. This configures hooks for tracking and analytics while preserving the existing Anthropic authentication:Gemini CLI
Run the following command to configure Gemini CLI:Codex
Run the following command to configure Codex:Remove Unbound Configuration
To remove the Unbound Gateway configuration from a device, append--clear to the end of any deployment command above. This removes all Unbound-related settings for that tool and restores it to its default state.
For example:

