Logo MCP Server Setup for Open Web UI

MCP Server Setup for Open Web UI

Cộng đồng
sonzentherevolution

Universal MCPO/MCP bridge for Open Web UI with AI-powered configuration. Automated setup generation, Docker support, beginner-friendly. Any AI assistant can instantly convert MCP configs to working Open Web UI integrations.

Nhà phát hànhsonzentherevolution
Kho mãopenwebui-mcp-setup
Ngôn ngữPython
Bản fork
5
Sao
17
Công cụ có sẵn
0
Phương thức truyền tảistdio, streamable-http
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCP Server Setup for Open Web UI cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    17 sao và 5 bản fork từ kho mã được liên kết.

SEE AI-SETUP-GUIDE.md

THE FOLLOWING README IS AI GENERATED :)

🚀 MCP Server Setup for Open Web UI

Easily connect powerful MCP tools to Open Web UI with just a few commands!

This repository provides simple, step-by-step guides to add amazing tools to your Open Web UI - like persistent memory, file access, current time, and much more. No complex setup required!

🤔 What does this do?

In simple terms: This helps you add "superpowers" to your AI chat interface.

Example tools you can add:

  • 🧠 Memory Tool: Your AI remembers things between conversations
  • 📁 File Tool: Your AI can read and write files on your computer
  • ⏰ Time Tool: Your AI always knows the current date and time
  • 🌐 Web Tools: Your AI can search the internet and access APIs

🔧 How it works (the simple version)

  1. MCP Servers = The individual tools (memory, files, time, etc.)
  2. MCPO = A simple bridge that makes these tools work with Open Web UI
  3. Open Web UI = Your chat interface that can now use all these tools
🛠️ MCP Tools → 🌉 MCPO Bridge → 💬 Open Web UI

⚡ Quick Start (Choose Your Adventure!)

🎯 Option 1: I just want to test this quickly!

Perfect for trying things out:

Windows:

bash
cd examples
time-server.bat

Mac/Linux:

bash
cd examples
./time-server.sh

Then add http://localhost:8000 to Open Web UI → Settings → Tools!

🔗 Option 4: I have a specific MCP server from GitHub

Got an MCP server you want to use? We can convert it!

Example: You found this in a GitHub README:

json
{
  "mcpServers": {
    "github.com/upstash/context7-mcp": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"]
    }
  }
}

Convert it:

bash
cd scripts
python3 convert-mcp-config.py --stdin
# Paste the JSON above, then Ctrl+D

Or just run it directly:

bash
uvx mcpo --port 8000 --api-key "your-key" -- npx -y @upstash/context7-mcp@latest

Then add http://localhost:8000 to Open Web UI → Settings → Tools!

🐳 Option 2: I prefer using Docker

Great for cleaner setups:

bash
cd docker
docker-compose up -d

🔧 Option 3: I want multiple tools

For the full experience:

Windows:

bash
cd examples
multi-server.bat

Mac/Linux:

bash
cd examples
./multi-server.sh

🤖 AI-Powered Setup (Easiest Way!)

Let an AI agent do the work for you! Perfect if you want personalized help or have a specific MCP server in mind.

📖 Full Guide: Check out AI-SETUP-GUIDE.md for detailed instructions and more example prompts!

📋 How to Use AI Setup

  1. Find any AI assistant (Claude, ChatGPT, etc.)
  2. Upload or share the agentic-setup.md file from this repository
  3. Use one of these prompts:

🎯 Prompt Option 1: I have a specific MCP server

I want to add this MCP server to Open Web UI. Here is the configuration:

{
  "mcpServers": {
    "your-server-name": {
      "command": "npx",
      "args": ["-y", "@your/mcp-package"]
    }
  }
}

Can you set this up for me? Read @agentic-setup.md

🎯 Prompt Option 2: I need help choosing

I want to add MCP tools to Open Web UI but I'm not sure which ones to choose. Can you help me set this up? Read @agentic-setup.md

🎯 Prompt Option 3: From GitHub repository

I found this MCP server on GitHub: [paste GitHub URL]
Can you help me set it up for Open Web UI? Read @agentic-setup.md

🔍 How to Find MCP Configuration

Method 1: GitHub Repository

  1. Go to any MCP server's GitHub page
  2. Look in the README for a JSON block like this:
