[](LICENSE)
[](https://www.python.org/)
[](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.

---
## π§ 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)