Same shape as llama.cpp/vLLM/LM Studio: address + optional key, models from the server.
Docker's /engines path is added when the user types the root; mlx-lm's help covers the port shared with llama.cpp.
Local-server checks now read LOCAL_SERVERS instead of a hand-kept tuple.
A per-model table says whether a model has a thinking switch and which effort levels;
the composer shows a grey effort slider and a brain switch only when the model has them.
llama.cpp and vLLM get thinking as enable_thinking; the provider JSON tables ship in the package.
Each is a provider of its own with an address and an optional key; the served model, its window and tool support are read from the server (vLLM is probed for tool calling).
Providers carry a kind (local, subscription, api_key) for the settings page; docs/local-servers.md.