Логотип MCP Server Setup for Open Web UI

MCP Server Setup for Open Web UI

Спільнота
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.

Видавецьsonzentherevolution
Репозиторійopenwebui-mcp-setup
МоваPython
Форки
5
Зірки
17
Доступні інструменти
0
Тип транспортуstdio, streamable-http
Категорії
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    MCP Server Setup for Open Web UI надає можливості MCP, які можуть використовувати сумісні клієнтські ШІ-застосунки та агенти.

  • Доступні інструменти: 0

    Перегляньте нижче дії, які можна викликати, з назвами й описами, якщо сервер їх надає.

  • Готова конфігурація для копіювання

    Скористайтеся прикладами конфігурації, щоб налаштувати цей сервер у вибраному клієнті MCP.

  • Показники інтересу до відкритого коду

    Зірки: 17, форки: 5 — у пов’язаному репозиторії.

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

Встановлення

TypingMind
Передумови:

Node.js 18+

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

Використовуйте MCP MCP Server Setup for Open Web UI з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення MCP Server Setup for Open Web UI ви можете використовувати їх із різними моделями ШІ в TypingMind, а не налаштовувати окремо для кожної моделі. Ви можете запустити MCP локально на своєму пристрої або підключитися до віддаленого сервера MCP за URL.

Варіант 1: використовуйте локальний конектор

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Параметри конектора».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Параметри конектора» й виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо термінал запитає дозволу продовжити.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте MCP Server Setup for Open Web UI як сервер

Коли статус конектора зміниться на «Готово», натисніть «Змінити сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Змінити сервери».
  3. Вставте конфігурацію сервера MCP MCP Server Setup for Open Web UI.
  4. Збережіть список серверів.
  5. Оновіть дані, щоб переконатися, що конектор досі готовий до роботи.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Змінити сервери»
{
  "mcpServers": {
    "sonzentherevolution-openwebui-mcp-setup": {
      "command": "npx",
      "args": [
        "-y",
        "openwebui-mcp-setup"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для MCP Server Setup for Open Web UI, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

  1. Відкрийте сторінку «Плагіни» в TypingMind.
  2. Увімкніть інструменти MCP для MCP Server Setup for Open Web UI.
  3. Почніть чат і виберіть модель ШІ, яку хочете використовувати.
  4. Використовуйте інструменти MCP у чаті або призначте їх агенту ШІ.
  5. За потреби перемикайтеся на іншу модель ШІ без повторного підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через MCP Server Setup for Open Web UI?
MCP Server Setup for Open Web UI
Звісно. Я це прочитав.
Ось що я знайшов за допомогою MCP Server Setup for Open Web UI.

Варіант 2: додайте URL сервера MCP

Виберіть цей варіант, якщо MCP Server Setup for Open Web UI уже розміщено віддалено або вашій команді потрібен один спільний конектор для кількох користувачів.

1

Відкрийте конектори MCP

У TypingMind перейдіть до розділу «Плагіни», відкрийте «Конектори MCP» і виберіть «Додати URL».

  1. Відкрийте TypingMind у браузері.
  2. Перейдіть до розділу «Плагіни».
  3. Відкрийте конектори MCP.
  4. Натисніть «Додати URL».
Форма «Додати URL власного сервера MCP» у TypingMind
2

Вставте URL сервера

Введіть URL вашого сервера у поле «URL сервера». Додайте назву підключення, опис, значок, власні HTTP-заголовки або налаштування клієнта OAuth, якщо сервер їх потребує.

  1. Вставте URL вашого сервера у поле «URL сервера».
  2. Введіть назву підключення для MCP Server Setup for Open Web UI.
  3. Додайте опис і значок, щоб було легше впізнати підключення.
  4. Додайте власні HTTP-заголовки або дані клієнта OAuth, якщо сервер потребує автентифікації.
3

Створіть підключення

Натисніть «Створити підключення», потім поверніться до списку плагінів і переконайтеся, що нове підключення MCP активне.

  1. Натисніть «Створити підключення».
  2. Поверніться до списку конекторів MCP.
  3. Переконайтеся, що підключення MCP Server Setup for Open Web UI відображається як активне.
  4. Оновіть список плагінів, якщо підключення не з’явилося одразу.
4

Перемикайте моделі без повторного підключення

Почніть чат із бажаною моделлю, увімкніть інструменти MCP Server Setup for Open Web UI у розділі «Плагіни» й за потреби перемикайтеся на іншу модель. Підключення MCP залишається доступним у робочому просторі TypingMind.

  1. Почніть новий чат у TypingMind.
  2. Виберіть модель ШІ, яку хочете використовувати.
  3. Увімкніть інструменти MCP Server Setup for Open Web UI у розділі «Плагіни».
  4. За потреби попросіть модель скористатися інструментом.
  5. Перемкніться на іншу модель ШІ й використовуйте те саме підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через MCP Server Setup for Open Web UI?
MCP Server Setup for Open Web UI
Звісно. Я це прочитав.
Ось що я знайшов за допомогою MCP Server Setup for Open Web UI.

Поширені запитання

Для чого використовується сервер MCP MCP Server Setup for Open Web UI?

MCP Server Setup for Open Web UI — це сервер MCP, який дає змогу сумісним клієнтам ШІ підключатися до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати MCP MCP Server Setup for Open Web UI з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати MCP Server Setup for Open Web UI з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати MCP MCP Server Setup for Open Web UI із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши MCP Server Setup for Open Web UI, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити MCP MCP Server Setup for Open Web UI до TypingMind?

MCP Server Setup for Open Web UI можна підключити в TypingMind через локальний конектор MCP або додавши URL віддаленого сервера MCP. Використовуйте локальний конектор, коли серверу потрібен доступ до файлів, застосунків або приватних ресурсів на вашому пристрої, а URL сервера — коли сервер MCP розміщено віддалено.

Які інструменти надає MCP MCP Server Setup for Open Web UI у TypingMind?

MCP Server Setup for Open Web UI надає можливості MCP, які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно передавати свої ключі API в TypingMind, щоб використовувати MCP MCP Server Setup for Open Web UI?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає змогу зберігати контроль над постачальниками моделей, ключами API, промптами та конфігурацією MCP. Якщо MCP Server Setup for Open Web UI потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