NiFiMCP logo

NiFiMCP

by ms82119

NiFiMCP is a server application that likely integrates with Apache NiFi and leverages Large Language Models (LLMs). It provides a way to interact with NiFi through a Streamlit-based chat interface.

View on GitHub

Last updated: N/A

Setup Instructions

To set up the development environment and install all dependencies, follow these steps:

  1. Clone the Repository:

    git clone [email protected]:ms82119/NiFiMCP.git
    cd NiFiMCP
    
  2. Set Up a Virtual Environment: It's recommended to use a virtual environment to manage dependencies. You can create one using venv:

    python3 -m venv .venv
    
  3. Activate the Virtual Environment:

    • On macOS and Linux:
      source .venv/bin/activate
      
    • On Windows:
      .venv\Scripts\activate
      
  4. Install Dependencies: Use uv to install dependencies based on pyproject.toml and uv.lock:

    uv sync
    
  5. Update the .env file with Nifi and LLM API keys

  6. Run the MCP Server: Start the MCP server with:

    uvicorn nifi_mcp_server.server:app --reload --port 8000
    
  7. Run the Streamlit Client: Start the Streamlit client with:

    python -m streamlit run nifi_chat_ui/app.py