
cloudera/nifi-mcp-server
Browser automationこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Apache Knox 経由で Apache NiFi へのアクセスを読み取り、書き込み可能なモデルコンテキスト プロトコル サーバー.
概要
Apache Knox 経由で Apache NiFi へのアクセスを読み取り、書き込み可能なモデルコンテキスト プロトコル サーバー。 - 自動版の検出および適応。 - - NiFi 1.x と 2.x を検出し、動作を適応させる - - CDP の展開のためのベアアトークン、クッキー、パスコードトークンをサポート - - NiFi の流れと構成の安全な探査 - 複雑なフローのためのパターン認識と要件の収集 - NiFi を探索するための: - get nifi version() - バージョンとビルド情報 - get root process group() - ルートのプロセスグループの詳細 - リスト processors(process group id) - リスト プロセスリスト グループ (グループ) - リスト - 最近の箇条書きとアラート - List parameter contexts() - パラメータコンテキスト - get controller services(process group id?
概要(AI 翻訳)
Apache Knox 経由で Apache NiFi へのアクセスを読み取り、書き込み可能なモデルコンテキスト プロトコル サーバー。
NiFi 1.xと2.x - 自動バージョンの検出と適応の両方の作業。
##特徴
- 自動バージョン検出 - NiFi 1.xと2.xを検出し、動作を適応させる
- Knox 認証 - CDP 展開用のベアラートークン、クッキー、パスコードトークンをサポート
- 既定で読み込み専用 - NiFi の流れと構成の安全な探査
- 理性的な流れの建物 - 複雑な流れのためのパターン認識および条件の収集
- ** 24 読み取り専用 MCP ツール** NiFi を探索するには:
- [
get_nifi_version()] - バージョンとビルド情報 - [
get_root_process_group()- ルートプロセスグループの詳細 - [
list_processors(process_group_id)- プロセスグループ内のリストプロセッサ - [
list_connections(process_group_id)- プロセスグループ内の接続リスト - [
get_bulletins(after_ms?)- 最近の掲示板とアラート - [
list_parameter_contexts()- パラメータコンテキスト - [
get_controller_services(process_group_id?)- コントローラサービス - [
get_processor_types()- フロービルの利用可能なプロセッサタイプ - [
search_flow(query)- フロー内のコンポーネントを検索
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
NiFi MCP Server (via Knox)
Model Context Protocol server providing selectable read and write access to Apache NiFi via Apache Knox.
Works with both NiFi 1.x and 2.x - automatic version detection and adaptation.
Features
- Automatic version detection - Detects NiFi 1.x vs 2.x and adapts behavior
- Knox authentication - Supports Bearer tokens, cookies, and passcode tokens for CDP deployments
- Read-only by default - Safe exploration of NiFi flows and configuration
- Intelligent flow building - Pattern recognition and requirements gathering for complex flows
- 24 read-only MCP tools for exploring NiFi:
get_nifi_version()- Version and build informationget_root_process_group()- Root process group detailslist_processors(process_group_id)- List processors in a process grouplist_connections(process_group_id)- List connections in a process groupget_bulletins(after_ms?)- Recent bulletins and alertslist_parameter_contexts()- Parameter contextsget_controller_services(process_group_id?)- Controller servicesget_processor_types()- Available processor types for flow buildingsearch_flow(query)- Search for components in the flowget_connection_details(connection_id)- Detailed connection informationget_processor_details(processor_id)- Detailed processor configurationlist_input_ports(process_group_id)- Input ports for a process grouplist_output_ports(process_group_id)- Output ports for a process groupget_processor_state(processor_id)- Quick processor state checkcheck_connection_queue(connection_id)- Queue size (flowfiles + bytes)get_flow_summary(process_group_id)- Flow statistics and health overviewanalyze_flow_build_request(user_request)- Intelligent pattern recognition and requirements gatheringget_parameter_context_details(context_id)- Get parameter context with all parametersget_flow_health_status(process_group_id)- Comprehensive flow health check (processors, services, connections, errors)find_controller_services_by_type(process_group_id, service_type)- Search for existing controller services by type (prevents 409 conflicts)check_configuration()- Validate current environment configurationget_setup_instructions()- Interactive setup guidance for NiFi MCP Serverget_best_practices_guide()- Best practices for building NiFi flowsget_recommended_workflow(flow_type)- Step-by-step guidance for common flow patterns
- 42 write operations (when
NIFI_READONLY=false):start_processor(processor_id, version)- Start a processorstop_processor(processor_id, version)- Stop a processorcreate_processor(...)- Create a new processorupdate_processor_config(...)- Update processor configurationdelete_processor(processor_id, version)- Delete a processor
インストール
uvx --from git+https://github.com/cloudera/nifi-mcp-server@main run-server設定
{
"mcpServers": {
"nifi-mcp-server": {
"command": "/FULL/PATH/TO/NiFi-MCP-Server/.venv/bin/python",
"args": [
"-m",
"nifi_mcp_server.server"
],
"env": {
"MCP_TRANSPORT": "stdio",
"NIFI_API_BASE": "https://nifi-2-dh-management0.yourshere.cloudera.site/nifi-2-dh/cdp-proxy/nifi-app/nifi-api",
"KNOX_TOKEN": "<your_knox_bearer_token>",
"NIFI_READONLY": "true"
}
}
}
}