pipen-mcp
pipen-mcp
Ein pipen CLI-Plugin, das Pipen-Prozesse und -Pipelines als MCP (Model Context Protocol)-Tools bereitstellt, wodurch KI-Assistenten Bioinformatik-Pipelines entdecken und ausführen können.
Übersicht
pipen-mcp verbindet das Prozess-/Pipeline-Ökosystem von Pipen mit KI-Assistenten, die das Model Context Protocol unterstützen. Nach der Installation ist jeder Namespace, der über die pipen_cli_run-Einstiegspunktgruppe registriert wurde, automatisch für MCP-kompatible Clients (z. B. Claude, VS Code Copilot, Cursor) auffindbar und ausführbar.
Related MCP server: NGS360 MCP Server
Installation
pip install pipen-mcppipen-mcp erfordert Python ≥ 3.10 und hängt von Folgendem ab:
pipen-cli-run≥ 1.0.1pipen-annotate≥ 1.0mcp≥ 1.0
Verwendung
pipen-mcp fügt der pipen-CLI einen mcp-Unterbefehl hinzu:
pipen mcp [--transport {stdio,sse,streamable-http}] [--host HOST] [--port PORT]Option | Beschreibung | Standard |
| MCP-Transport ( |
|
| Host, an den gebunden werden soll (nur SSE / streamable-http) |
|
| Port, auf dem gelauscht werden soll (nur SSE / streamable-http) |
|
stdio (Standard)
Geeignet für die direkte Integration mit MCP-Clients, die den Server als Subprozess starten:
pipen mcpSSE
Startet einen HTTP-Server mit Server-Sent Events-Transport:
pipen mcp --transport sse --host 0.0.0.0 --port 8520Streamable HTTP
Startet einen HTTP-Server mit dem streamable-HTTP-Transport:
pipen mcp --transport streamable-http --host 0.0.0.0 --port 8520MCP-Tools
Der Server stellt vier Tools bereit, die einen Workflow mit progressiver Offenlegung unterstützen:
Tool | Beschreibung |
| Listet alle verfügbaren Namespaces auf. Beginnen Sie hier, um zu entdecken, was installiert ist. |
| Listet alle in einem Namespace verfügbaren Prozesse/Pipelines auf. |
| Ruft das vollständige Argument-Schema für einen bestimmten Prozess/eine bestimmte Pipeline ab. |
| Führt einen Prozess/eine Pipeline mit einer Liste von CLI-Argumenten aus. |
Typischer Workflow
1. get_namespaces()
→ "delim", "bam", "rnaseq", ...
2. get_processes("delim")
→ RowsBinder (proc): Bind rows of input files
→ ColsBinder (proc): Bind columns of input files
3. get_process("delim", "RowsBinder")
→ Required:
--in.infiles <list[str]> Input files
→ Optional:
--envs.sep <str> (default: '\t') Separator
--outdir <str> Output directory
...
4. run_process("delim", "RowsBinder", [
"--in.infiles", "/tmp/a.csv,/tmp/b.csv",
"--envs.sep", ",",
"--outdir", "/tmp/out"
])
→ Pipeline output / logsVS Code / Copilot-Integration
Fügen Sie den Server zu Ihrer MCP-Konfiguration hinzu (~/.vscode/mcp.json oder ~/.vscode-server/data/User/mcp.json):
{
"servers": {
"pipen-mcp": {
"type": "stdio",
"command": "pipen",
"args": ["mcp"]
}
}
}Oder für SSE:
{
"servers": {
"pipen-mcp": {
"type": "sse",
"url": "http://127.0.0.1:8520/sse"
}
}
}Erstellen eines Namespaces
Jedes Paket kann Prozesse/Pipelines bei pipen-mcp registrieren, indem es einen pipen_cli_run-Einstiegspunkt deklariert:
# pyproject.toml
[project.entry-points."pipen_cli_run"]
myns = "mypackage.ns.myns"Das referenzierte Modul sollte Proc-Unterklassen (mit einem input-Attribut) oder ProcGroup-Unterklassen enthalten. Verwenden Sie pipen-annotate, um Argumente zu dokumentieren — annotierte Felder werden in der Ausgabe von get_process angezeigt und zum Erstellen des Tool-Schemas verwendet.
# mypackage/ns/myns.py
"""My namespace — tools for processing text files."""
from pipen import Proc
from pipen_annotate import annotate
@annotate
class MyProc(Proc):
"""Concatenate rows from multiple files.
Input:
infiles (list): Input files to concatenate
Envs:
sep (str): Column separator. Default: ","
"""
input = "infiles:files"
output = "outfile:file:{{in.infiles[0] | stem}}_concat.tsv"
script = "..."Lizenz
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Give any MCP-compatible AI assistant a builder for live, hosted web tools and workflows.
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
311Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- FlicenseCqualityDmaintenanceExposes a local biomedical literature pipeline as MCP tools for automated research workflows. Enables literature search, open-access paper retrieval, and draft generation for biomedical and pathology domains through standard MCP clients.6-

NGS360 MCP Serverofficial
FlicenseCqualityBmaintenanceExposes the NGS360 bioinformatics platform REST API as MCP tools, enabling AI assistants to manage sequencing runs, projects, workflows, and more through natural language.82-- AlicenseNot gradedqualityDmaintenanceExposes OpenAPI endpoints as MCP tools, enabling LLMs to discover and interact with REST APIs through the MCP protocol.5 npmMIT
- AlicenseBqualityCmaintenanceExposes your LLMGraph workflow deployments as MCP tools, allowing AI assistants to invoke them via natural language.124 npmMIT