Simple-MCP-Build

This repository includes the Model Context Protocol (MCP) framework that ClimateGPT Team 1 is developing.

Visit Server
Added on 3/28/2025

Model Context Protocal (MCP) Implementation

This repository includes the Model Context Protocol (MCP) framework that ClimateGPT Team 1 is developing.

๐Ÿ“‚ Project Structure

/mcp-framework โ”œโ”€โ”€ modules/ # Core MCP components โ”‚ โ”œโ”€โ”€ context_manager.py # Stores execution context memory โ”‚ โ”œโ”€โ”€ data_loader.py # Handles dataset loading โ”‚ โ”œโ”€โ”€ query_manager.py # Routes queries dynamically โ”‚ โ”œโ”€โ”€ pipeline_manager.py # Executes MCP steps โ”œโ”€โ”€ models/ # Test EDA / initial models for MCP framework checking โ”‚ โ”œโ”€โ”€ scenario_projection.py # Temp trend analysis โ”‚ โ”œโ”€โ”€ temperature_trends.py # Climate scenario projections โ”‚ โ”œโ”€โ”€ Model3.py # Model 3 โ”œโ”€โ”€ config/ # Configuration settings โ”‚ โ”œโ”€โ”€ config.yaml # Defines dataset paths and pipeline steps โ”œโ”€โ”€ logs/ # Execution logs โ”‚ โ”œโ”€โ”€ mcp_execution.log โ”œโ”€โ”€ tests/ # Unit tests for MCP validation โ”œโ”€โ”€ main.py # Entry point for MCP execution โ”œโ”€โ”€ requirements.txt # Python dependencies โ”œโ”€โ”€ README.md # Project documentation

How to run MCP Framework

  1. Clone the repository (if not already cloned):

    git clone https://github.com/ newsconsole/GMU_DAEN_2025_01_A.git
    
  2. Switch to the ClimateGPT Team 1 Branch:

    git checkout ClimateGPT_Team1
    
  3. Make sure to set up venv (Virtual Env)

    1. python -m venv venv
    2. venv\Scripts\Activate
    
  4. Install dependencies (requirements.txt):

    pip install -r requirements.txt
    
  5. Run the MCP Pipeline

    python main.py 
    

Configuration & Execution

  • The MCP pipeline is dynamically controlled by config/config.yaml which defines the datasets and pipeline steps
  • Logs are stored in logs/mcp_execution.log for debugging and tracking execution results

Recent Updates

  • Implemented initial MCP Framework with modular design
  • Added dynamiic query routing & context memory