P

BuildMCPServer

...
Created 3/13/2025bynicknochnack

Language:

Python

Stars:

18

Forks:

2

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: 3/15/2025

Publisher info

nicknochnack's avatar

Nicholas Renotte

Data Science guy @IBM

Sydney, Australia
12,230
followers
5
following
195
repos

More MCP servers built with Python

composer-trade-mcp

Create, backtest, and execute trades directly in one chat box. The Composer MCP Server gives LLMs the power to backtest investment ideas and execute automated trading strategies. Trade across stocks, ETFs, and crypto directly in Claude.

By https://github.com/ronnyli
slidespeak-mcp

An MCP to generate presentations with AI. Create and edit PowerPoint presentations with AI.

By https://github.com/SlideSpeak
PaddleOCR

The PaddleOCR MCP server brings enterprise-grade OCR and document parsing capabilities to AI applications. Built on PaddleOCR β€” a proven solution with 50,000+ GitHub stars, deeply integrated by leading projects like MinerU, RAGFlow, and OmniParserβ€” with targeted optimizations based on the MCP concept.

By PaddlePaddle