Nextflow Developer Tools MCP

by adamrtalbot
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Enables testing of the nf-amazon plugin for Nextflow, providing integration capabilities with Amazon Web Services for Nextflow workflows.

  • Supports interaction with Git repositories for Nextflow development, including cloning and managing the local Nextflow repository.

  • Provides a comprehensive suite of development tools for Nextflow, including building from source, running tests (integration and plugin tests), executing development versions, managing development directories, and accessing documentation.

Nextflow 開発者ツール MCP

Nextflow の開発とテスト用に設計され、FastMCP を使用して構築された Model Context Protocol (MCP) サーバー。

[!警告] この MCP は、Nextflow パイプラインの作成用ではなく、Nextflow 自体の開発用に設計されています。

概要

この MCP は、次のような Nextflow 開発用のツール スイートを提供します。

  • ソースからNextflowを構築する
  • テストの実行(統合テスト、特定のテスト、プラグインテスト)
  • Nextflowの開発バージョンを実行する
  • Nextflow開発ディレクトリの管理
  • Nextflowドキュメントへのアクセス

インストール

前提条件

Claude Desktopで使用するためにFastMCPでインストールする

  1. FastMCP CLI ツールをインストールします。
pip install fastmcp
  1. このリポジトリをクローンします:
git clone https://github.com/yourusername/nextflow-dev-mcp.git cd nextflow-dev-mcp
  1. Claude Desktop に MCP をインストールします。
fastmcp install mcp-nextflow.py

これにより、MCP が Claude デスクトップ アプリで利用できるようになります。

カーソルで使用するためにFastMCPでインストールする

  1. FastMCP CLIツールを含む仮想環境のパスを取得します。uv uv使用している場合は、 .venvディレクトリにあります。
  2. Nextflow のクローンリポジトリのディレクトリを取得します。
  3. 次の json をカーソル MCP サーバーに追加します。
{ "mcpServers": { "server-name": { "command": "/path/to/your/.venv/bin/python", "args": [ "/path/to/your/mcp-nextflow/mcp-nextflow.py" ], "env": { "NEXTFLOW_DIR": "/path/to/your/nextflow" } } } }

これで、Cursor で MCP が使用できるようになります。Agentic モードでエージェントに「nf-amazon プラグインをテストする」ように指示すると、 make test module=plugins:nf-amazonが実行されるはずです。

環境変数の設定

インストール時に Nextflow ディレクトリを指定できます。

NEXTFLOW_DIR=/path/to/your/nextflow fastmcp install mcp-nextflow.py

クロードと一緒に使う

インストールが完了すると、Claude デスクトップ アプリで MCP にアクセスできるようになります。

  1. クロードデスクトップを開く
  2. Claudeインターフェースのツールメニューボタンをクリックします
  3. インストールされているMCPのリストからNextflow開発者ツールを選択します。

カーソルの使用

CursorはClaudeと連携するAI搭載コードエディタです。CursorでMCPを使用するには、以下の手順に従ってください。

  1. 上記の説明に従ってMCPがインストールされていることを確認してください
  2. カーソルでNextflowプロジェクトを開きます
  3. Cursor での Claude とのチャットでは、MCP を参照できます。
    Using the Nextflow Developer Tools, run the integration tests for the nf-amazon plugin
-
security - not tested
F
license - not found
-
quality - not tested

Nextflow の開発とテストを容易にするために設計されたモデル コンテキスト プロトコル サーバー。ソースからビルドし、テストを実行し、Nextflow 開発環境を管理するためのツールを提供します。

  1. Overview
    1. Installation
      1. Prerequisites
      2. Installing with FastMCP to use in Claude Desktop
      3. Installing with FastMCP to use in Cursor
      4. Setting Environment Variables
    2. Using with Claude
      1. Using with Cursor
        ID: d6e2p9w6h9