Logo de BioinfoMCP

BioinfoMCP

Communauté
florensiawidjaja

Florensia Widjaja, Zhangtianyi Chen, Juexiao Zhou

Éditeurflorensiawidjaja
DépôtBioinfoMCP
LangueHTML
Forks
7
Étoiles
42
Outils disponibles
0
Type de transportstdio
LicenceMIT
Liens
  • Connectez des outils à vos workflows IA

    BioinfoMCP propose des fonctionnalités MCP utilisables par les clients et agents IA compatibles.

  • 0 outils disponibles

    Parcourez les actions invocables ci-dessous, avec leurs noms et descriptions lorsque le serveur les fournit.

  • Configuration prête à copier

    Utilisez les exemples de configuration pour configurer ce serveur dans votre client MCP préféré.

  • Indicateurs de popularité open source

    42 étoiles et 7 forks sur le dépôt associé.

A Unified Platform Enabling MCP Interfaces in Agentic Bioinformatics 🧬🤖

Florensia Widjaja, Zhangtianyi Chen, Juexiao Zhou

The Chinese University of Hong Kong, Shenzhen (CUHK Shenzhen)

Main Figure of the BioinfoMCP Platform

🚀 About

BioinfoMCP bridges the gap between specialized bioinformatics command-line tools and modern AI-driven workflows. The platform consists of two main components:

BioinfoMCP Converter - Automatically generates robust, production-ready MCP servers from tool documentation using large language models. Simply provide a tool's manual or help documentation, and the converter produces a fully functional MCP server with comprehensive parameter support.

BioinfoMCP Benchmark - A curated validation suite that systematically tests converted MCP servers across diverse computational biology tasks, ensuring reliability and versatility across different AI agent platforms.

🧐 What's New

  • [2025/10] We finally share our ground-breaking BioinfoMCP Platform to the scientific community (version v0.0.1)! 🥳👏

🏁 TODO list

We're working hard to achieve more features, welcome to PRs!

  • Provide a docker version, simplify the installation process
  • Pack into a conda package, simplify the installation process
  • Automatic tool discovery and conversion
  • BioinfoMCP Benchmark Addition: Ollama
  • Online Platform to share MCP servers
  • Adaptive and More reliable Installation

We warmly welcome any inputs or contributions to collaboratively improve BioinfoMCP

⚙️ Installation

Command line

shell
# 1. Clone this project
git clone https://github.com/florensiawidjaja/BioinfoMCP.git

# 2. Create Conda environment for an isolated production environment
conda create -n bioinfomcp-env
conda activate bioinfomcp-env

# 3. Install the fastmcp and openai package
uv pip install fastmcp
pip install openai

🗃️ Repository Structure

./mcp-servers contains the MCP servers converted from BioinfoMCP Converter and tested in our Benchmark

Inside ./src, there are three files:

  • system_prompt.txt: The system prompt for the LLM Backbone
  • bioinfomcp_converter.py: Script to execute the conversion workflow
  • main.py: Manage the overall workflow, from documentation preparation, conversion execution, and a packaged delivery.

🧰🔬 BioinfoMCP Converter - Convert your own Bioinformatics Tool

Prerequisite

  1. An OpenAI API Key from an account that has a sufficient credit available. Note: You should also be able to use Anthropic Models. However, we have not done extensive experiments on it so we still suggest you to use an OpenAI model.

Usage Manual

  1. Modify the .env file with your API Key and Model name (We recommend model with a capability of at least GPT-4.1-mini be used)

Run this command to start a simple example with GPT-4.1-mini as backend (recommended).

Please ensure that the LLM backbone supports function calling

Run this script if you have checked the internal manual and it contains comprehensive documentation.

shell
python -m main --name <tool-name> --manual "\-\-help" --run_help_command True --output_location </path/to/output/folder/>

Run this script if you want BioinfoMCP Converter to extract from a PDF manual.

shell
python -m main --name <tool-name> --manual "</path/to/tool/manual.pdf>" --output_location </path/to/output/folder/>

After having the converted MCP server ready, you can now use your MCP server as follows:

  1. If connecting directly to your Python Environment
  • Activate your Conda Environment and install the tool that you want to use
shell
conda activate bioinfomcp-env

# Bioinformatics tools are usually integrated inside the bioconda channel, but search for conda install <tool-name> to ensure that it is correct
conda install bioconda::tool-name

# Check whether it is appropriately installed already
conda list tool-name
  • Connect to your AI Agent with the following JSON Configuration
json
"tool-name": {
      "command": "bash",
      "args": [
        "-c",
        "source /Users/<username>/miniforge3/etc/profile.d/conda.sh && conda activate bioinfomcp-env && python /path/to/mcp_<tool-name>/app/<tool-name>_server.py"
      ]
    }
  1. If connecting through a Docker Container (Make sure that you have Docker CLI and Engine installed and ready to use)
  • Turn on your Docker Engine
  • Build your Docker Container
