5-Minute Quick Start (Open WebUI)
October 6, 2025 ยท View on GitHub
๐ Navigation: Documentation Home | Server Guide | Getting started | Architecture | Installation | Configuration | Security | Customization | Client Guide
๐ฏ Goal: Get a working MCP server connected to Open WebUI in 5 minutes

โ Prerequisites (2 minutes)
Before starting, ensure you have:
-
Teradata Database Access
- Host URL, username, password
- Get a free sandbox if needed
-
Required Software
- Docker and Docker Compose installed
- Git for cloning the repository
- Python 3.11+
๐ Step 1: Get the Server (1 minute)
Clone and prepare the MCP server:
# Clone the repository
git clone https://github.com/Teradata/teradata-mcp-server.git
cd teradata-mcp-server
๐ง Step 2: Start REST Server (1 minute)
You can use mcpo to expose the MCP server as a RESTful OpenAPI:
Start the server and expose as OpenAPI REST server for Open WebUI:
# Set your database connection
export DATABASE_URI="teradata://username:password@host:1025/database"
export MCPO_API_KEY=top-secret
# Start the REST interface
uvx mcpo --port 8002 --api-key "top-secret" -- uvx teradata-mcp-server
Alternatively, you can use Docker instead of uv:
# Start the REST interface
docker compose --profile rest up
You should see:
INFO: Started server process
Server running at http://localhost:8002
OpenAPI docs available at http://localhost:8002/docs#
Keep this terminal open - the server is now running!
๐ Step 3: Install Open WebUI (1 minute)
In a new terminal, install and start Open WebUI:
# Create virtual environment
python -m venv ./env
source ./env/bin/activate # On Windows: .\env\Scripts\activate
# Install Open WebUI
pip install open-webui
# Start Open WebUI
open-webui serve
Open WebUI will start at http://localhost:8080
โจ Step 4: Connect to MCP Server (30 seconds)
Configure Open WebUI to use your Teradata MCP server:
- Access Open WebUI: Navigate to http://localhost:8080
- Go to Settings: Click on Settings in the interface
- Add Tools Connection:
- Navigate to Settings > Tools > Add Connection
- Enter connection details:
- Host:
localhost:8002 - API Key:
top-secret
- Host:
- Verify Connection: You should see the Teradata tools appear in the Tools section
๐งช Step 5: Test It Works (30 seconds)
Test your Teradata MCP connection in Open WebUI:
- Start a New Chat: Create a new conversation
- Enable Tools: In the Chat Control Valves section (right panel), ensure Teradata tools are enabled
- Test with a Query: Try asking:
What tables are available in my database?
๐ Success! What's Next?
You now have Teradata MCP Server connected to Open WebUI!
For Quick Exploration
- Try different models: Open WebUI supports various LLM runners so you can integrate your local model deployments or use cloud-based services.
- Explore tools: Check the Chat Control Valves to see all available Teradata tools
- Custom queries: Ask complex questions about your data schema and content
For Production Setup
- Security: Configure proper authentication for team deployments
- Custom Tools: Add business-specific tools for your domain
- Model Configuration: Set up your preferred LLM models in Open WebUI
For Development
- API Explorer: Use http://localhost:8002/docs to explore and test REST endpoints
- Custom Integration: REST API guide for building custom applications
๐ Troubleshooting
Cannot use the MCP tools Not all models work well with MCP tools and resources, start with state-of-the art models such as OpenAI's or Anthropic's to validate that your setup is working and explore different models.
REST server not starting?
- Check your
DATABASE_URIformat:teradata://user:pass@host:1025/database - Verify port 8002 isn't in use:
lsof -i :8002 - Ensure Docker is running and you're in the correct directory
Open WebUI can't connect to tools?
- Verify the REST server is running at http://localhost:8002/docs
- Check the API key matches:
MCPO_API_KEY=top-secret - Restart both services if needed
Tools not appearing in Open WebUI?
- Check the connection settings in Settings > Tools
- Verify the host and API key are correct
- Look for connection errors in the Open WebUI logs
Database connection fails?
- Verify
DATABASE_URIenvironment variable:echo $DATABASE_URI - Ensure credentials are correct
Want more help?
- ๐น Video tutorials
- ๐ Detailed installation guide
- ๐ง Configuration options
- ๐ Open WebUI Documentation
This quick start gets you running with Open WebUI. For other clients, see Claude Quick Start or VS Code Quick Start.