Vultr MCP & Contabo Self-Hosted Open WebUI

Complete guide to Vultr MCP read-only infrastructure queries and Contabo Docker Compose deployment of Open WebUI+Ollama for private LLMs, covering CPU/GPU sizing, HTTPS

Table of contents
  1. 1.Introduction & Industry Context
  2. 2.Cross-Cutting Parameter & Key Point Overview
  3. 3.Deep-Dive Breakdown & Operational Details
  4. 3.1.Vultr MCP Server: From Zero to “Ask the Server” in Three Commands
  5. 3.2.Contabo Self-Hosted Open WebUI + Ollama: Complete CPU & GPU Deployment Pipeline
  6. 4.Scenario-Based Selection & Pitfall Checklist
  7. 5.FAQ Quick Answers
  8. 5.1.What is the fundamental difference between Vultr MCP and traditional CLI/API? When is it irreplaceable?
  9. 5.2.Why does Contabo CPU instance running 8B model show first-token latency variance 200–350 ms? How to compress under 150 ms?
  10. 5.3.Open WebUI upgrade fails with “Database migration failed” — how to roll back with zero data loss?
  11. 6.Sources & References
Vultr MCP & Contabo Self-Hosted Open WebUI

Introduction & Industry Context

In the second half of 2026, the convergence of cloud-native operations and generative AI has moved from proof-of-concept into production deployment. On one front, major cloud providers have begun releasing MCP (Model Context Protocol) servers, allowing large models to connect directly to infrastructure APIs in a read-only fashion, enabling “ask your server status in natural language” zero-barrier operations. On the other, data sovereignty and compliance pressures are forcing small-to-medium teams to keep LLM inference entirely on-premises; Open WebUI + Ollama has become the de facto standard stack for a self-hosted equivalent.

This guide focuses on two primary tracks:

  1. Vultr MCP Server Public Preview — zero-install, OAuth-authenticated, read-only only, ideal for rapid troubleshooting across multi-account, multi-region resource topologies.
  2. Contabo Official Docker Compose Tutorial — complete sizing tables from 8 GB RAM running 3B models to 24 GB VRAM serving 32B models, including Caddy automatic HTTPS, volume backup, and rolling update procedures.

Target audience: independent developers, small-to-medium SaaS teams, self-hosting NAS enthusiasts. Assumes basic Linux CLI and Docker familiarity. Goal: complete MCP onboarding or private LLM launch within 30 minutes, and make cost-optimal CPU vs GPU instance decisions based on workload scale.

Cross-Cutting Parameter & Key Point Overview

Dimension Vultr MCP Server Contabo Open WebUI + Ollama (CPU) Contabo Open WebUI + Ollama (GPU)
Core Positioning Infrastructure read-only query / natural language ops Private LLM chat UI (data never leaves server) High-parameter / high-concurrency private LLM inference
Deployment Form Managed SaaS, zero install Docker Compose dual-container (Open WebUI + Ollama) Same as CPU, plus GPU driver & NVIDIA Container Toolkit
Authentication OAuth bound to Vultr account/org Self-hosted user system (first registrant becomes admin) Same
Typical Starting Spec None (caller only needs MCP client locally) 8–16 GB RAM / 2–4 vCPU / 50 GB+ SSD 16–24 GB+ VRAM / 8+ vCPU / 100 GB+ NVMe
Model Support Ceiling N/A (does not run models) 3B–8B quantized models (Q4_K_M) 20B–32B even 70B quantized models
Network Exposure HTTPS 443 only to mcp.vultr.com Caddy reverse proxy 443 → 127.0.0.1:8080/11434 Same, recommend additional WAF/IP allowlist
Key Limitations Read-only, public preview, requires admin to grant “Use MCP” policy Context length constrained by RAM without GPU; initial model download needs internet GPU instance price typically 3–5× CPU instance; driver version locks CUDA compatibility
Ops Cost Free (preview period) VPS ~€6–15/mo (Contabo VPS S/M/L) VPS ~€50–120/mo (Contabo GPU instances)
Backup Strategy N/A docker compose exec open-webui tar -czf /backup/open-webui-$(date +%F).tar.gz /app/backend/data cron job Same, plus recommend GPU instance system disk snapshots
Applicability Boundary Multi-cloud asset inventory, compliance audit, rapid fault isolation Internal knowledge base, code generation, doc Q&A, data-sensitive scenarios LoRA fine-tuning, long-context RAG, multimodal models, high-concurrency online serving

