Skip to main content

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 🔗

Who, When, Why?

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

Metadata

Release files for iflow-mcp_buildmcpserver 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_buildmcpserver 0.1.0
File Size Uploaded
iflow_mcp_buildmcpserver-0.1.0.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_buildmcpserver 0.1.0
File Interpreter ABI Platform
iflow_mcp_buildmcpserver-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 kB

Release files / iflow_mcp_buildmcpserver-0.1.0.tar.gz

Download URL iflow_mcp_buildmcpserver-0.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9e1eae27e12cfcc245c7c0fce5e64824be050a95dbf6cf38af9fffd844908ec7
BLAKE2b-256 checksum
How to use checksums
a1eaea91dc3e98d34755877b8197bca6667578627dc447bc9f708e7e67c4d98c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / iflow_mcp_buildmcpserver-0.1.0-py3-none-any.whl

Download URL iflow_mcp_buildmcpserver-0.1.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4669344f6912360b592f2501cc69492a0caf0079697727a5ce62ba2faa556ac4
BLAKE2b-256 checksum
How to use checksums
4d8a63861a98a08d16f9d234ebf1b9f9f9eeaf63c8d84952ba86f47f06a9ea45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page