Skip to main content

MCP Server using FastMCP, and FastAPI.

Project description

License: MIT Python Docker

🚀 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)

🔧 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

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

🐳 2. Run with Docker Compose (recommended)

docker compose up --build -d

3. Access the app

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.
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_rainer85ah_mcp_server-0.1.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_rainer85ah_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_rainer85ah_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_rainer85ah_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 62478a81f2e6663dc08bb8c21b38452bdc79af0c97f1c2b156b59fbefaa794ec
MD5 6cb6c29f20c4f4b6f7565620c116102a
BLAKE2b-256 c2c386695bf479743f3e18ac3eb8cc00c62bd8e165646080f9221ab6efa33f74

See more details on using hashes here.

File details

Details for the file iflow_mcp_rainer85ah_mcp_server-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_rainer85ah_mcp_server-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_rainer85ah_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc72a41a4ff4afebac33aab6cc4d961f575044a63788e7d5888769d5d9525c2d
MD5 7499272425a19e6280e1f4c0e3c61100
BLAKE2b-256 18ed02c31919a98098796dbe3ed35feea232dc3328997c293bebc9699f42f9bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page