shell
cd /path/to/mcp-tool-name/folder/
docker compose up --build
  • Check that the mcp-tool-name container is up and running

  • Connect to your AI Agent with the following JSON Configuration

json
"tool-name": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "/path/to/mcp_<tool-name>/data:/app/workspace",
        "mcp-<tool-name>:latest"
      ]
    }

📝💊 BioinfoMCP Benchmark - Test Your MCP Server Reliability

**Note: **

json
"filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/folder1/",
        "/path/to/folder2/"
      ]
    }

1. Individual Tool Testing

1.1 FastQC

Can you run FastQC on /path/to/SRR8405197.fastq. Please state what commands you run and what are the outputs or results from that command.

2. Pipeline/Complex Task Testing

Note: Make sure that you have all sufficient tools connected to your AI agent to run this pipeline. We give you reference of what tools will be needed, but feel free to replace or add more tools on your own flexibly.

2.1 Pure CLI tools: ATAC-seq

Tools needed: FastQC, Trim-galore, Bowtie2, samtools, MACS3, MultiQC

Can you run the ATAC-seq analysis for identifying open chromatin region task to the /path/to/SRR8405197_1.fastq and /path/to/SRR8405197_2.fastq. Give appropriate explanations and summarize results at the end with a simple report.

2.2 Combination with R Package tools: ChIP-seq

For certain pipelines like ChIP-seq, we would require tools that are already commonly used in R language. We used IMNMV/ClaudeR to extend a direct link between RStudio and AI Agents reference: https://github.com/IMNMV/ClaudeR

  • Connect CluadeR to your AI Agent using the instruction shown in the reference above.
  • Restart your AI Agent

Tools needed: FastQC, Bowtie2, samtools, MACS3, Deeptools, MultiQC, R (GenomicRanges, GenomicAlignment, Rsamtools)


Can you run the ChIP-seq analysis for Motif discovery for binding sites task to the /path/to/SRR8405197_1.fastq and /path/to/SRR8405197_2.fastq. I already have the Reference index at /path/to/ref-index/. Use the existing MCP tools as much as possible, and only execute R if none of them are available for the task given. Make an Executive Summary report at the end.
Download Data

In our paper, we mainly use SRR8405197.fastq, which can be obtained as follows:

shell
# For single-ends
wget -nc ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR840/007/SRR8405197/SRR8405197.fastq.gz

# For paired-ends
wget -nc ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR840/007/SRR8405197/SRR8405197_2.fastq.gz
wget -nc ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR840/007/SRR8405197/SRR8405197_1.fastq.gz

# For reference genome (if needed)
wget ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCA/000/001/405/GCA_000001405.15_GRCh38/seqs_for_alignment_pipelines.ucsc_ids/GCA_000001405.15_GRCh38_no_alt_analysis_set.fna.gz

# For gene annotation (if needed)
# refer to https://www.gencodegenes.org/human/release_36.html

Citation

If you find this project useful in your research, please consider citing:

