شعار 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 محليًا على جهازك أو الاتصال بعنوان URL لخادم MCP بعيد.

الخيار 1: استخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات 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»، ثم اختر «إضافة رابط».

  1. افتح TypingMind في متصفحك.
  2. انتقل إلى الإضافات.
  3. افتح موصلات MCP.
  4. انقر على «إضافة عنوان URL».
نموذج إضافة عنوان URL لخادم MCP مخصص في TypingMind
2

لصق عنوان URL للخادم

أدخل عنوان URL لخادمك في حقل «رابط الخادم». أضف اسمًا للاتصال أو وصفًا أو أيقونة أو ترويسات HTTP مخصصة أو إعدادات عميل OAuth إذا كان الخادم يتطلب ذلك.

  1. ألصق عنوان 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 ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