Enables users to manage and navigate nf-core bioinformatics pipeline repositories, allowing list, search, and explore operations on pipeline configurations, workflows, and modules.
An MCP server for managing and navigating nf-core pipeline repositories.
cd nf-core_mcp npm install # Build TypeScript npm run build # Start the server npm start
# Build the Docker image cd nf-core_mcp docker build -t nf-core-mcp . # Run the container docker run -i --rm \ -v "/path/to/your/workspace:/app/workspace" \ nf-core-mcp
To add new nf-core pipeline repositories to the workspace:
Clone the repositories:
# Navigate to your workspace directory (example for Windows) cd /path/to/your/workspace # Clone desired nf-core repositories git clone https://github.com/nf-core/rnaseq.git git clone https://github.com/nf-core/sarek.git git clone https://github.com/nf-core/modules.git # Add any other nf-core pipeline you want to manage
Directory Structure: Your workspace should look like this:
workspace/
├── rnaseq/
├── sarek/
├── modules/
└── your-new-pipeline/
Verify Installation:
After starting the MCP server, use the list-pipelines
command to verify that your new pipelines are detected:
list-pipelines
Note: The MCP server will automatically detect and manage any nf-core pipeline repositories in your workspace directory.
list-pipelines
get-pipeline-modules
pipeline
: Pipeline name (rnaseq, sarek, or modules)search-pipelines
query
: Search querypipeline
(optional): Specific pipeline to searchpipeline-config
pipeline://{name}/config
name
: Pipeline name (rnaseq, sarek, or modules)pipeline-workflow
pipeline://{name}/workflow
name
: Pipeline name (rnaseq, sarek, or modules)Add the following to your mcp.json
:
{ "mcpServers": { "nf-core": { "command": "npx", "args": ["-y", "nf-core-mcp"] } } }
Add the following to your mcp.json
:
{ "mcpServers": { "nf-core": { "command": "docker", "args": [ "run", "-i", "--rm", "-v", "/path/to/your/workspace:/app/workspace", "nf-core-mcp" ] } } }
Using the MCP server in Cursor:
# List available pipelines
list-pipelines
# Get modules from rnaseq pipeline
get-pipeline-modules pipeline=rnaseq
# Search in all pipelines
search-pipelines query="fastqc"
# Search in specific pipeline
search-pipelines query="fastqc" pipeline=rnaseq
# Access pipeline configuration
pipeline://rnaseq/config
# Access workflow
pipeline://rnaseq/workflow
# If installed globally nf-core-mcp # If installed locally npx nf-core-mcp # Using npx without installation npx -y nf-core-mcp
docker run -it --rm \ -v /path/to/your/workspace:/app/workspace \ nf-core-mcp
# Install dependencies npm install # Build TypeScript npm run build # Run in development mode npm run dev # Run tests npm test # Run linter npm run lint
MIT
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!