Requirements
Install the MagicMtn CLI and Ollama on the machine running the provider. Start Ollama and confirm it is listening at http://127.0.0.1:11434. If the provider runs in a container, the Ollama listener must be reachable at that address from inside the container.
Installation
magic provider install ollama
This installs the MagicMtn adapter. See Requirements for any runtime or other software to install separately. Registry installation does not require a MagicMtn login or AWS credentials.
To remove the installed adapter:
magic provider uninstall ollama
Usage
Install the ollama provider, then use ollama pull to download the chat or embedding model you want. Run ollama list to confirm the full model name and tag. In your self-hosted MagicMtn installation, register the model with provider ollama and put the full name, such as qwen3:4b, in the model name field. Leave the separate version field empty.
The provider supports non-streaming chat, tool calls with compatible chat models, and batched text embeddings. Use default model parameters or set temperature to 0 for chat. Use models stored on your machine.