Skip to main content
Glama

microbe-mcp

Downstream microbiome / amplicon (16S · ITS) analysis MCP. Wraps R scripts such as vegan / DESeq2 / edgeR / igraph / Hmisc / randomForest / ggtree into tools, producing png + pdf via the local Rscript.

Charts align with two public papers (for easy layout replication, without their raw data):

  • Liu et al. 2023, Nature Microbiology — rice false smut phyllosphere microbiota

  • Zhou et al. 2022, Nature Communications — cross-kingdom synthetic microbiota for tomato Fusarium wilt

R engine

Priority: MICROBE_RSCRIPT → Rscript on PATH → C:\Program Files\R\... / registry.

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

Related MCP server: nucleotide_archive_mcp

Data contract (3 CSVs)

File

Required columns

feature_table.csv

feature_id + counts per sample

taxonomy.csv

feature_id + kingdom, phylum, class, order, family, genus, species, or a QIIME semicolon-delimited string

metadata.csv

sample_name + group; optional environmental/metabolite numeric columns

Tools (9)

microbe_env microbe_alpha microbe_beta microbe_composition microbe_diff microbe_network microbe_rf microbe_corr microbe_tree

Does not include reads → ASV (DADA2/QIIME2). A feature table is all that's needed to connect.

Testing

python tests/prep_test.py   # 合成扩增子表,无真实样本
python tests/smoke.py

Registration

{
  "mcpServers": {
    "microbe": {
      "command": "uv",
      "args": ["run", "--directory", "/absolute/path/to/microbe-mcp", "server.py"],
      "env": { "MICROBE_RSCRIPT": "/path/to/Rscript" }
    }
  }
}

License

MIT.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • 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
      A
      quality
      D
      maintenance
      An MCP server for searching and accessing RNA sequencing datasets from the European Nucleotide Archive (ENA), supporting bulk, single-cell, and spatial transcriptomics with advanced filtering and download capabilities.
      11
      1,843 PyPI
      1
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that provides an LLM with access to R's statistical toolkit including hypothesis tests, regression, psychometrics, survival analysis, time series, and plots through a persistent R session.
      33
      1
      MIT