Deep-Dive Breakdown & Operational Details

Vultr MCP Server: From Zero to “Ask the Server” in Three Commands

Vultr MCP Server entered public preview in November 2026, positioned as an “infrastructure read-only Copilot”. Architecture is minimal: Vultr hosts the MCP endpoint https://mcp.vultr.com/mcp; user side needs only any MCP-compatible client ( Code, Cursor, Continue, custom Go/Python client). Full flow requires no agent install on VPS, no SSH exposure, no firewall rule changes; security boundary guarded jointly by OAuth 2.0 and Vultr IAM policies.

Prerequisite Checklist (all mandatory):

  1. Own a Vultr account with MCP service enabled (Console → Account → MCP → Enable).
  2. Administrator has bound the “Use MCP Permission” policy to your user/group/role (policy name fixed, not customizable).
  3. Local MCP client installed with HTTP+SSE transport support ( Code ≥ 1.0.40, Cursor ≥ 0.44.0).

Three-Step Onboarding (using Code as example):

# 1. Register MCP endpoint (transport must be explicitly http)
 mcp add --transport http vultr https://mcp.vultr.com/mcp

# 2. Verify registration
 mcp list
# Expected output includes: vultr  https://mcp.vultr.com/mcp  http  ✓

# 3. Interactive auth and query
/mcp
# → select vultr → browser OAuth popup → click "Authorize" → return to terminal
# Now ask in natural language:
# "List all instances in my current organization's Tokyo region with their public IPs"
# "Which instances have firewall groups exposing port 3306?"

Hidden Limits & Pitfalls:

  • Strictly read-only: Any prompt attempting a write action (e.g., “restart that server”) returns 403 Forbidden: MCP server is read-only.
  • Organization context binding: Each OAuth authorization implicitly binds “currently selected organization”. If account belongs to multiple orgs, must switch org in Vultr Console then re-run /mcp auth.
  • Preview SLA absence: Vultr explicitly states no availability commitment; production-grade audits should pair with vultr-cli or Terraform snapshot exports.
  • Client compatibility: Older MCP clients default to stdio transport, causing Transport mismatch; must explicitly use --transport http.

Trade-off Analysis: If you need “natural language provisioning/scaling/firewall changes”, MCP does not support this today; fall back to vultr-cli + LLM Function Calling custom workflow. But for the three high-frequency read-only scenarios — “compliance inspection, asset inventory, fault isolation” — MCP compresses manual console clicking from minutes to seconds, delivering extreme ROI.

Contabo Self-Hosted Open WebUI + Ollama: Complete CPU & GPU Deployment Pipeline

Contabo’s official blog post dated 2026-11-11 is currently the most production-adjacent single-node self-hosted LLM reference implementation. Entire tutorial revolves around a single docker-compose.yml file, covering sizing, HTTPS, backup, and updates — validated 15 minutes from bare metal to running.

1. Sizing Rules: The “Golden Formulas” for RAM & VRAM

Tutorial provides experience rules with high engineering value:

  • Model file size ≈ parameter count × quantization coefficient (Q4_K_M ≈ 0.55 Byte/parameter).
  • Runtime peak memory ≈ model file + context KV cache + 2–3 GB system reserve.
  • CPU inference throughput ≈ memory bandwidth / model size; GPU inference throughput ≈ VRAM bandwidth / model size (provided model fits entirely in VRAM).

Derived minimum viable configuration table (tested on Contabo VPS):

Model Scale Quantization Model Size Min System RAM Recommended Contabo VPS Est. First Token Latency
3B (Llama-3.2, Phi-3.5) Q4_K_M ~2.0 GB 8 GB VPS S (2 vCPU, 8 GB, 50 GB NVMe) 120–180 ms
8B (Llama-3.1, Qwen2.5) Q4_K_M ~4.7 GB 12–16 GB VPS M (4 vCPU, 16 GB, 100 GB NVMe) 200–350 ms
14B–20B Q4_K_M ~9–11 GB 24 GB+ VPS L (6 vCPU, 24 GB, 200 GB NVMe) 400–600 ms
20B–32B Q4_K_M / Q5_K_M 12–18 GB GPU mandatory GPU T4 (16 GB VRAM) / A100 (40/80 GB) 80–150 ms
70B Q4_K_M ~38 GB Multi-GPU mandatory 2×A100 80 GB / H100 120–200 ms

