Compatible with every major AI agent and IDE
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_modelsto fetch all available models including Ollama, OpenAI, and Open WebUI Functions. - RAG & Knowledge Base — Upload files with
upload_file, process web content viaprocess_web_url, and organize them into collections usingadd_file_to_collection. - Chat Orchestration — Create and manage backend-controlled chats with
create_new_chator use OpenAI/Anthropic compatible endpoints likechat_completionsandsend_message. - Native Ollama Support — Directly interact with the Ollama API using
ollama_generate,ollama_tags, andollama_embedfor local inference tasks. - File Processing — Monitor the status of your document ingestion with
get_file_statusto ensure your RAG context is ready.
How it works
- Subscribe to this server
- Enter your Open WebUI Base URL and API Key
- 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 a file to a knowledge collection
Run outlet filters for completed chat
OpenAI-compatible chat completion
Must generate UUIDs for message IDs. Create a new chat (Backend-Controlled Flow)
Check file processing status
Retrieve all models
Ollama API Embeddings
Ollama API Generate Completion
List Ollama models
Process a web URL into a collection
Anthropic-compatible message generation
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
Open WebUI in Mastra AI
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.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
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.

* 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
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.
Frequently asked questions
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.
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.
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'.
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.
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.
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.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Azure Synapse Analytics
7 toolsManage your Azure Synapse data pipelines seamlessly — audit Spark pools, SQL pools, datasets, and integration pipelines via your AI agent.

Trolley Global Payouts & Tax Compliance
6 toolsAutomate global payouts and tax compliance — manage recipients, payments, and tax forms via AI.

Peerbie
16 toolsOrchestrate your entire team's workspace, from Kanban boards to calendar events, completely driven by AI.

Kontent.ai (Enterprise Headless CMS)
10 toolsManage enterprise content via Kontent.ai — create items, publish language variants, and audit content types.
