1. Conduid
  2. Healthcare
  3. io.github.galaxyproject/galaxy-mcp
MCP server · Healthcare

io.github.galaxyproject/galaxy-mcp

MCP server for Galaxy bioinformatics platform - connect, execute tools, and manage workflows

Unclaimed healthcare
54Fair

Scored 21 hours ago · breakdown

About io.github.galaxyproject/galaxy-mcp

io.github.galaxyproject/galaxy-mcp is an MCP server published by galaxyproject in the Healthcare category: mCP server for Galaxy bioinformatics platform - connect, execute tools, and manage workflows. Conduid read 51 tools from its source: cancel_workflow_invocation, connect, create_history, create_page, create_user_tool, delete_user_tool and 45 more. It is published to PyPI as galaxy-mcp and runs with uvx.

The repository has 41 stars and 30 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include healthcare.

Install

uvx
uvx galaxy-mcp
pip
pip install galaxy-mcp
From source
git clone https://github.com/galaxyproject/galaxy-mcp

Tools (51)

cancel_workflow_invocationCancel a running workflow invocation
ParameterTypeDescription
invocation_id *stringID of the workflow invocation to cancel - a hexadecimal hash string
connectConnect to Galaxy server
ParameterTypeDescription
api_keystringGalaxy API key (optional, uses GALAXY_API_KEY env var if not provided)
urlstringGalaxy server URL (optional, uses GALAXY_URL env var if not provided)
create_historyCreate a new history to organize datasets and analyses.
ParameterTypeDescription
history_name *stringDescriptive name for the history. Best practices: - Include project/sample name: "RNA-seq Sample A" - Include date if relevant: "ChIP-seq 2024-01" - Be specific: "BWA alignment of patient_001"
create_pageCreate a markdown page (Galaxy Notebook or Report).
ParameterTypeDescription
annotationstringOptional annotation attached to the page.
contentstringInitial markdown content.
history_idstringEncoded history id to attach the page to (notebook).
slugstringURL slug (required for standalone reports).
titlestringPage title.
create_user_toolCreate a user-defined tool in Galaxy from a YAML tool definition.
ParameterTypeDescription
representation *objectThe tool definition as a dictionary matching the GalaxyUserTool schema. Required fields: - class: "GalaxyUserTool" (exactly this string) - id: tool identifier (lowercase, no spaces, 3-255 chars) - version: version string (e.g. "0.1.0") - name: display name shown in Galaxy tool menu - container: container image as a STRING, NOT a dict (a common mistake). Prefer a real biocontainer over a bare image -- a bare image like "python:3.12-slim" ships no third-party libraries (it cannot `import pandas`). If the recommend_biocontainer tool is available it resolves a verified image for you; otherwise use a known-good biocontainer tag. - shell_command: the command to execute, with $(inputs.name.path) for data inputs and $(inputs.name) for parameter inputs - inputs: list of input dicts, each with "name" and "type" (type can be: "data", "integer", "float", "text", "boolean") - outputs: list of output dicts, each with "name", "type": "data", "format" (e.g. "tabular", "vcf", "bed"), and "from_work_dir"
delete_user_toolDeactivate a user-defined tool. Deactivated tools are not loaded into the toolbox.
ParameterTypeDescription
uuid *stringThe UUID of the tool to deactivate. Get this from list_user_tools().
download_datasetDownload a dataset from Galaxy to the local filesystem or memory
ParameterTypeDescription
dataset_id *stringGalaxy dataset ID - a hexadecimal hash string identifying the dataset (a 16-character hex string)
file_pathstringLocal filesystem path where to save the downloaded file (e.g., '/path/to/data.txt', requires write access to filesystem) If not provided, downloads to memory instead
require_ok_statebooleanOnly allow download if dataset processing state is 'ok' (default: True, set False to download datasets in other states)
use_default_filenamebooleanDeprecated - use file_path for specific locations (default: True, ignored when file_path not provided)
extract_workflow_from_historyTurn jobs already run in a history into a stored workflow, so the same chain of tools
ParameterTypeDescription
collection_hidsarrayHistory item numbers (hid) of the dataset collections that become the workflow's collection inputs; a hid that is not a collection is refused by Galaxy.
dataset_hidsarrayHistory item numbers (the hid get_history_contents lists, not encoded ids) of the datasets that become the workflow's dataset inputs -- the ones the jobs read that another run would replace. A dataset a listed job reads that is neither here nor produced by a listed job is left as an unconnected step input. Galaxy does not check these: a hid that is not in the history still becomes an input step.
history_id *stringEncoded id of the history to extract from
job_idsarrayEncoded ids of the jobs that become tool steps, in the order to extract them; get_job_details and list_jobs report them. A job not from history_id is refused. Without any, the workflow has no tool steps.
workflow_name *stringName for the new stored workflow
get_collection_detailsGet detailed information about a dataset collection and its members
ParameterTypeDescription
collection_id *stringGalaxy dataset collection ID - a hexadecimal hash string (e.g., 'a1b2c3d4e5f6g7h8', typically 16 characters)
max_elementsintegerMaximum number of collection elements to return (default: 100) Set lower for large collections to avoid overwhelming output
get_dataset_detailsGet detailed information about a specific dataset, optionally including a content preview
ParameterTypeDescription
dataset_id *stringGalaxy dataset ID - a hexadecimal hash string identifying the dataset (a 16-character hex string)
include_previewbooleanWhether to include a preview of the dataset content showing first N lines (default: True, only works for datasets in 'ok' state)
preview_linesintegerNumber of lines to include in the content preview (default: 10)
get_historiesGet list of user's histories with optional pagination and filtering.
ParameterTypeDescription
limitintegerMaximum histories to return. Default None returns all. Use with offset for pagination on large history lists.
namestringReturn only histories with exactly this name. The match is exact and case-sensitive, not a substring: name="RNA" does not match "RNA-seq analysis".
offsetintegerSkip this many histories (for pagination). Default 0.
get_history_contentsGet paginated contents (datasets and collections) from a specific history with ordering support
ParameterTypeDescription
deletedbooleanInclude deleted datasets in results (default: False)
history_id *stringGalaxy history ID - a hexadecimal hash string identifying the history (a 16-character hex string)
limitintegerMaximum number of items to return per page (default: 100). A page too large for the output budget is cut short; pagination says where the next one starts.
offsetintegerNumber of items to skip from the beginning (default: 0, for pagination)
orderanySort order for results: hid, create_time, update_time, name, extension or size, followed by '-asc' or '-dsc'. 'hid-asc' (default) is oldest first.
visiblebooleanInclude only visible datasets (default: True, set False to include hidden)
get_history_detailsGet history metadata and summary count ONLY - does not return actual datasets
ParameterTypeDescription
history_id *stringGalaxy history ID - a hexadecimal hash string identifying the history (a 16-character hex string)
get_invocationsView workflow invocations in Galaxy
ParameterTypeDescription
history_idstringFilter invocations by history ID - a hexadecimal hash string (a 16-character hex string, optional)
include_terminalbooleanWhether invocations that have finished -- scheduled, failed or cancelled -- are listed. False keeps only the ones still in flight (default: True)
invocation_idstringSpecific workflow invocation ID to view - a hexadecimal hash string (a 16-character hex string, optional)
limitintegerMaximum number of invocations to return, at most 100 -- Galaxy's invocation index serves no larger page, so page with offset to see more. Leave it unset and none is sent, so Galaxy applies its own default of 20 -- not "no limit".
offsetintegerNumber of invocations to skip before the page starts, for walking a listing longer than one page of limit (default: 0)
sort_bystringOrder the listing by 'create_time' or 'update_time'. Left unset, Galaxy's own order applies, which is newest first (optional)
sort_descbooleanWith sort_by, True orders newest first and False oldest first. Left unset, Galaxy's own direction applies (optional)
step_detailsbooleanInclude details on individual workflow steps -- each step's jobs. Applies to one invocation by id, and to a listing when view is 'element' (default: False)
viewstringLevel of detail to return - 'element' for detailed or 'collection' for summary (default: 'collection')
workflow_idstringFilter invocations by workflow ID - a hexadecimal hash string (a 16-character hex string, optional)
get_iwc_workflow_detailsGet comprehensive details about a specific IWC workflow before importing.
ParameterTypeDescription
trs_id *stringThe TRS (Tool Registry Service) ID from search results. Format: "#workflow/github.com/iwc-workflows/<name>/<branch>" Example: "#workflow/github.com/iwc-workflows/rnaseq-pe/main"
get_iwc_workflowsList workflows published by the IWC (Intergalactic Workflow Commission).
ParameterTypeDescription
limitintegerMaximum workflows to return per page (default 20, max 100). A page is also cut short when it would not fit the output budget.
offsetintegerSkip this many workflows (default 0). Pass pagination.next_offset to walk to the following page.
get_job_detailsGet a job's record, by its own id or by a dataset it created.
ParameterTypeDescription
dataset_idstringGalaxy dataset ID whose creating job to look up - a hexadecimal hash string (a 16-character hex string). Give this or job_id, not both
history_idstringGalaxy history ID containing the dataset - optional for performance optimization (a 16-character hex string); only used with dataset_id
job_idstringGalaxy job ID to look up directly (a 16-character hex string). Give this or dataset_id, not both
get_job_logsRead a job's logs: the stdout and stderr Galaxy keeps for it, each cut to a byte budget.
ParameterTypeDescription
job_id *stringGalaxy job ID (a 16-character hex string), as run_tool, list_jobs or get_job_details report it
log_bytesintegerBudget per log field in UTF-8 bytes (default 4096). 0 returns every log uncut, however long; a negative value is refused
get_pageGet a page and the content of its latest revision.
ParameterTypeDescription
include_renderedbooleanWhen True, also return `content` -- the embed-expanded render form (inlined dataset previews). Can be large; omit unless you need the rendered output.
page_id *stringEncoded id of the page (from list_pages / create_page).
get_page_revisionGet the content of a single page revision.
ParameterTypeDescription
page_id *stringEncoded id of the page.
revision_id *stringEncoded id of the revision (from list_page_revisions).
get_server_infoGet Galaxy server information including version, URL, and configuration details
get_tool_citationsGet citation information for a specific tool
ParameterTypeDescription
tool_id *stringID of the tool
get_tool_detailsGet detailed information about a specific tool including its input parameters.
ParameterTypeDescription
io_detailsbooleanSet True to include detailed input/output parameter schemas. Essential for understanding how to call run_tool().
tool_id *stringGalaxy tool identifier. Common formats: - Simple: "fastqc", "bwa", "upload1" - Toolshed: "toolshed.g2.bx.psu.edu/repos/devteam/fastqc/fastqc/0.73"
tool_versionstringDescribe this installed version of the tool rather than the one Galaxy picks for the id. Refused when Galaxy answers with a different version, so the answer is never about another one.
get_tool_input_templateReturn a ready-to-fill ``inputs`` skeleton for a tool, plus a compact schema.
ParameterTypeDescription
tool_id *string
get_tool_panelBrowse the Galaxy tool panel (toolbox) one level at a time.
ParameterTypeDescription
limitintegerMaximum entries to return per page (default 100, max 500). A page is also cut short when it would not fit the output budget.
offsetintegerSkip this many entries (default 0). Pass pagination.next_offset to walk to the following page.
section_idstringPanel section to open, from a previous summary call. Omit to list the sections themselves.
get_tool_run_examplesReturn the exact XML test definitions (inputs, outputs, assertions, required files)
ParameterTypeDescription
tool_id *stringID of the tool to inspect
tool_versionstringOptional version selector (use '*' for all versions)
get_userGet current user information
get_user_toolGet one user-defined tool by its UUID, with its full representation.
ParameterTypeDescription
uuid *stringThe tool's UUID as list_user_tools() reports it (32 hex digits in 8-4-4-4-12 groups). The bare 32-digit, braced and urn:uuid: spellings name the same tool and are accepted too.
get_workflow_detailsGet detailed information about a specific workflow
ParameterTypeDescription
versionintegerSpecific version of the workflow (optional, uses latest if not specified)
workflow_id *stringID of the workflow to get details for - a hexadecimal hash string
get_workflow_input_templateReturn a ready-to-fill template plus a run guide for a workflow.
ParameterTypeDescription
history_idstring
verboseboolean
versioninteger
workflow_id *string
import_workflowImport a workflow from its definition into the user's Galaxy instance. The stored
ParameterTypeDescription
definition *objectThe workflow as Galaxy's native .ga dict or a Format2 (gxformat2) dict, the same as a JSON object string, or Format2 YAML text (class: GalaxyWorkflow). Embedded user-defined tools are created if the user is allowed to.
fill_defaultsbooleanHave Galaxy fill each tool parameter the definition leaves unset with its default while storing it, so the stored workflow carries complete tool state. Galaxy 26.2 and later fill them at run time anyway; an older Galaxy runs the workflow without it only with allow_tool_state_corrections on invoke_workflow.
import_workflow_from_iwcImport a workflow from IWC to the user's Galaxy instance
ParameterTypeDescription
trs_id *stringTRS ID of the workflow in the IWC manifest
invoke_workflowInvoke (run) a workflow with specified inputs and parameters
ParameterTypeDescription
allow_tool_state_correctionsbooleanLet Galaxy fill in or correct tool state it would otherwise refuse with "Workflow step has upgrade messages". Galaxy 26.2 and later give a parameter that is only left unset its default without this flag; it is still needed on an older Galaxy, and for a step whose tool version changed or whose stored value Galaxy has to replace
history_idstringID of history to store workflow outputs (optional)
history_namestringName for new history to create (ignored if history_id provided)
inputsobjectMapping of workflow inputs to datasets. Format: {'step_index': {'id': 'dataset_id', 'src': 'hda'}} where src can be: - 'hda' for HistoryDatasetAssociation - 'hdca' for HistoryDatasetCollectionAssociation - 'ldda' for LibraryDatasetDatasetAssociation - 'ld' for LibraryDataset
inputs_bystringHow to identify workflow inputs - 'step_index', 'step_uuid', 'name', or 'step_index|step_uuid' (recommended; matches get_workflow_input_template)
parameters_normalizedbooleanWhether parameters are already in normalized format
paramsobjectTool parameter overrides as a nested dictionary
versionintegerWhich stored version of the workflow to run (optional; the latest when omitted). Versions are numbered from 0, oldest first -- the number get_workflow_details reports as `version` and accepts back. Galaxy refuses a number past the newest with "Version does not exist". Must be 0 or greater.
workflow_id *stringID of the workflow to invoke - a hexadecimal hash string
list_history_idsGet a simplified, paginated list of history IDs and names for easy reference
ParameterTypeDescription
limitintegerMaximum histories to return per page (default 100, max 500). A page is also cut short when it would not fit the output budget.
offsetintegerSkip this many histories (default 0). Pass pagination.next_offset to walk to the following page.
list_jobsList jobs, optionally narrowed to one history, one state and a time window.
ParameterTypeDescription
date_range_maxstringOnly jobs updated at or before this time, in the same format.
date_range_minstringOnly jobs updated at or after this time, as an ISO 8601 date or datetime such as '2026-01-01' or '2026-01-01T12:00:00'.
history_idstringOnly jobs in this history (an encoded history id). Leave it unset for jobs from any history the user can see. The id of a history that does not exist is not an error here: it answers with an empty page.
limitintegerMost jobs to return in one page (default 100). Galaxy puts no upper cap on this, so this tool does not either; keep it to what fits the output budget.
offsetintegerSkip this many jobs (default 0). Page by raising it by limit until a page comes back shorter than limit.
order_bystringSort by 'update_time' (default) or 'create_time', newest first.
statestringOnly jobs in this state -- 'new', 'queued', 'running', 'ok', 'error', 'paused', 'deleted' and the rest of Galaxy's job states. A comma-separated list matches any of them.
viewstring'collection' (default) returns one small summary per job -- id, state, tool_id, exit_code, create_time, update_time -- which is what a listing wants. 'admin_job_list' adds runner and handler detail and needs an admin key.
list_page_revisionsList the revision history of a page.
ParameterTypeDescription
page_id *stringEncoded id of the page.
sort_descbooleanNewest-first when True (default oldest-first).
list_pagesList Galaxy pages (markdown documents) viewable by the user.
ParameterTypeDescription
history_idstringEncoded history id. When set, returns only notebooks attached to that history.
limitintegerMax pages to return (default 100).
offsetintegerPagination offset.
searchstringFreetext filter over title/content.
show_publishedbooleanAlso include pages published by other users (default False).
show_sharedbooleanAlso include pages shared with the user (default False).
list_user_toolsList user-defined tools belonging to the current user, one page at a time.
ParameterTypeDescription
activebooleanIf True (default), only show active tools. Set False to include deactivated tools.
limitintegerMaximum tools to return per page (default 25, max 100). Each entry carries the tool's full representation, so a page is often cut short to fit the output budget; walk pagination.next_offset for the rest.
offsetintegerSkip this many tools (default 0). Pass pagination.next_offset to walk to the following page.
list_workflowsList workflows available in the Galaxy instance, one page at a time
ParameterTypeDescription
limitintegerMaximum workflows to return per page (default 50, max 200). A page is also cut short when it would not fit the output budget.
namestringFilter workflows by name (optional)
offsetintegerSkip this many workflows (default 0). Pass pagination.next_offset to walk to the following page.
publishedbooleanInclude published workflows (default: False, shows only user workflows)
recommend_iwc_workflowsSemantic search for IWC workflows based on natural language description.
ParameterTypeDescription
intent *stringNatural language description of your analysis goal.
limitinteger
revert_page_revisionRoll a page back to an earlier revision.
ParameterTypeDescription
page_id *stringEncoded id of the page.
revision_id *stringEncoded id of the revision to restore.
run_toolRun a Galaxy tool on datasets in a history.
ParameterTypeDescription
history_id *stringGalaxy history ID (a 16-character hex string). Get from create_history() or get_histories().
inputs *objectTool input parameters. Dataset inputs use this format: {"input_name": {"src": "hda", "id": "dataset_id"}} To run the tool once per element of a collection, map it over the
tool_id *stringTool identifier. Common formats: - Simple built-in: "cat1", "Cut1", "upload1" - Toolshed: "toolshed.g2.bx.psu.edu/repos/iuc/fastqc/fastqc/0.73"
tool_versionstring
run_user_toolRun a user-defined tool via the standard Galaxy tools API.
ParameterTypeDescription
history_id *stringGalaxy history ID where outputs will be placed.
inputs *objectTool input parameters. Dataset inputs use: {"input_name": {"src": "hda", "id": "dataset_id"}} Scalar parameters use direct values: {"param_name": value}
tool_uuid *stringThe UUID of the user-defined tool (from create_user_tool or list_user_tools).
search_iwc_workflowsSearch for workflows in the IWC (Intergalactic Workflow Commission) manifest.
ParameterTypeDescription
limitintegerMaximum workflows to return per page (default 20, max 100). A broad query matches most of the 123-workflow corpus, which is ~184 KB unpaged and more than an MCP client will pass through intact.
offsetintegerSkip this many matches (default 0). Pass pagination.next_offset to walk to the following page.
query *stringSearch query (case-insensitive). Matches against: - Workflow name (e.g., "RNA-seq") - Description/annotation - Tags (e.g., "assembly", "transcriptomics")
search_tools_by_keywordsRecommend Galaxy tools based on a list of keywords.
ParameterTypeDescription
keywords *arrayA list of keywords or phrases describing what you're looking for, e.g., ["csv", "rna", "alignment", "visualization"]. The search will match tools whose name, description, or accepted input formats contain any of these keywords.
limitintegerMaximum tools to return per page (default 50, max 200). A page is also cut short when it would not fit the output budget.
offsetintegerSkip this many matches (default 0). Pass pagination.next_offset for the following page.
search_tools_by_nameSearch Galaxy tools whose name, ID, or description contains the given query (substring match),
ParameterTypeDescription
limitintegerMaximum tools to return per page (default 25, max 100). A page is also cut short when it would not fit the output budget, so ask for what you want and walk pagination.next_offset.
offsetintegerSkip this many matches (default 0). Pass pagination.next_offset to walk to the following page.
query *stringSearch query - matches against tool name, ID, or description. Examples: "fastq", "alignment", "filter", "bwa"
show_datasetsShow a chosen set of datasets from one history as a card: only these, in the order given. First read with get_history_contents and pick the entries the user asked for, datasets only (history_content_type "dataset"), passing their id, not their hid. For "the latest successful ones", for example, read with order="create_time-dsc" and take the first entries whose state is "ok", paging on until you have enough or saying how far you read. Galaxy supplies every name and state; an id that is not in this history, or that the user cannot access, is shown as such. The card opens on five rows. Use a show_* tool only when the user wants to see something, and show at most one card per reply across all of them.
update_historyUpdate an existing Galaxy history's metadata.
ParameterTypeDescription
annotationstringNew annotation/description text for the history (optional).
deletedbooleanIf True, soft-delete the history; if False, restore a deleted history (optional).
history_id *stringThe ID of the history to update. Obtain this from get_histories() or list_history_ids().
namestringNew name for the history (optional).
publishedbooleanIf True, publish the history (make it public); if False, unpublish (optional).
tagsarrayNew list of tags for the history (optional). Replaces any existing tags.
update_pageUpdate a page, creating a new revision when content changes.
ParameterTypeDescription
contentstringNew markdown content. Omit to leave content unchanged.
expect_hashstringcontent_hash from when the page was read; refused if it changed (a read then the write, not atomic).
page_id *stringEncoded id of the page.
section_contentstringThat section's new text, heading line included.
section_headingstringThe exact heading line of the section to replace (markdown pages only; every section with that heading line is replaced). "" is the text before the first heading.
titlestringNew title. Omit to leave unchanged.
upload_fileUpload a local file to Galaxy for analysis.
ParameterTypeDescription
history_idstringTarget history ID. If None, uses the most recent history. Recommend always specifying for clarity.
path *stringLocal file path to upload. Supports common bioinformatics formats: - Sequences: .fastq, .fasta, .fa, .fq, .fastq.gz - Alignments: .bam, .sam, .cram - Annotations: .bed, .gff, .gtf, .vcf - Tabular: .csv, .tsv, .txt
upload_file_from_urlUpload a file from a URL to Galaxy
ParameterTypeDescription
dbkeystringDatabase key/genome build (default: '?', e.g., 'hg38', 'mm10', 'dm6')
file_namestringOptional name for the uploaded file in Galaxy (inferred from URL if not provided)
file_typestringGalaxy file format name (default: 'auto' for auto-detection) Common types: 'fasta', 'fastq', 'bam', 'vcf', 'bed', 'tabular', etc.
history_idstringGalaxy history ID where to upload the file - optional, uses current history (a 16-character hex string)
url *stringURL of the file to upload (e.g., 'https://example.com/data.fasta')

Security checks

  • ✓README presentThe repository's README runs to about 532 words.

5 checks have not been run yet.

README

The repository's README runs to about 532 words. The original in the repository is authoritative.

Read full README
Questions

About io.github.galaxyproject/galaxy-mcp

How do I install io.github.galaxyproject/galaxy-mcp?

Run uvx galaxy-mcp, then add the server to your MCP client's configuration.

Is io.github.galaxyproject/galaxy-mcp safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.galaxyproject/galaxy-mcp still maintained?

Yes — the last commit was yesterday. The repository has 41 stars and 30 forks.

What tools does io.github.galaxyproject/galaxy-mcp provide?

Conduid read 51 tools from the source: cancel_workflow_invocation, connect, create_history, create_page, create_user_tool, delete_user_tool, download_dataset, extract_workflow_from_history and 43 more. 48 of them publish their parameters, listed under Tools above.