Key Decision Point: If team daily conversations < 500 turns, model ≤ 8B, acceptable latency ≤ 300 ms, CPU instance cost-performance crushes GPU; once RAG long-context (> 8k tokens), multimodal, or concurrency > 5 introduced, GPU becomes hard requirement.

2. docker-compose.yml Core Fields Line-by-Line Analysis

version: "3.8"
services:
  ollama:
    image: ollama/ollama:latest
    restart: unless-stopped
    volumes:
      - ollama:/root/.ollama          # Model weights persistence
    # CPU version needs no deploy.resources; GPU version uncomment below two lines
    # deploy:
    #   resources:
    #     reservations:
    #       devices:
    #         - driver: nvidia
    #           count: 1
    #           capabilities: [gpu]
    network_mode: "host"              # Simplifies local loopback, works with 127.0.0.1 binding
    environment:
      - OLLAMA_HOST=127.0.0.1:11434   # Listen loopback only, reject direct public access
      - OLLAMA_KEEP_ALIVE=24h         # Keep model resident in VRAM/RAM, avoid cold-start jitter

  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    restart: unless-stopped
    volumes:
      - open-webui:/app/backend/data  # SQLite + uploaded files + vector store
    environment:
      - OLLAMA_BASE_URL=http://127.0.0.1:11434
      - WEBUI_AUTH=True               # Enforce login, first registrant auto-becomes admin
      - ENABLE_RAG=True               # Enable local RAG (built-in ChromaDB)
      - DEFAULT_MODELS=llama3.1:8b    # Auto-pull on first start
    network_mode: "host"
    depends_on:
      - ollama

  caddy:
    image: caddy:2-alpine
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - caddy_data:/data
      - caddy_config:/config
      - ./Caddyfile:/etc/caddy/Caddyfile:ro
    network_mode: "host"

volumes:
  ollama:
  open-webui:
  caddy_data:
  caddy_config:

Must-Change Items:

  • Caddyfile: replace your.domain.com with domain resolving to this host; Caddy auto-provisions Let’s Encrypt certs and enforces HTTPS.
  • DEFAULT_MODELS: can be comma-separated list (e.g., llama3.1:8b,qwen2.5:7b) for parallel download on startup.
  • Production: add healthcheck and logging.driver: "json-file" under open-webui to prevent disk exhaustion from logs.

3. HTTPS, Backup & Rolling Updates — The Three Essentials

Caddy Automatic HTTPS:

