Integrates with a FastAPI hosted ML server to serve a trained Random Forest model for predictions and data processing.
Provides integration with GitHub repositories for cloning and accessing code resources needed for the MCP server setup.
Integrates with Imgur for image hosting used in the demonstration of the MCP server capabilities.
References YouTube tutorials for additional implementation details on building the ML server component.
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 ๐
Clone this repo
git clone https://github.com/nicknochnack/BuildMCPServerTo run the MCP server
cd BuildMCPServeruv venvsource .venv/bin/activateuv add .uv add ".[dev]"uv run mcp dev server.pyTo run the agent, in a separate terminal, run:
source .venv/bin/activateuv run singleflowagent.py
Startup FastAPI Hosted ML Server
git clone https://github.com/nicknochnack/CodeThat-FastMLcd CodeThat-FastMLpip install -r requirements.txtuvicorn 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