Local installer
Run the local installer to route one machine's AI apps and agents (harnesses) through Mintive's LLM gateway. It's built for small-team installs and lightweight evaluation, so start here if you're getting a feel for how the gateway suits your needs. When you're ready to deploy to larger teams, move to MDM rollout.
The installer sets up a wide list of harnesses to route through the gateway: Claude Code, Claude Desktop, Codex, OpenCode, pi, and omp. It also manages your authentication with Mintive and your policy selection, so on first run it prompts you to sign in (OAuth or an API key), pick a policy, and choose which harnesses to configure.
macOS and Linux
curl -fsSL https://downloads.mintmcp.com/releases/mintive-cli | sh
Windows
Run this in PowerShell:
irm https://downloads.mintmcp.com/releases/mintive-cli.ps1 | iex
Set up Claude Desktop
Claude Desktop needs its third-party inference configuration in place before it routes through the gateway, and that configuration only exists once Developer Mode is on. So turn Developer Mode on first, then run the installer:
-
In Claude Desktop, open Help > Troubleshooting > Enable Developer Mode....
-
Run the installer for your platform and choose Claude Desktop when it asks which harnesses to configure. If
mintiveis already installed, runmintive configure claude-desktopinstead. -
Quit and reopen Claude Desktop so it picks up the new configuration.
If the installer reports that Claude Desktop's third-party configuration wasn't found, Developer Mode is still off, so enable it and run the installer again.
With an MDM rollout, you can skip these steps because the managed setup switches Claude Desktop to third-party inference for your users.
The mintive CLI
The installer puts a local mintive binary on your machine for managing your auth state and policy selection. After installation, run its subcommands for auth and policy operations:
| Command | What it does |
|---|---|
mintive auth status | Describe your authentication state |
mintive auth logout | Remove your local sign-in to Mintive |
mintive policy select | Interactively select your active policy |
mintive configure | Write Mintive's settings into each harness's config, installing the extension for pi, OpenCode, and omp |
mintive setup | Go through the full installation steps again |
See the full list with mintive --help, and add --help to any subcommand (for example, mintive policy --help) for its options.
Print the settings Mintive adds
If you manage harness configuration yourself, for example through dotfiles or your own config tooling, run mintive configure --print to see the settings the installer adds to each harness without changing any files. Name the harnesses you want (codex, claude-code, claude-desktop, pi, opencode, or omp), or leave them off to pick from a list:
mintive configure --print claude-code
For Claude Code, this prints the file it writes and the settings it adds there:
Claude Code: ~/.claude/settings.json
{
"env": {
"ANTHROPIC_BASE_URL": "https://app.mintmcp.com/inference",
"CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY": "1",
"CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT": "1",
"ENABLE_TOOL_SEARCH": "true"
},
"apiKeyHelper": "mintive auth token",
"model": "claude-mintmcp-mintmcp-inference"
}
Merge these keys into your own settings.json. Claude Code runs the apiKeyHelper command to get its token from mintive, so no key is stored in the file.
Each config file in the output is followed by its settings in that file's own format (TOML for Codex, JSON for the rest), so you can merge each block straight into your own file. Paths are the default locations, and --json gives machine-readable output.
For pi, OpenCode, and omp, the printout covers the extension's config.json but not the extension itself, so run mintive configure for those harnesses to install it.
Uninstall
When you're done trying the LLM gateway through the local installer, run mintive unconfigure and choose the harnesses to revert. It returns their configurations to how they were before the LLM gateway setup.
Next steps
- MDM rollout: deploy the gateway setup to larger teams
- Agent SDKs: point your own agents at the gateway with the token this CLI manages
- Access control: confirm which policy you have access to
- Monitoring and analysis: see your own inference calls in the Activity view