Skip to main content
Glama
README.md
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Python](https://img.shields.io/badge/Python-3.12%2B-blue.svg)](https://www.python.org/)
[![Docker](https://img.shields.io/badge/Docker-Ready-blue)](https://www.docker.com/)


# šŸš€ FastMCP Boilerplate for MCP Servers

A modern **MCP (Model Control Protocol)** project built with **Python**, **FastMCP**, **FastAPI**, **Docker**, and integrated with **Ollama** and **Open-webUI**.

This project provides a lightweight, extensible foundation for building and deploying intelligent systems that manage and expose AI/LLM capabilities.

![Model Control Protocol (MCP)](utils/MCP.gif)
---

## šŸ”§ Tech Stack

- šŸ **Python** – Primary language
- ⚔ **FastMCP** – Model Control Protocol framework for managing AI models
- 🌐 **FastAPI** – High-performance API backend
- 🧠 **Ollama** – LLM execution and orchestration
- 🧩 **Open-webUI** – Chat-style interface for AI interactions
- 🐳 **Docker** – Containerized for easy deployment and reproducibility in dev and production environments.

---

## 🧱 Features

- šŸš€ Fast startup with Docker
- šŸ”Œ Easy integration with Ollama and Open-webUI
- šŸ“¦ Pluggable architecture for adding models and routes
- šŸŽÆ Designed for rapid prototyping or production use
- āœ… REST API ready with OpenAPI docs

---

## šŸ“¦ Getting Started

### 1. Clone the repo

```bash

git clone https://github.com/rainer85ah/mcp-server.git
cd mcp-server
```

### 🐳 2. Run with Docker Compose (recommended)

```bash

docker compose up --build -d
```

### 3. Access the app

```bash

Ollama: http://localhost:11434
API Docs: http://localhost:8000/docs
OpenAPI: http://localhost:8000/openapi.json
MCP Server: http://localhost:8000/service/mcp/
Open-webUI: http://localhost:3000
```

## 🌱 Use as a Boilerplate

Use this project as a starter template for:

- **AI chat platforms**
- **Model routing gateways**
- **Developer LLM sandboxes**
- **FastAPI-based ML backends**   


## šŸ“œ License


This project is licensed under the [MIT License](https://opensource.org/license/mit).  
You are free to use, modify, and distribute this software with proper attribution.


## šŸ¤ Contributing

Contributions are welcome! Feel free to:

- **⭐ Star the project**
- **šŸ“ Fork the repo**
- **šŸ› ļø Open issues or feature requests**
- **šŸ” Submit pull requests**    


## šŸ“« Contact

Created with šŸ’” by **Rainer Arencibia**  
šŸ”— Connect with me on [LinkedIn](https://www.linkedin.com/in/rainer-arencibia)