← All supported agents

Connect LM Studio to Agent Master Key

Agent Master Key (AMK) gives LM Studio its own scoped, revocable key while your real provider keys stay in an encrypted vault on your Mac. AMK connects LM Studio as a one-click connect harness.

How it works

  1. Download Agent Master Key and connect a provider (your key never leaves the Mac).
  2. Open Connect an agent and pick LM Studio. AMK creates a scoped agent key and merges the connection into the config below (backup first).
  3. LM Studio reloads MCP servers when mcp.json is saved — no restart needed.

Config file

~/.lmstudio/mcp.json

The entry points at AMK's local launcher only — it never contains your provider keys or an agent key. Revoke LM Studio's access anytime from the AMK dashboard; revocation takes effect immediately and does not touch your other agents.

More: Getting started · Trust & custody · Compare