json
{
  "mcpServers": {
    "server-name": {
      "command": "npx",
      "args": ["-y", "package-name"]
    }
  }
}
  1. Copy that entire JSON block

Method 2: MCP Server Lists

  • Check MCP Servers Directory
  • Browse community MCP collections
  • Look for "Installation" or "Configuration" sections

Method 3: Package Managers

  • Search npm for @modelcontextprotocol/server-* packages
  • Look at package documentation for setup instructions

✨ What the AI will do for you:

  • ✅ Convert any MCP config to work with Open Web UI
  • ✅ Generate the exact commands for your operating system
  • ✅ Create Docker configurations if you prefer containers
  • ✅ Provide step-by-step setup instructions
  • ✅ Give you the exact URLs and API keys to use
  • ✅ Help troubleshoot if something goes wrong

🎉 Example AI Conversation

You: "I want to add this MCP server to Open Web UI..."
AI: "Great! What's your experience level with technical setups?"
You: "Beginner"
AI: "Perfect! What operating system are you using?"
You: "Windows"
AI: "Do you have Open Web UI running already?"
You: "Yes, on port 3000"
AI: "Here's your custom setup script... [generates everything for you]"

📖 Need More Help?

📚 Detailed guides:

🔧 For developers:

Configuration Options

Single Server (Command Line)

For running a single MCP server directly:

bash
uvx mcpo --port 8000 --api-key "your-secret-key" -- uvx mcp-server-time --local-timezone=America/New_York

Multiple Servers (Configuration File)

For running multiple MCP servers, use a configuration file. See config/ directory for examples.

Environment Variables

Use .env files for secure configuration:

bash
mcpo --env-path .env --config config.json

Quick Start Guide

  1. Install MCPO: Choose installation method above
  2. Start a test server: Use the time server example
  3. Check OpenAPI docs: Visit http://localhost:8000/docs
  4. Configure Open Web UI: Add the tool server in settings
  5. Test integration: Try the tools in Open Web UI

Directory Structure

openweb-mcp/
├── README.md                 # This file
├── examples/                 # Quick start examples
│   ├── time-server.sh       # Time server setup
│   └── memory-server.sh     # Memory server setup
├── config/                  # Configuration templates
│   ├── single-server.json   # Single server config
│   ├── multi-server.json    # Multiple servers config
│   └── production.json      # Production-ready config
├── docker/                  # Docker configurations
│   ├── docker-compose.yml   # Basic Docker setup
│   └── docker-compose.prod.yml # Production Docker setup
├── env/                     # Environment configurations
│   ├── .env.example        # Environment variables template
│   └── .env.production      # Production environment
├── scripts/                 # Utility scripts
│   ├── test-connection.sh   # Test MCPO connection
│   └── validate-config.py   # Validate configuration files
└── docs/                   # Additional documentation
    ├── integration-guide.md # Integration with Open Web UI
    ├── troubleshooting.md   # Common issues and solutions
    └── security.md          # Security best practices

Supported MCP Servers

Built-in Servers

  • mcp-server-time: Current time and timezone utilities
  • mcp-server-memory: Persistent memory storage
  • mcp-server-filesystem: File system operations
  • mcp-server-git: Git repository operations

Transport Types

  • stdio: Standard command-line MCP servers
  • sse: Server-Sent Events transport
  • streamable_http: HTTP streaming transport

Open Web UI Integration

Adding Tools to Open Web UI

  1. Access Settings: Go to Open Web UI → Settings → External Tools
  2. Add Tool Server: Click "Add Tool Server"
  3. Configure URL: Enter the full path to your tool:
    • Single server: http://localhost:8000
    • Multiple servers: http://localhost:8000/toolname (e.g., http://localhost:8000/time)
  4. Set API Key: If configured, enter your API key
  5. Test Connection: Verify the tool loads correctly

Important Notes

  • Each tool requires a separate configuration in Open Web UI
  • Use the full path including the tool name for multi-server setups
  • Ensure MCPO is running before configuring tools in Open Web UI

Security Considerations

  • Always use API keys in production environments
  • Use HTTPS in production deployments
  • Limit network access to MCPO ports
  • Regularly update MCPO and MCP servers
  • Monitor logs for security issues

