4,000+ servers built on vurb.ts
Vinkius
Mastra AISDK
Mastra AI
Open WebUI MCP Server

Bring Llm Management
to Mastra AI

Learn how to connect Open WebUI to Mastra AI and start using 12 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Add File To CollectionChat CompletedChat CompletionsCreate New ChatGet File StatusList ModelsOllama EmbedOllama GenerateOllama TagsProcess Web UrlSend MessageUpload File

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Open WebUI

What is the Open WebUI MCP Server?

Connect your Open WebUI instance to any AI agent and take full control of your local and cloud LLM orchestration through natural conversation.

What you can do

  • Model Management — Use list_models to fetch all available models including Ollama, OpenAI, and Open WebUI Functions.
  • RAG & Knowledge Base — Upload files with upload_file, process web content via process_web_url, and organize them into collections using add_file_to_collection.
  • Chat Orchestration — Create and manage backend-controlled chats with create_new_chat or use OpenAI/Anthropic compatible endpoints like chat_completions and send_message.
  • Native Ollama Support — Directly interact with the Ollama API using ollama_generate, ollama_tags, and ollama_embed for local inference tasks.
  • File Processing — Monitor the status of your document ingestion with get_file_status to ensure your RAG context is ready.

How it works

  1. Subscribe to this server
  2. Enter your Open WebUI Base URL and API Key
  3. Start managing your LLM infrastructure from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • AI Engineers — automate the testing of different models and RAG configurations without leaving the terminal or IDE.
  • Knowledge Managers — quickly ingest documentation and web URLs into Open WebUI collections via simple commands.
  • DevOps Teams — monitor local Ollama instances and manage model availability across the organization.

Built-in capabilities (12)

add_file_to_collection

Add a file to a knowledge collection

chat_completed

Run outlet filters for completed chat

chat_completions

OpenAI-compatible chat completion

create_new_chat

Must generate UUIDs for message IDs. Create a new chat (Backend-Controlled Flow)

get_file_status

Check file processing status

list_models

Retrieve all models

ollama_embed

Ollama API Embeddings

ollama_generate

Ollama API Generate Completion

ollama_tags

List Ollama models

process_web_url

Process a web URL into a collection

send_message

Anthropic-compatible message generation

upload_file

Content is extracted and stored in the vector DB. Provide file content as base64. Upload a file for RAG

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and Open WebUI tool infrastructure. Connect 12 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Open WebUI without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every Open WebUI tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

Open WebUI in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

Open WebUI and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect Open WebUI to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for Open WebUI in Mastra AI

The Open WebUI MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 12 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

Open WebUI
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

The Vinkius Advantage

How Vinkius secures Open WebUI for Mastra AI

Every tool call from Mastra AI to the Open WebUI MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

How can I check if a model is available in my Open WebUI instance?

You can use the list_models tool. It will return a complete list of all configured models, including those from Ollama, OpenAI, and internal Open WebUI functions.

02

Can I add a website to my RAG collection using just a URL?

Yes! Use the process_web_url tool. Provide the URL and the target collection name, and the server will scrape and index the content for you.

03

How do I know when my uploaded file is ready for querying?

After using upload_file, you can check the ingestion progress by calling get_file_status with the returned File ID. It will tell you if the status is 'completed' or 'pending'.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →