MCParr
by sharkhunterr
README.md
<div align="center">
# ๐ฏ MCParr AI Gateway
**Turn your homelab into an AI-powered automation hub**
[](https://github.com/sharkhunterr/mcparr/releases)
[](https://hub.docker.com/r/sharkhunterr/mcparr)
[](https://hub.docker.com/r/sharkhunterr/mcparr)
[](LICENSE)
[](https://python.org)
[](https://fastapi.tiangolo.com)
[](https://reactjs.org)
[](https://typescriptlang.org)
[](#-multi-language-support)

**[Quick Start](#-quick-start)** โข
**[Features](#-features)** โข
**[Docker Hub](https://hub.docker.com/r/sharkhunterr/mcparr)** โข
**[Documentation](docs/)** โข
**[Screenshots](#-screenshots)**
</div>
---
## ๐ What is MCParr?
MCParr bridges AI assistants with your homelab services through the **Model Context Protocol (MCP)**. Control your entire homelab using natural language with Open WebUI, Claude, or any MCP-compatible AI assistant.
**Perfect for:**
- ๐ Homelab enthusiasts managing services for family/friends
- ๐ค AI automation of media requests and downloads
- ๐ Centralized monitoring and control
- ๐ง Developers building on MCP protocol
> [!WARNING]
> **Vibe Code Project** - This application was built **100% using AI-assisted development** with [Claude Code](https://claude.ai/claude-code) (Anthropic's CLI). See [Acknowledgments](#-acknowledgments) for details on why and how.
---
## โจ Features
<table>
<tr>
<td width="33%" valign="top">
### ๐ฌ Service Integration
**15+ homelab services**
- Plex, Overseerr, Tautulli
- Radarr, Sonarr, Prowlarr
- Deluge, Jackett
- Komga, Audiobookshelf, RomM
- Wiki.js, Zammad, Authentik
- Open WebUI, Ollama
[Full service list โ](docs/USER_GUIDE.md#services-management)
</td>
<td width="33%" valign="top">
### ๐ค AI Automation
**100+ MCP tools**
- Natural language control
- Tool chains with IF/THEN logic
- Global cross-service search
- Group-based permissions
- Auto-config for Open WebUI
[MCP docs โ](docs/MCP.md)
</td>
<td width="33%" valign="top">
### ๐ Observability
**Complete monitoring**
- Real-time WebSocket logs
- System metrics dashboard
- Custom alert rules
- Prometheus metrics
- Correlation ID tracing
[Monitoring guide โ](docs/USER_GUIDE.md#monitoring)
</td>
</tr>
</table>
### ๐จ Modern Web UI
- ๐ **5 languages** (EN, FR, DE, ES, IT)
- ๐ Light/Dark/Auto themes
- ๐ฑ Fully responsive design
- ๐งญ Interactive setup wizard
- ๐พ Backup/restore configuration
### ๐ง AI Training (Experimental)
- Custom Ollama model training
- GPU worker support
- 94+ validated prompts
- Progress tracking
---
## ๐ Quick Start
### Option 1: Docker (Recommended)
```bash
# Pull the latest image
docker pull sharkhunterr/mcparr:latest
# Run with Docker Compose
curl -o docker-compose.yml https://raw.githubusercontent.com/sharkhunterr/mcparr/master/docker/docker-compose.yml
docker compose up -d
```
**Access**: http://localhost:3000
๐ **[Complete Docker guide โ](docker/README.md)** | **[Docker Hub โ](https://hub.docker.com/r/sharkhunterr/mcparr)**
### Option 2: Local Development
```bash
# Clone and setup
git clone https://github.com/sharkhunterr/mcparr.git
cd mcparr
npm run setup
# Start dev servers
npm run dev
# Access
# Frontend: http://localhost:3000
# API docs: http://localhost:8000/docs
```
๐ **[Development guide โ](docs/INTEGRATION_GUIDE.md)**
---
## ๐ง Configuration
MCParr requires minimal configuration to get started:
```yaml
# docker-compose.yml
environment:
- LOG_LEVEL=INFO # debug, info, warning, error
- DATABASE_URL=sqlite:///data/mcparr.db # or PostgreSQL
- REDIS_URL=redis://localhost:6379 # optional cache
```
After first launch, use the **Setup Wizard** to:
1. Select your language
2. Import existing config (optional)
3. Tour MCParr features
4. Configure your services
๐ **[Configuration guide โ](docs/CONFIGURATION.md)** | **[User guide โ](docs/USER_GUIDE.md)**
---
## ๐ฌ AI Integration
### With Open WebUI (Recommended)
1. **Add Open WebUI service** in MCParr
2. Go to **MCP โ Configuration**
3. Click **Auto-Configure** โ Select services
4. Enable tools in Open WebUI chat
```
You: Request the new season of Foundation
AI: โ
I've requested Foundation Season 2 via Overseerr!
You: What movies do I have about space?
AI: ๐ฌ Found 23 space movies in your Plex library...
You: How are my downloads?
AI: ๐ฅ You have 3 movies and 5 episodes downloading...
```
### With Claude Desktop
Add to `~/.config/claude/claude_desktop_config.json`:
```json
{
"mcpServers": {
"mcparr": {
"command": "curl",
"args": ["-N", "http://localhost:8001/sse"]
}
}
}
```
๐ **[AI integration guide โ](docs/MCP.md)**
---
## ๐ธ Screenshots
<details open>
<summary><b>๐ฏ Dashboard & Services</b></summary>
| Dashboard | Services Management |
|-----------|---------------------|
|  |  |
</details>
<details>
<summary><b>๐ฅ User & Group Management</b></summary>
| User Auto-Detection | Group Permissions |
|---------------------|-------------------|
|  |  |
</details>
<details>
<summary><b>๐ Monitoring & Logs</b></summary>
| System Metrics | Log Viewer |
|----------------|------------|
|  |  |
</details>
**[View all screenshots โ](docs/images/)**
---
## ๐ Documentation
| Guide | Description |
|-------|-------------|
| [Installation](docs/INSTALLATION.md) | Complete setup instructions |
| [Docker](docker/README.md) | Docker deployment guide |
| [Configuration](docs/CONFIGURATION.md) | Environment & service config |
| [User Guide](docs/USER_GUIDE.md) | Complete UI guide, services & monitoring |
| [MCP Integration](docs/MCP.md) | AI integration, tool chains & permissions |
| [API Reference](docs/API.md) | REST API endpoints |
| [Integration Guide](docs/INTEGRATION_GUIDE.md) | Developer guide for new services |
| [Scripts](scripts/README.md) | Release automation & CI/CD |
---
## ๐ Multi-Language Support
MCParr is fully translated into **5 languages**:
๐ฌ๐ง English โข ๐ซ๐ท Franรงais โข ๐ฉ๐ช Deutsch โข ๐ช๐ธ Espaรฑol โข ๐ฎ๐น Italiano
All translations generated with Claude Code. Want to add a language? See [Integration Guide](docs/INTEGRATION_GUIDE.md#11-step-9-internationalization-i18n).
---
## ๐ ๏ธ Technology Stack
**Backend**: Python 3.11 โข FastAPI โข SQLAlchemy โข Alembic โข Redis โข MCP
**Frontend**: React 18 โข TypeScript โข Tailwind CSS โข Vite โข i18next
**DevOps**: Docker โข GitLab CI โข GitHub Actions โข Prometheus
**[Architecture details โ](docs/INTEGRATION_GUIDE.md#1-architecture-overview)**
---
## ๐๏ธ Architecture
### Global Architecture
```mermaid
flowchart TB
subgraph Clients["๐ฅ๏ธ AI Clients"]
OW[Open WebUI]
CD[Claude Desktop]
API[REST API Client]
end
subgraph MCParr["๐ฏ MCParr Gateway"]
subgraph Backend["FastAPI Backend :8000"]
REST[REST API<br/>/api/*]
OA[OpenAPI Tools<br/>/tools/*]
TR[Tool Registry]
PM[Permission Manager]
end
subgraph MCP["MCP Server :8001"]
SSE[SSE Endpoint<br/>/sse]
MSG[Message Handler]
end
subgraph Data["Data Layer"]
DB[(SQLite/PostgreSQL)]
REDIS[(Redis Cache)]
end
end
subgraph Services["๐ง Homelab Services"]
direction LR
PLEX[Plex]
OV[Overseerr]
RAD[Radarr]
SON[Sonarr]
MORE[...]
end
OW -->|OpenAPI + JWT| OA
CD -->|MCP Protocol| SSE
API -->|REST| REST
OA --> TR
SSE --> MSG --> TR
REST --> TR
TR --> PM
PM --> DB
TR --> REDIS
TR -->|HTTP| Services
```
### Request Flow Sequence
```mermaid
sequenceDiagram
participant User as ๐ค User
participant AI as ๐ค AI Assistant
participant MCParr as ๐ฏ MCParr
participant Service as ๐ง Service
User->>AI: "Request Foundation Season 2"
AI->>MCParr: Call overseerr_request_media
Note over MCParr: Validate JWT Token
Note over MCParr: Check User Permissions
Note over MCParr: Resolve User Mapping
MCParr->>Service: POST /api/v1/request
Service-->>MCParr: 201 Created
Note over MCParr: Log Request
Note over MCParr: Update Metrics
MCParr-->>AI: Success Response
AI-->>User: "โ
Foundation S2 requested!"
```
---
## ๐ค Contributing
Contributions welcome! Please:
1. Read the [Integration Guide](docs/INTEGRATION_GUIDE.md) for development details
2. Fork and create a feature branch
3. Run tests: `npm run lint && npm test`
4. Submit a pull request
**Releases**: We use automated release scripts. See [Scripts documentation](scripts/README.md) for details.
---
## ๐ฆ Releases & Docker
### Latest Release
Check [Releases](https://github.com/sharkhunterr/mcparr/releases) for changelogs and downloads.
### Docker Images
```bash
# Latest stable
docker pull sharkhunterr/mcparr:latest
# Specific version
docker pull sharkhunterr/mcparr:v0.2.33
```
**Platforms**: `linux/amd64`, `linux/arm64`
**[Docker Hub โ](https://hub.docker.com/r/sharkhunterr/mcparr)** | **[Release automation โ](scripts/README.md)**
---
## ๐ Acknowledgments
**The Need**: Managing 15+ homelab services for family and friends became overwhelming โ scattered UIs, manual requests, no unified control.
**The Solution**: MCParr was born to bridge AI assistants with homelab services, letting users make requests in natural language instead of learning multiple interfaces.
**The Approach**: As a young parent with limited time and no fullstack development experience (neither backend nor frontend), traditional coding wasn't an option. Built entirely through [Claude Code](https://claude.ai/claude-code) using "vibe coding" โ pure conversation, no manual coding required.
**The Architecture**: Structured using [GitHub Spec-Kit](https://github.com/github/spec-kit) methodology for maintainable, scalable design.
Special thanks to the homelab community and all contributors!
---
## ๐ License
MIT License - see [LICENSE](LICENSE) file for details.
---
<div align="center">
**Built with Claude Code ๐ค for the homelab community ๐ **
[](https://github.com/sharkhunterr/mcparr)
[](https://hub.docker.com/r/sharkhunterr/mcparr)
[](docs/)
[โญ Star on GitHub](https://github.com/sharkhunterr/mcparr) โข [๐ Report Bug](https://github.com/sharkhunterr/mcparr/issues) โข [๐ก Request Feature](https://github.com/sharkhunterr/mcparr/issues)
</div>
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues