Open WebUI 加入原生 MCP 工具路由
Open WebUI adds native MCP tool routing
Open WebUI 已加入 Model Context Protocol(MCP)伺服器的原生支援,聊天介面可直接路由工具呼叫,無需 LangChain 中介層。用戶可在設定中登記 MCP 端點,並透過相關伺服器使用檔案系統、Git 或 SQL 等工具。MCP 安全機制仍未成熟,正式環境宜使用審計記錄及權限範圍受限的憑證。
What happened: Open WebUI shipped native support for Model Context Protocol (MCP) servers. Users can register MCP endpoints in settings and the chat UI routes tool calls directly — no LangChain middleware required.
Why it matters: Self-hosted stacks (Ollama + Open WebUI) were stuck at "chat only" unless you wired a separate agent runner. MCP is becoming the USB-C of AI tools — one connector, many servers. Baking it into the UI removes a whole orchestration layer for home-lab and small-team setups.
Practical use cases
- Filesystem and git tools for local code assistance
- Database queries via MCP SQL servers
- Custom NAS integrations (n8n triggers, home automation)
Caveats
MCP security is still immature — treat server permissions like API keys. For production, you'll still want audit logs and scoped credentials. For a basement lab? This is a genuine quality-of-life upgrade.
Originally published on ayraix.com, practical AI for enterprise builders.
來源:DEV Community · dev.to