Skip to main content
Glama
Presisitence

rnaseq-plot-mcp

by Presisitence

rnaseq-plot-mcp

RNA-seq Downstream-Plotting / Analyse MCP (früher rgraph). Kapselt eine Reihe parametrisierter R-Plot-Skripte (ggplot2 / pheatmap / clusterProfiler / edgeR / limma / WGCNA …) als MCP-Tools, die lokal mit Rscript png + pdf rendern.

Verarbeitet die eigenen count / FPKM-Tabellen des Nutzers, ohne an ein bestimmtes Genom oder eine Expressionsmatrix gebunden zu sein.

Warum „R-Engine + Python MCP"

  • Treu: Zeichnet nicht in Python neu, sondern steuert direkt R.

  • Parametrisiert: Kein hartkodiertes setwd(); Eingabe/Ausgabe/Schwellenwerte/Farben laufen über Parameter.

  • Elegante Degradierung: Kein Rscript gefunden → gibt ein manuell ausführbares .R zurück; fehlende Pakete → gibt Paketnamen und Installationsbefehl zurück.

  • Reproduzierbar: --no-init-file --no-site-file, unterdrückt den Banner der Benutzer-.Rprofile.

Related MCP server: SCMCP

R-Engine

Priorität: Umgebungsvariable RGRAPH_RSCRIPT → Rscript im PATH → C:\Program Files\R\... / Registrierung.

$env:RGRAPH_RSCRIPT = "C:\Program Files\R\R-4.5.1\bin\Rscript.exe"
uv run rgraph-cli

Datenformat

Datei

Erforderliche Spalten

sample_group.csv

sample_name, group/group_name, TvsC(treatment/control)

gene_count.csv

gene_id, Length, count pro Probe

gene_fpkm.csv / gene_tpm.csv

gene_id, Spalten pro Probe

Differenzergebnis

gene_id, log2FoldChange, pvalue, padj

Die Bestimmung differentiell exprimierter Gene erfolgt standardmäßig über padj (FDR).

Tools (34)

Kern: rgraph_env rgraph_normalize rgraph_correlation rgraph_pca rgraph_distribution rgraph_diff rgraph_volcano rgraph_heatmap rgraph_enrich rgraph_go_plot rgraph_kegg_plot rgraph_ppi rgraph_gsea

Erweitert: Venn/Quadrant/gestapelter Vulkan, WGCNA, Netzwerkdiagramme, ssGSEA, Zirkusdiagramm, Sankey, interaktiver Vulkan usw. Fehlt ComplexHeatmap, fällt die Heatmap auf pheatmap zurück; fehlt DESeq2, können edgeR/limma verwendet werden.

WGCNA → Netzwerk: rgraph_wgcna exportiert Cytoscape_edges_*.txt, das dann an rgraph_network(mode="edge") übergeben wird.

Registrierung

{
  "mcpServers": {
    "r-analysis": {
      "command": "uv",
      "args": ["run", "--directory", "/absolute/path/to/rnaseq-plot-mcp", "server.py"],
      "env": { "RGRAPH_RSCRIPT": "/path/to/Rscript" }
    }
  }
}

Synthetische Testmatrizen liegen in tests/data/ (g1–g10, ohne echte experimentelle Daten).

Die MCP-Toolnamen sind weiterhin rgraph_* (z. B. rgraph_volcano) und kompatibel mit der lokalen Cursor-Konfiguration.

Lizenz

MIT.

Related MCP Connectors

Related MCP Servers

  • A
    license
    C
    quality
    C
    maintenance
    An MCP server that enables single-cell RNA sequencing analysis through natural language, supporting data processing, visualization, and analysis tasks without requiring coding knowledge.
    52
    12
    BSD 3-Clause
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that enables scRNA-Seq analysis through natural language, providing tools for data preprocessing, clustering, and biological visualization. It supports both predefined function execution and a flexible code mode powered by a Jupyter backend for automated single-cell transcriptomics workflows.
    16
    BSD 3-Clause
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides MCP tool adapters for Bioconductor methods like limma, DESeq2, and fgsea, enabling statistical analysis of omics data through containerized R execution. It serves as a bridge between MCP clients and bioinformatics tools for reproducible research workflows.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    A professional MCP server for comprehensive bioinformatics quality control, providing automated FastQC/MultiQC analysis, HTML report parsing, and advanced data visualization for sequencing data.
    1
    MIT