NiFi MCP server for Apache NiFi flow management

NiFi MCP server for Apache NiFi flow management

nifimcp•byms82119

An MCP server that lets MCP-capable clients interact with Apache NiFi instances using natural language, with roughly 30 tools for building, updating, running, debugging, and documenting NiFi flows.

License: Apache License 2.0•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Offers MCP tools over stdio for any MCP-capable client, working directly against configured NiFi server details.
  • •Provides around 30 tools for building, updating, running, debugging, and documenting NiFi flows.
  • •Includes a built-in chat bot backed by a separate MCP server process for browser-based natural language interaction.

BEST FOR

  • •Users who want to create complete NiFi flows from requirements using natural language.
  • •Teams that need to diagnose and fix issues in existing NiFi flows.
  • •IDE users such as Cursor AI users who want to manage NiFi flows from an MCP-capable client.

ABOUT NIFIMCP

NiFi MCP server for Apache NiFi flow management is cataloged as an MCP server attributed to ms82119. An MCP server that lets MCP-capable clients interact with Apache NiFi instances using natural language, with roughly 30 tools for building, updating, running, debugging, and documenting NiFi flows. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache License 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for NiFi MCP server for Apache NiFi flow management are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the NiFi MCP server support MCP clients other than the built-in chat bot?

Yes. The project can be used as a plain MCP server over stdio from any MCP-capable client, including Cursor AI, Claude Code, and Antigravity.

Which Apache NiFi versions has this project been tested with?

It has been tested with NiFi versions 1.23 and 1.28, and it should work on other versions like 2.x assuming the NiFi REST API stays consistent.

Upstream README

View this exact version on GitHub

README.md · 087873d2dc3a · Fetched 2026-11-13 09:45:27 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

NiFi MCP (Model Context Protocol)

This repository contains the NiFi MCP project. It can be used in two ways, either:

  • As a plain MCP Server that tools like Cursor AI, Claude Code, Antigravity etc. can connect to via stdio
  • Or, with a built-in (contained in this repo) chat bot that you can connect to from your browser.

Either approach allows you to interact with Apache NiFi instances using natural language. There are currently around 30 tools available, covering building, updating, running, debugging, and documenting nifi flows. This has been tested with Nifi versions 1.23 and 1.28, but should work on other versions like 2.x assuming the Nifi REST Api stays consistent.

The built-in chat bot requires you to supply your own LLM API keys, better models give better results and selecting higher token context can help too. I have however found that using Cursor AI in Auto mode gives the best performance and results. It turned out to be a much better interface than I could build with my own chat bot. So I only recommend the built-in chat bot if you have no other options.

Example Conversations (Using built-in chat bot)

Recent Updates

Version 2.0 - Major UI Overhaul

  • Added direct MCP server support for IDE's like Cursor AI (best option)
  • Enhanced the built in chatbot
    • Migrated from Streamlit to FastAPI/JavaScript client for improved performance and user experience
    • Enhanced real-time WebSocket communication for better workflow status updates
    • Improved message handling and duplicate message prevention
    • Modern, responsive UI with better accessibility and mobile support
    • Added a new workflow "Flow Documentation" to help generate better documentation about a flow

For the latest updates and release notes, see the GitHub Releases page.

Setup Instructions

Note: These instructions should also be followed after pulling a new version as there may be new package requirements.

Common Setup Steps (All Versions)

  1. Clone the Repository:

    git clone git@github.com: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 config.yaml file with your Nifi server details and LLM API keys Use the config.example.yaml as your guide for format and structure Note that the LLM API keys are only needed if you are using the built-in client

Using the NiFi MCP server (stdio, any MCP client)

You can use the NiFi MCP tools from any MCP-capable client over stdio, without running the REST server or chat UI. Configure your host to run the server from the repository root with at least one NiFi server in config.yaml.

Portable entrypoint (after uv sync):

{
  "command": "uv",
  "args": ["run", "python", "-m", "nifi_mcp_server.stdio_server"],
  "env": {}
}

Optional: set NIFI_SERVER_ID in env to an id from config.yaml; if omitted, the first server in that file is used.

Using the Built-In Chat Bot

You need two separate terminal processes (two different Python apps). The browser is the only “client”—open the chat URL once; do not start a second copy of api.main on the same port.

ProcessAppPort (example)Role
1nifi_mcp_server.server:app8000 or 8001MCP / NiFi backend (REST + tools the UI calls)
2api.main:app3000 or 3001Serves the chat web UI and talks to process 1

MCP_SERVER_PORT must match the port process 1 listens on (it tells process 2 where to find the MCP server).

1. MCP backend (run first):

uvicorn nifi_mcp_server.server:app --reload --port 8000

If port 8000 is in use, pick another port and set MCP_SERVER_PORT to the same value:

MCP_SERVER_PORT=8001 uvicorn nifi_mcp_server.server:app --reload --port 8001

2. Chat UI web server (second terminal):

uvicorn api.main:app --reload --port 3000

If the MCP server uses 8001, point the UI at it:

MCP_SERVER_PORT=8001 uvicorn api.main:app --reload --port 3000

You may use another UI port (e.g. --port 3001) if 3000 is busy; only one api.main process may use that port.

3. Open in a browser:
http://localhost:3000 (or whatever port you chose for api.main, e.g. http://localhost:3001).

Usage Tips

For detailed usage information, tips, and UI features, see the Usage Guide.

Running Automated Tests

For comprehensive testing information and examples, see the Testing Guide.

License

This project is licensed under the Apache License 2.0.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for NiFi MCP server for Apache NiFi flow management from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/nifimcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps