Nf-core tools MCP logo

Nf-core tools MCP

by FloWuenne

This MCP provides a suite of tools for accessing nf-core tools for pipelines and modules. It allows users to create pipelines and modules, list nf-core modules, and install existing modules into their projects.

View on GitHub

Last updated: N/A

Nf-core tools MCP (Unofficial)

A repo to experiment with MCP capabilities for nf-core tools functions.

Overview

This MCP provides a suite of tools for accessing nf-core tools for pipelines and modules:

  • Create a pipeline using the nf-core template
  • List nf-core modules
  • Create a module using the nf-core modules template
  • Install existing nf-core modules into your pipeline or modules repo

For testing purposes, tools were implemented from the command line (cli) and directly from the python package (python). Two different MCP server files exist for these two implementations:

  1. nf-core.test-server.cli.py
  2. nf-core.test-server.python.py

Installation

Installing with FastMCP to use in Claude Desktop

  1. Create a venv with uv:
uv venv
  1. Activate the environment:
source .venv/bin/activate
  1. Add required packages:
uv add "mcp[cli]" nf-core
  1. Install the server
fastmcp install nf-core.test-server.cli.py ## CLI server
fastmcp install nf-core.test-server.python.py ## Python based server

Adding server to Cursor

{
  "mcpServers": {
    "mix_server": {
      "command": "uv",
      "args": [
        "--directory",
        "[Full path to the server directory (this repo folder)]]",
        "run",
        "server.py"
      ]
    }
  }
}