Gemma runs on your own hardware with Ollama or LM Studio. Ollama alone does not connect to MCP servers: go through an interface. The most common is Open WebUI (version 0.6.31 or later, administrator account):

  1. In your Mailpro account, on the AI Assistants (MCP) page, copy the server address.
  2. In Open WebUI, open Settings › Admin › Integrations, then under External Tool Servers click + Add Connection.
  3. Type: MCP (Streamable HTTP). Paste the address into Server URL.
  4. Auth: OAuth 2.1, then click Register Client and Save.
  5. In a conversation, choose your Gemma model, then + › Tools and turn on Mailpro: the Mailpro sign-in page opens the first time.
  6. In Mailpro, on the AI Assistants page, set how it sends: with approval or direct, within a daily cap you set.

Recommended model: Gemma 4. A model that is too small handles tool calling poorly.

For LM Studio or LibreChat, and to set WEBUI_SECRET_KEY: the self-hosted AI guide. All about Gemma: Gemma and Mailpro.

Learn more

Mailpro and AI assistants

Your AI assistant, connected to Swiss email marketing

Connect Claude, ChatGPT, Mistral or your own model to Mailpro in a few minutes. You decide what it may send: approve each send, set a daily limit or suspend all sends at any time.

Start free with MailproDiscover the Mailpro MCP server

Previous question

   

Next question

You might also be interested in:

How to Configure DMARC With Mailpro: 5-Step Safe Rollout

Setting up a DMARC record with Mailpro is the third pillar of email authentication, after SPF and DKIM. Done right,...

Read more

How to Install Mailpro?

Good news — there's nothing to install. Mailpro runs entirely in your browser. You sign up, log in, and start...

Read more

How to Configure DKIM With Mailpro: 4 Easy Steps

Configuring DKIM with Mailpro takes about ten minutes and pays off immediately: signed messages, higher inbox placement and protection against...

Read more

How to Integrate Mailpro SMTP with an AI / GPT Operator

Connecting your Mailpro SMTP relay to an AI agent — like ChatGPT Operator, Claude, n8n or your own Python/Node script...

Read more

Why Was Your Mailpro Payment Declined?

If a Mailpro charge is declined, sending and renewals can be affected until you fix the underlying issue. The most...

Read more