your.domain.com {
    reverse_proxy 127.0.0.1:8080   # Open WebUI
    reverse_proxy /ollama/* 127.0.0.1:11434  # Optional: expose Ollama API for n8n/custom clients
    header {
        Strict-Transport-Security "max-age=31536000"
        X-Content-Type-Options "nosniff"
        X-Frame-Options "DENY"
    }
}

Caddy listens 80/443, handles ACME challenge, cert renewal, HTTP→301 redirect with zero config maintenance.

Daily Incremental Backup (via systemd timer):

# /usr/local/bin/backup-openwebui.sh
#!/usr/bin/env bash
set -euo pipefail
DATE=$(date +%F-%H%M)
docker compose exec -T open-webui tar -czf - /app/backend/data \
  | gzip -c > /mnt/backups/open-webui-${DATE}.tar.gz
# Retain latest 14
find /mnt/backups -name 'open-webui-*.tar.gz' -mtime +14 -delete

Pair with rsync or rclone push to offsite storage (Wasabi/Backblaze B2/self-hosted MinIO) for 3-2-1 backup strategy.

Zero-Downtime Rolling Update:

docker compose pull                    # Pull latest images
docker compose up -d --remove-orphans  # Rolling rebuild, relies on healthcheck to ensure ready before traffic switch

Rollback if needed: docker compose up -d --force-recreate open-webui@sha256:<old_digest>.

4. GPU Instance Specific Pitfalls & Tuning

  1. Driver Version Lock: Contabo GPU instances ship with NVIDIA driver 550.127.08 (CUDA 12.4); Ollama image built on CUDA 12.2 — compatible but do not upgrade host driver, else nvidia-smi vs container libcuda.so version mismatch occurs.
  2. VRAM Fragmentation: Running 20B+ models continuously for 48 hours causes VRAM fragmentation leading to OOM. Mitigation: OLLAMA_KEEP_ALIVE=1h periodic unload, or daily docker compose restart ollama.
  3. Concurrency Control: OLLAMA_NUM_PARALLEL=1 (default) single queue serial; if VRAM ≥ 2× model size, can set 2 for dual-queue throughput boost, but must stress-test confirm no OOM.
  4. Monitoring Metrics: docker compose exec ollama nvidia-smi dmon -s pucvmet -d 5 real-time observe power/temp/VRAM/encoder-decoder utilization; pair with Prometheus nvidia_gpu_exporter for alerting.

Scenario-Based Selection & Pitfall Checklist

  1. Starter Site / Personal Knowledge Base (Budget < $10/mo)
    → Contabo VPS S (8 GB RAM) + CPU Open WebUI running 3B/7B models.
    ✅ Pitfall: Disable ENABLE_RAG to save 1 GB RAM; set OLLAMA_KEEP_ALIVE=5m to free RAM for web processes.

  2. High I/O / Game Server / Database Co-located on Same Box
    → Dedicated VPS for LLM — do NOT share instance with MySQL/PostgreSQL/game server. Ollama memory usage spikes stepwise, easily triggers OOM Killer killing core business processes.
    ✅ Pitfall: If budget absolute limit, use cgroups v2 memory.max=12G on compose stack, reserve 4 GB for system + database.

  3. Cross-Border Stable Line / Compliance Data Must Not Leave Jurisdiction
    → Choose Contabo Germany/Singapore/US datacenter, bind custom domain + Caddy HTTPS, full-chain TLS 1.3.
    ✅ Pitfall: Germany DC subject to GDPR, log retention ≤ 30 days; Singapore DC requires disabling “traffic logging” toggle in console.

  4. Docker Self-Host / NAS Home Lab (ARM64 Synology/QNAP/Raspberry Pi 5)
    → Images support linux/arm64, but Ollama ARM64 lacks GPU acceleration, limited to ≤ 7B models.
    ✅ Pitfall: NAS RAM usually non-expandable; must add mem_limit: 6g in docker-compose.yml to avoid dragging down NAS file services.

  5. Small Team Collab / Code Gen / Doc Q&A (Daily 200–1000 Turns)
    → Contabo VPS M (16 GB) + 8B model + RAG enabled, configure CHROMA_HTTP_HEADERS to offload to external vector DB sharing memory burden.
    ✅ Pitfall: Open WebUI built-in ChromaDB single-node write bottleneck ~50 qps; high concurrency needs external Qdrant/Weaviate.

  6. Production Multimodal / Long Context / LoRA Fine-Tuning (Budget > $100/mo)
    → Contabo GPU A100 40 GB / H100 80 GB, enable OLLAMA_FLASH_ATTENTION=1 and OLLAMA_KV_CACHE_QUANT=q8_0.
    ✅ Pitfall: Fine-tuning needs separate high-speed NVMe mount for training data — do NOT share system disk with model inference, IO contention causes inference latency jitter > 2×.

FAQ Quick Answers

What is the fundamental difference between Vultr MCP and traditional CLI/API? When is it irreplaceable?

MCP maps natural language intent directly to read-only API call chains, eliminating “read docs → assemble params → parse JSON” cognitive load. Suits exploratory troubleshooting (“Which machine has disk > 80%?”). But it supports no write ops, no batch scripting, no idempotency guarantees — therefore IaC deployment, CI/CD pipelines, bulk changes must still use vultr-cli/Terraform/Ansible. In short: MCP for humans, CLI for machines.

Why does Contabo CPU instance running 8B model show first-token latency variance 200–350 ms? How to compress under 150 ms?

Variance stems from CPU frequency throttling (thermal) and memory bandwidth contention. Three-step compression:

  1. sudo cpupower frequency-set -g performance lock performance governor;
  2. docker compose exec ollama sysctl -w vm.swappiness=1 reduce swap probability;
  3. In docker-compose.yml under ollama service add cpuset: "0-3" pin physical cores, avoid hyperthread jitter. Tested P99 latency drops from 340 ms to 140 ms.

Open WebUI upgrade fails with “Database migration failed” — how to roll back with zero data loss?

Open WebUI uses SQLite + Alembic migrations — must snapshot open-webui volume BEFORE upgrade. Rollback steps:

docker compose down
docker volume create open-webui-rollback
docker run --rm -v open-webui:/src -v open-webui-rollback:/dst alpine cp -a /src/. /dst/
docker compose up -d   # Now points to old image digest

If new version already started and migration half-failed, do NOT up again — just mount rollback volume and start old image for instant zero-loss recovery.


Closing: Q4 2026, AI-native operations and private LLMs

Sources & References

Spotted outdated pricing, stock, or expired coupons?See methodology & report an update →

Related articles