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:
-
Clone the Repository:
git clone [email protected]:ms82119/NiFiMCP.git cd NiFiMCP
-
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
-
Activate the Virtual Environment:
- On macOS and Linux:
source .venv/bin/activate
- On Windows:
.venv\Scripts\activate
- On macOS and Linux:
-
Install Dependencies: Use
uv
to install dependencies based onpyproject.toml
anduv.lock
:uv sync
-
Update the .env file with Nifi and LLM API keys
-
Run the MCP Server: Start the MCP server with:
uvicorn nifi_mcp_server.server:app --reload --port 8000
-
Run the Streamlit Client: Start the Streamlit client with:
python -m streamlit run nifi_chat_ui/app.py