MCP.so
Sign In

NiFiMCP

@ms82119

About NiFiMCP

An MCP Server and client for communicating with Nifi (v1.28)

Basic information

Category

Other

Runtime

python

Transports

stdio

Publisher

ms82119

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "NiFiMCP": {
      "command": "python3",
      "args": [
        "-m",
        "venv",
        ".venv"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is NiFiMCP?

NiFiMCP is a Model Context Protocol server that lets you interact with Apache NiFi instances using natural language. It provides around 30 tools for building, updating, running, debugging, and documenting NiFi flows, and can be used either as a plain MCP server (stdio) for IDEs like Cursor AI or Claude Code, or with a built-in chatbot accessible from a browser.

How to use NiFiMCP?

Clone the repository, set up a virtual environment, install dependencies with uv sync, and configure your NiFi server details and LLM API keys in config.yaml. For MCP client use, run uv run python -m nifi_mcp_server.stdio_server as the server command. For the built-in chatbot, start the MCP backend with uvicorn nifi_mcp_server.server:app --reload --port 8000 and the chat UI web server with uvicorn api.main:app --reload --port 3000, then open http://localhost:3000 in a browser.

Key features of NiFiMCP

  • Natural language interaction with Apache NiFi.
  • Around 30 tools for flow building, debugging, and documentation.
  • Supports both stdio MCP client integration and a built-in web chatbot.
  • Tested with NiFi versions 1.23, 1.28, and likely compatible with 2.x.
  • Built-in chatbot offers enhanced real-time WebSocket communication and responsive UI.

Use cases of NiFiMCP

  • Creating new NiFi flows from a specification using natural language prompts.
  • Debugging and fixing issues in existing NiFi flows interactively.
  • Generating comprehensive documentation for existing NiFi dataflows.

FAQ from NiFiMCP

What NiFi versions are supported?

The server has been tested with Apache NiFi versions 1.23 and 1.28 but should also work with 2.x as long as the NiFi REST API remains consistent.

Do I need an LLM API key to use NiFiMCP?

LLM API keys are only required if you use the built-in chatbot. When connecting via a stdio MCP client (e.g., Cursor AI), no external API key is needed for the server itself.

How do I choose between the stdio server and the built-in chatbot?

The stdio server works with any MCP-capable client and is recommended; the built-in chatbot is an alternative if you cannot use an external MCP client and need a browser-based interface.

What configuration is required?

You must provide a config.yaml file with at least one NiFi server URL. For the built-in chatbot, additional LLM API keys must be set in the same configuration file.

Can I run the server on a different port?

Yes, the MCP backend port can be set using the MCP_SERVER_PORT environment variable (default 8000), and the chat UI port is configurable via the --port flag.

Comments

More Other MCP servers