bibtex
@misc{widjaja2025bioinfomcpunifiedplatformenabling,
    title={BioinfoMCP: A Unified Platform Enabling MCP Interfaces in Agentic Bioinformatics}, 
    author={Florensia Widjaja and Zhangtianyi Chen and Juexiao Zhou},
    year={2025},
    eprint={2510.02139},
    archivePrefix={arXiv},
    primaryClass={q-bio.QM},
    url={https://arxiv.org/abs/2510.02139}, 
}

License

This project is released under the MIT license.

Utilisez le serveur MCP BioinfoMCP avec plusieurs modèles IA

TypingMind connecte les outils MCP au niveau de l’espace de travail. Une fois BioinfoMCP connecté, vous pouvez donc l’utiliser avec différents modèles IA dans TypingMind sans avoir à le configurer séparément pour chaque modèle. Cette intégration MCP s’exécute localement sur votre appareil via le connecteur MCP de TypingMind.

Guide de configuration du connecteur local

Choisissez cette méthode si le serveur MCP doit accéder à des fichiers locaux, à des applications ou à des ressources privées sur votre ordinateur.

1

Ouvrir les paramètres MCP

Dans TypingMind, accédez à « Paramètres », puis à « Paramètres avancés » et à « Model Context Protocol », et choisissez « Configurer connecteur ».

  1. Ouvrez TypingMind dans votre navigateur.
  2. Cliquez sur l’icône Paramètres.
  3. Accédez aux paramètres avancés.
  4. Ouvrez la section Model Context Protocol.
  5. Cliquez sur « Configurer connecteur » et choisissez « Cet appareil ».
Écran de configuration du connecteur MCP de TypingMind avec l’option « Cet appareil » sélectionnée
2

Exécuter la commande du connecteur

Choisissez « Cet appareil », copiez la commande depuis TypingMind et exécutez-la dans Terminal. Laissez le processus en cours d’exécution pendant que vous utilisez MCP.

  1. Copiez la commande de configuration affichée par TypingMind.
  2. Ouvrez Terminal sur macOS ou Windows Terminal sur Windows.
  3. Collez et exécutez la commande.
  4. Autorisez l’installation du paquet si Terminal vous demande de confirmer.
  5. Gardez la fenêtre de Terminal ouverte et le processus en cours d’exécution pendant que vous utilisez les outils MCP.
3

Ajoutez BioinfoMCP en tant que serveur

Lorsque l’état du connecteur affiche « Prêt », cliquez sur « Éditer serveurs » et collez la configuration du serveur MCP.

  1. Attendez que l’état du connecteur affiche « Prêt ».
  2. Cliquez sur « Éditer serveurs ».
  3. Collez la configuration du serveur MCP BioinfoMCP.
  4. Enregistrez la liste des serveurs.
  5. Actualisez pour vérifier que le connecteur est toujours prêt.
Paramètres MCP de TypingMind affichant un serveur actif et le bouton « Éditer serveurs »
{
  "mcpServers": {
    "bioinfomcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Utiliser la connexion avec différents modèles

Enregistrez la liste des serveurs, ouvrez « Plugins », activez les outils MCP de BioinfoMCP, puis sélectionnez un modèle IA compatible dans TypingMind et utilisez les outils dans une discussion ou attribuez-les à un agent IA.

  1. Ouvrez la page Plugins dans TypingMind.
  2. Activez les outils MCP de BioinfoMCP.
  3. Démarrez une discussion et choisissez le modèle IA que vous souhaitez utiliser.
  4. Utilisez les outils MCP dans le chat ou attribuez-les à un agent IA.
  5. Passez à un autre modèle IA selon vos besoins sans rétablir la connexion MCP.
Discussion TypingMind utilisant des outils MCP activés avec un modèle d’IA sélectionné
Pouvez-vous utiliser BioinfoMCP pour m’aider dans cette tâche ?
BioinfoMCP
Bien sûr. J’ai tout lu.
Voici ce que j’ai trouvé avec BioinfoMCP.

Foire aux questions

À quoi sert le serveur MCP BioinfoMCP ?

BioinfoMCP est un serveur MCP qui permet aux applications IA compatibles d’accéder à des outils et à des informations contextuelles externes. Dans TypingMind, il vous suffit d’ajouter ce serveur MCP une seule fois pour rendre ses outils disponibles dans votre espace de travail IA.

Puis-je utiliser le serveur MCP BioinfoMCP avec plusieurs modèles IA dans TypingMind ?

Oui. TypingMind connecte les outils MCP au niveau de l’espace de travail. Vous pouvez donc utiliser BioinfoMCP avec différents modèles IA comme Claude, ChatGPT, Gemini ou d’autres modèles configurés dans TypingMind, sans avoir à configurer le serveur MCP séparément pour chaque modèle.

Pourquoi utiliser le connecteur MCP BioinfoMCP avec TypingMind ?

TypingMind est l’une des meilleures interfaces de chat avec les LLM, car elle réunit plusieurs modèles IA, prompts, plugins, agents IA, clés API et outils MCP dans un seul espace de travail. Une fois BioinfoMCP connecté, vous pouvez utiliser ses outils MCP avec vos modèles préférés tout en gardant vos discussions bien organisées dans TypingMind.

Comment connecter le serveur MCP BioinfoMCP à TypingMind ?

BioinfoMCP fonctionne via le connecteur MCP local de TypingMind. C’est l’option idéale lorsque le serveur MCP doit accéder à des fichiers locaux, des applications de bureau, des outils en ligne de commande ou des ressources privées sur votre ordinateur.

Quels outils le serveur MCP BioinfoMCP propose-t-il dans TypingMind ?

BioinfoMCP propose des fonctionnalités MCP que vous pouvez activer depuis la page Plugins de TypingMind et utiliser dans les discussions ou attribuer à des agents IA.

Dois-je partager mes clés API avec TypingMind pour utiliser le serveur MCP BioinfoMCP ?

Non. TypingMind privilégie le fonctionnement local et vous permet de garder le contrôle de vos fournisseurs de modèles, clés API, prompts et paramètres MCP. Si BioinfoMCP nécessite une authentification, ajoutez les en-têtes, les paramètres OAuth ou la configuration locale requis pour ce serveur MCP lors de la création de la connexion.

Serveurs MCP similaires

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