mcp-server-galaxy-tool

goeckslab/mcp-server-galaxy-tool

3.2

If you are the rightful owner of mcp-server-galaxy-tool and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project provides an MCP server that exposes utilities for working with Galaxy tool XML files.

MCP Server: Galaxy Tool Utilities

This project provides an MCP (Model Context Protocol) server that exposes utilities for working with Galaxy tool XML files.

Features (More Coming Soon)

  • Validate Galaxy Tool XML: Check if a Galaxy tool XML file is valid according to the official schema.
  • Generate Basic Template: Instantly create a boilerplate Galaxy tool XML file.

Requirements

  • Python 3.8+
  • uv (for running the server, or use your preferred Python environment)
  • Cline (or any MCP-compatible agent)

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/mcp-server-galaxy-tool.git
    cd mcp-server-galaxy-tool
    
  2. Install dependencies:

    uv sync
    

Configuring the MCP Server in Cline

To use this MCP server with Cline in VSCode, add it to your Cline MCP configuration. Here’s how:

  1. Install Cline in VSCode by searching for it in the Extensions marketplace and installing it.

  2. Follow the Cline documentation to add a new server entry. Here is an example MCP servers config:

    {
      "mcpServers": {
        "Galaxy Tools": {
          "disabled": false,
          "timeout": 60,
          "command": "<path to your uv>",
          "args": [
            "--directory",
            "</path/to/this/repo/mcp-server-galaxy-tool>",
            "run",
            "main.py"
          ],
          "transportType": "stdio"
        }
      }
    }
    
  • Make sure the command and workingDirectory match your local setup.
  • Save the file and restart Cline if necessary.

Usage

Once the server is running and configured in Cline, you can try this example in Cline:

Create a Galaxy tool that uses PyCaret to perform regression on tabular data.

Project Structure

  • main.py β€” MCP server entry point
  • galaxy.xsd β€” Official Galaxy tool XML schema
  • pyproject.toml β€” Python project configuration
  • README.md β€” This documentation

License

MIT License

Acknowledgments