nifipilot-plus
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind address for sse/http. | 127.0.0.1 |
| MCP_MODE | No | readonly or full (enables write/control tools). | readonly |
| MCP_PORT | No | Bind port for sse/http. | 8000 |
| NIFI_URL | No | NiFi base URL (/nifi-api is appended). | https://localhost:8443 |
| MCP_DRY_RUN | No | Write/control tools only report what they would do. | false |
| MCP_TOOLSETS | No | Subset of core,flow,services,parameters,ports,guides (core is always on). | all |
| NIFI_TIMEOUT | No | HTTP timeout in seconds. | 30 |
| MCP_AUDIT_LOG | No | Enable JSON-lines log of every call (secrets redacted). | true |
| MCP_TRANSPORT | No | stdio, sse or http (streamable HTTP, path /mcp). | stdio |
| NIFI_PASSWORD | No | Password used to login via POST /access/token; empty password means no auth (unsecured NiFi 1.x). Single-user passwords need ≥ 12 chars. | |
| NIFI_USERNAME | No | Username used to login via POST /access/token; JWT renewed on 401. | admin |
| NIFI_CA_BUNDLE | No | CA bundle path (preferred over disabling verification). | |
| NIFI_VERIFY_SSL | No | Set to false for a local self-signed certificate. | true |
| NIFI_MAX_RETRIES | No | Number of attempts for transient failures. | 3 |
| MCP_AUDIT_LOG_PATH | No | Path of the audit log file. | ./logs/audit.log |
| NIFI_PROXY_CONTEXT_PATH | No | Sent as X-ProxyContextPath behind a path-prefix proxy. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
MCP server for Apache NiFi. READ-ONLY: only inspection tools are available. list_* tools return compact summaries; use get_*_details for full configuration. Write tools take an optional version (current revision is fetched when omitted). Build flows inside a process group (start_new_flow), enable controller services before starting processors, and check get_flow_health_status afterwards.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_nifi_versionB | NiFi version/build info, and whether this is NiFi 1.x or 2.x. |
| get_system_diagnosticsB | NiFi system health: heap, CPU load, uptime and repository utilisation. |
| get_root_process_groupB | Root process group id plus a summary of what it contains. |
| get_process_groupsB | List the direct child process groups of a group (default: root). |
| get_flow_statusC | Throughput and thread/queue statistics for a process group. |
| get_flow_summaryC | Processor counts by state, connection count and total queued data of a group. |
| get_flow_health_statusA | Health report (HEALTHY | DEGRADED | UNHEALTHY): invalid processors/services, queues close to backpressure, recent WARN/ERROR bulletins. Direct children of the group only. |
| list_processorsB | List processors (direct children) of a process group with state and validation. |
| list_connectionsB | List connections of a process group with queue depth and relationships. |
| get_processor_detailsC | Full processor entity: properties, scheduling, relationships, validation, revision. |
| get_processor_stateA | Quick state check (RUNNING / STOPPED / DISABLED) for one processor. |
| get_processor_typesB | Processor types available on this NiFi. Use |
| get_connection_detailsC | Full connection entity: queue status, relationships, back-pressure settings. |
| check_connection_queueB | Queue depth of a connection. A connection must be empty before it can be deleted. |
| get_bulletinsA | Recent bulletins (warnings/errors). |
| search_flowB | Search processors, connections, groups, ports and services by name/property. |
| get_controller_servicesA | List controller services. With a group id: services in scope of that group (including inherited ones); without: controller-level (global) services. |
| get_controller_service_detailsC | Full controller service entity: properties, state, referencing components. |
| find_controller_services_by_typeA | Find existing services of a type (full class name or short name such as DBCPConnectionPool). Check this BEFORE creating a service to avoid duplicates. |
| list_parameter_contextsA | List parameter contexts with their parameter counts and bound process groups. |
| get_parameter_context_detailsA | One parameter context with all its parameters (sensitive values are never returned). |
| list_input_portsD | Input ports of a process group. |
| list_output_portsC | Output ports of a process group. |
| analyze_flow_build_requestA | Recognise common integration patterns (database to object storage, Kafka to S3, REST to database, ...) and list the requirements to collect BEFORE building a flow. |
| get_best_practices_guideB | NiFi flow-building best practices (groups, naming, lifecycle, parameters, safety). |
| get_recommended_workflowC | Step-by-step workflow (with the tools to call) for building the requested flow. |
| check_configurationA | Validate this MCP server's own configuration and report errors/warnings. |
| get_setup_instructionsC | Environment variables and a typical build sequence for this MCP server. |
| get_jdbc_driver_troubleshootingA | Explain 'driver class not found' errors for DBCPConnectionPool and what to do. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 29 tools
Most tools have clearly distinct read targets: process groups vs processors vs connections vs controller services vs parameters. Minor overlap between get_flow_status, get_flow_summary, and get_flow_health_status (all group-level stats), but descriptions differentiate throughput, counts, and health reasonably well. get_processor_state is a lightweight subset of get_processor_details, but that redundancy is intentional and described.
Strong verb_noun pattern throughout (list_processors, get_processor_details, check_connection_queue, find_controller_services_by_type). A few noun-first or doc-style names (get_best_practices_guide, get_jdbc_driver_troubleshooting) are slightly longer but still verb-prefixed and readable. Convention is consistent overall.
29 tools is on the heavy side for what is essentially a read/introspection surface, and several could be consolidated (the three flow_* stats tools, processor_details vs processor_state). Each tool does have a defensible purpose, so it is over-scoped rather than bloated. Borderline heavy but not egregious.
The surface covers discovery, inspection, diagnostics, and guidance well, but despite workflow/recommended-build tools implying flow construction, there are no create/update/delete/start/stop operations exposed here. For a 'pilot' server that advises on building flows, the absence of any mutating lifecycle tools is a notable gap that will dead-end agents at the build step.