THE FOLLOWING README IS AI GENERATED :)
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!
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
- MCP Servers = The individual tools (memory, files, time, etc.)
- MCPO = A simple bridge that makes these tools work with Open Web UI
- Open Web UI = Your chat interface that can now use all these tools
π οΈ MCP Tools β π MCPO Bridge β π¬ Open Web UI
Perfect for trying things out:
Windows:
cd examples
time-server.batMac/Linux:
cd examples
./time-server.shThen add http://localhost:8000 to Open Web UI β Settings β Tools!
Got an MCP server you want to use? We can convert it!
Example: You found this in a GitHub README:
{
"mcpServers": {
"github.com/upstash/context7-mcp": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp@latest"]
}
}
}Convert it:
cd scripts
python3 convert-mcp-config.py --stdin
# Paste the JSON above, then Ctrl+DOr just run it directly:
uvx mcpo --port 8000 --api-key "your-key" -- npx -y @upstash/context7-mcp@latestThen add http://localhost:8000 to Open Web UI β Settings β Tools!
Great for cleaner setups:
cd docker
docker-compose up -dFor the full experience:
Windows:
cd examples
multi-server.batMac/Linux:
cd examples
./multi-server.shLet 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!
- Find any AI assistant (Claude, ChatGPT, etc.)
- Upload or share the
agentic-setup.mdfile from this repository - Use one of these prompts:
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
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
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
Method 1: GitHub Repository
- Go to any MCP server's GitHub page
- Look in the README for a JSON block like this:
{
"mcpServers": {
"server-name": {
"command": "npx",
"args": ["-y", "package-name"]
}
}
}- 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
- β 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
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]"
π Detailed guides:
- Open Web UI Setup - Exact steps with current UI
- Integration Guide - Complete setup walkthrough
- Troubleshooting - When things don't work
- Security Guide - For production use
π§ For developers:
- Configuration Files - Advanced server setups
- Docker Setups - Container deployments
- Testing Scripts - Validation and monitoring
For running a single MCP server directly:
uvx mcpo --port 8000 --api-key "your-secret-key" -- uvx mcp-server-time --local-timezone=America/New_YorkFor running multiple MCP servers, use a configuration file. See config/ directory for examples.
Use .env files for secure configuration:
mcpo --env-path .env --config config.json- Install MCPO: Choose installation method above
- Start a test server: Use the time server example
- Check OpenAPI docs: Visit
http://localhost:8000/docs - Configure Open Web UI: Add the tool server in settings
- Test integration: Try the tools in Open Web UI
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
- 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
- stdio: Standard command-line MCP servers
- sse: Server-Sent Events transport
- streamable_http: HTTP streaming transport
- Access Settings: Go to Open Web UI β Settings β External Tools
- Add Tool Server: Click "Add Tool Server"
- 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)
- Single server:
- Set API Key: If configured, enter your API key
- Test Connection: Verify the tool loads correctly
- 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
- 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
- Connection refused: Ensure MCPO is running on the correct port
- Tool not found: Check the URL path and tool name
- Authentication failed: Verify API key configuration
- Server startup failed: Check MCP server dependencies
Enable debug logging:
mcpo --port 8000 --log-level debug -- your_mcp_server_command- Fork the repository
- Create a feature branch
- Make your changes
- Test with different MCP servers
- Submit a pull request
For issues and questions:
- Check the troubleshooting guide
- Review Open Web UI documentation
- Check MCPO GitHub issues
- Create an issue in this repository
This project is licensed under the MIT License - see the LICENSE file for details.
Here's what each tool does in simple terms:
| Tool | What It Does | Example Use |
|---|---|---|
| π§ Memory | AI remembers things between chats | "Remember my name is John" β AI recalls this later |
| β° Time | Always knows current date/time | "What day is Christmas this year?" |
| π Files | Can read/write files on your computer | "Save this code to a file" or "Read my notes.txt" |
| π Git | Works with code repositories | "Show me recent commits" or "Create a new branch" |
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!
If this helped you, please β star the repository to help others find it!
MIT License - feel free to use this in your own projects!
- Open Web UI team for the amazing interface
- MCPO developers for the bridge technology
- MCP community for creating these powerful tools