mauve-mcp-server

v0.1.0
mauve-mcp-server Checked 15 hours ago Published 2 months ago

A Model Context Protocol server for NCBI.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

blast_batch Blast Batch

Submit multiple sequences to NCBI BLAST concurrently. Sequences are provided as a JSON list of [id, seq] pairs, or as multi-FASTA text.

ParameterTypeDescription
sequences *stringEither a JSON string like '[["seq1","ATGC..."],["seq2","GCTA..."]]' or a multi-FASTA string (">id1\nATGC...\n>id2\nGCTA...").
databasestringNCBI database: nt, nr, swissprot, refseq_protein, pdb, etc.
entrez_querystringOptional Entrez filter.
expectnumberE-value cutoff.
hitlist_sizeintegerMaximum hits per query.
max_concurrentintegerMax concurrent BLAST submissions (1-5). Keep ≤3 to avoid rate-limit.
programstringBLAST program: blastn, blastp, blastx, tblastn, tblastx.

download_genomes Download Genomes

Download genome sequence files from NCBI using ncbi-genome-download.

ParameterTypeDescription
assembly_accessionsstringFilter by assembly accessions, comma-separated. Example: "GCF_000005845.2".
assembly_levelsstringAssembly quality filter, comma-separated. Options: all, complete, chromosome, scaffold, contig. Example: "complete,chromosome".
dry_runbooleanIf True, preview what would be downloaded without actually downloading.
file_formatsstringFile format(s) to download, comma-separated. Common: fasta, genbank, gff, protein-fasta, cds-fasta. Example: "fasta,gff".
generastringFilter by genus/species, comma-separated. Example: "Escherichia coli,Staphylococcus aureus".
groupsstringNCBI taxonomic groups, comma-separated. Available: archaea, bacteria, fungi, invertebrate, metagenomes, plant, protozoa, vertebrate_mammalian, vertebrate_other, viral. Example: "bacteria,fungi".
outputstringOutput directory path. Defaults to ./ncbi_genomes.
parallelintegerMax parallel downloads (1-16, default 4).
refseq_categoriesstringRefSeq categories: all, reference, representative, na.
sectionstringNCBI section: refseq (default) or genbank.
species_taxidsstringFilter by species NCBI taxonomy IDs, comma-separated. Example: "562,1280" (E. coli, S. aureus).
taxidsstringFilter by NCBI taxonomy IDs, comma-separated. Example: "9606" (Homo sapiens).
type_materialsstringFilter by relation to type material: any, all, type, reference, synonym, proxytype, neotype.

list_genome_groups List Genome Groups

List all taxonomic groups, file formats, assembly levels, and sections supported by ncbi-genome-download. Returns ------- dict Available groups, formats, levels, sections, and refseq categories.

list_blast_databases List Blast Databases

List commonly used NCBI BLAST databases with descriptions, to help select the right database for a search. Returns ------- dict Database categories and their descriptions.

run_progressive_mauve_tool Run Progressive Mauve Tool

Run progressiveMauve for whole-genome alignment.

ParameterTypeDescription
input_files *arrayList of input FASTA file paths.
output_prefix *stringOutput prefix for results.
extra_argsAdditional command-line arguments.
mauve_binaryOptional path to progressiveMauve binary. If not provided, auto-detects from bin/ directory.
max_memory_gbnumberMaximum memory in GB (default 8).
scratch_dirDirectory for temporary files.
timeout_secondsnumberTimeout in seconds (default 3600).

check_mauve_binary Check Mauve Binary

Check the status of available progressiveMauve binaries. Returns: JSON string with binary information.

slice_homologous_segments Slice Homologous Segments

基于 Mauve 第一次比对输出的 backbone 坐标,从输入 FASTA 中切出同源片段。 输入与输出均使用本地路径;产物保存到 ``output_dir``。

ParameterTypeDescription
backbone_path *string本地 backbone 文件路径(第一次比对输出)。
input_files *array输入 FASTA 文件路径列表(与比对时顺序一致)。
output_dir *string切片输出目录。

get_alignment_result Get Alignment Result

查询第二次比对(BLAST)某次结果(Redis ``RID:<rid>`` 的 HASH 字段)。

ParameterTypeDescription
rid *string

check_redis Check Redis

检查 Redis 是否可用,并说明第一次比对数据的存储键格式。