# mcp-web-ui

> MCP Server

MCP Web UI is a web interface for interacting with LLMs, offering a unified platform for multiple providers, real-time chat, flexible configuration, and advanced context handling. MCP Web UI is

## Overview

- **Category:** AI
- **Language:** Go
- **Stars:** 87
- **Forks:** 3
- **Owner:** MegaGrindStone
- **GitHub:** https://github.com/MegaGrindStone/mcp-web-ui
- **Created:** 2025-01-12T07:37:52+00:00
- **Updated:** 2025-03-27T12:59:22+00:00
- **Source:** https://model-context-protocol.com/servers/web-ui-llm-context-management-platform

## Setup

## Setup

1. Clone the repository:
   ```bash
   git clone https://github.com/MegaGrindStone/mcp-web-ui.git
   cd mcp-web-ui
   ```

2. Configure your environment:
   ```bash
   mkdir -p $HOME/.config/mcpwebui
   cp config.example.yaml $HOME/.config/mcpwebui/config.yaml
   ```

3. Set up API keys:
   ```bash
   export ANTHROPIC_API_KEY=your_anthropic_key
   export OPENAI_API_KEY=your_openai_key
   export OPENROUTER_API_KEY=your_openrouter_key
   ```

### Running the Application

#### Local Development
```bash
go mod download
go run ./cmd/server/main.go
```

#### Docker Deployment
```bash
docker build -t mcp-web-ui .
docker run -p 8080:8080 \
  -v $HOME/.config/mcpwebui/config.yaml:/app/config.yaml \
  -e ANTHROPIC_API_KEY \
  -e OPENAI_API_KEY \
  -e OPENROUTER_API_KEY \
  mcp-web-ui
```

## Tools

## Available Tools

1.  Multi-Provider LLM Integration (Supports Anthropic, OpenAI, Ollama, and OpenRouter).
2.  Intuitive Chat Interface (Provides a user-friendly chat experience).
3.  Real-time Response Streaming (Delivers responses via Server-Sent Events (SSE)).
4.  Dynamic Configuration Management (Allows flexible configuration of the application).
5.  Advanced Context Aggregation (Manages context effectively).
6.  Persistent Chat History (Stores chat history using BoltDB).
7.  Flexible Model Selection (Enables users to choose from various models).
