P

BuildMCPServer

Created Oct 19, 2025 by nicknochnack

Language:

Python

Stars:

18

Forks:

2

README

Build a MCP Server

A complete walkthrough on how to build a MCP server to serve a trained Random Forest model and integrate it with Bee Framework for ReAct interactivity.

See it live and in action 📺

Startup MCP Server 🚀

  1. Clone this repo git clone https://github.com/nicknochnack/BuildMCPServer
  2. To run the MCP server\ cd BuildMCPServer\ uv venv\ source .venv/bin/activate\ uv add .\ uv add ".[dev]"\ uv run mcp dev server.py
  3. To run the agent, in a separate terminal, run:\ source .venv/bin/activate\ uv run singleflowagent.py

Startup FastAPI Hosted ML Server

git clone https://github.com/nicknochnack/CodeThat-FastML\ cd CodeThat-FastML\ pip install -r requirements.txt\ uvicorn mlapi:app --reload\ Detailed instructions on how to build it can also be found here

Other References 🔗

  • Building MCP Clients (used in singleflow agent)
  • Original Video where I build the ML server

Who, When, Why?

👨🏾‍💻 Author: Nick Renotte 📅 Version: 1.x 📜 License: This project is licensed under the MIT License

Last updated: Oct 19, 2025

Publisher info

nicknochnack's avatar

nicknochnack

Data Science guy @IBM

Sydney, Australia
12,230
followers
5
following
195
repos

More MCP servers built with Python

Stable Diffusion WebUI

Stable Diffusion web UI

By AUTOMATIC1111 160.1K
Transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

By huggingface 155.5K
PyTorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

By pytorch 96.8K