Troubleshooting

Common Issues

  1. Connection refused: Ensure MCPO is running on the correct port
  2. Tool not found: Check the URL path and tool name
  3. Authentication failed: Verify API key configuration
  4. Server startup failed: Check MCP server dependencies

Debug Mode

Enable debug logging:

bash
mcpo --port 8000 --log-level debug -- your_mcp_server_command

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test with different MCP servers
  5. Submit a pull request

Support

For issues and questions:

  • Check the troubleshooting guide
  • Review Open Web UI documentation
  • Check MCPO GitHub issues
  • Create an issue in this repository

License

This project is licensed under the MIT License - see the LICENSE file for details.

🎉 What Tools Can I Add?

Here's what each tool does in simple terms:

ToolWhat It DoesExample Use
🧠 MemoryAI remembers things between chats"Remember my name is John" → AI recalls this later
⏰ TimeAlways knows current date/time"What day is Christmas this year?"
📁 FilesCan read/write files on your computer"Save this code to a file" or "Read my notes.txt"
🌐 GitWorks with code repositories"Show me recent commits" or "Create a new branch"

🤝 Contributing

Found a bug? Have an idea? We'd love your help!

  • 🐛 Report issues via GitHub Issues
  • 💡 Suggest features via GitHub Discussions
  • 🔧 Submit fixes via Pull Requests
  • 📖 Improve docs - even small fixes help!

🌟 Show Your Support

If this helped you, please ⭐ star the repository to help others find it!

📄 License

MIT License - feel free to use this in your own projects!

🙏 Acknowledgments

  • Open Web UI team for the amazing interface
  • MCPO developers for the bridge technology
  • MCP community for creating these powerful tools

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "sonzentherevolution-openwebui-mcp-setup": {
      "command": "npx",
      "args": [
        "-y",
        "openwebui-mcp-setup"
      ]
    }
  }
}

Dùng MCP MCP Server Setup for Open Web UI với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCP Server Setup for Open Web UI, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Bạn có thể chạy MCP ngay trên thiết bị của mình hoặc kết nối qua URL của máy chủ MCP từ xa.

Cách 1: Dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCP Server Setup for Open Web UI làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCP Server Setup for Open Web UI.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "sonzentherevolution-openwebui-mcp-setup": {
      "command": "npx",
      "args": [
        "-y",
        "openwebui-mcp-setup"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCP Server Setup for Open Web UI, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCP Server Setup for Open Web UI.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCP Server Setup for Open Web UI giúp tôi làm việc này không?
MCP Server Setup for Open Web UI
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCP Server Setup for Open Web UI.

Cách 2: Thêm URL máy chủ MCP

Dùng cách này khi MCP Server Setup for Open Web UI đã được lưu trữ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ của bạn vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ của bạn vào trường URL máy chủ.
  2. Nhập tên kết nối cho MCP Server Setup for Open Web UI.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối MCP Server Setup for Open Web UI hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của MCP Server Setup for Open Web UI trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của MCP Server Setup for Open Web UI trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và dùng lại cùng kết nối MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCP Server Setup for Open Web UI giúp tôi làm việc này không?
MCP Server Setup for Open Web UI
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCP Server Setup for Open Web UI.

Câu hỏi thường gặp

Máy chủ MCP MCP Server Setup for Open Web UI dùng để làm gì?

MCP Server Setup for Open Web UI là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCP Server Setup for Open Web UI với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCP Server Setup for Open Web UI với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCP Server Setup for Open Web UI với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCP Server Setup for Open Web UI, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCP Server Setup for Open Web UI với TypingMind?

Bạn có thể kết nối MCP Server Setup for Open Web UI trong TypingMind bằng trình kết nối MCP cục bộ hoặc bằng cách thêm URL máy chủ MCP từ xa. Dùng trình kết nối cục bộ khi máy chủ cần truy cập tệp, ứng dụng hoặc tài nguyên riêng trên thiết bị của bạn; dùng URL máy chủ khi máy chủ MCP được lưu trữ từ xa.

MCP MCP Server Setup for Open Web UI cung cấp những công cụ nào trong TypingMind?

MCP Server Setup for Open Web UI cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCP Server Setup for Open Web UI không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCP Server Setup for Open Web UI yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