Back to Home
hyperflow-wms icon

montage-mcp-server

by hyperflow-wms

Overview

Generates astronomical image mosaic workflows using the Montage toolkit through an MCP server interface, primarily for integration with LLMs like Claude Desktop.

Installation

Run Command
cat /tmp/example-dss.json | docker run --rm -i -v "$PWD/workflows:/workflows" montage-mcp-server:latest

Security Notes

Critical shell injection vulnerability in workflow generation scripts (`montage-workflow-yaml.py`, `montage-workflow-wfformat.py`): User-controlled inputs (`survey`, `band`) are directly interpolated into shell commands (`mArchiveList`, `mDAGTbls`, `mOverlaps`), allowing arbitrary command execution. Critical container escape vulnerability: The `docker-compose.yml` mounts `/var/run/docker.sock` into the `hyperflow` container, giving it root access to the host's Docker daemon. Use of `yaml.UnsafeLoader` in `server.py` could be a deserialization vulnerability if the generated YAML is ever untrusted, though in current context it loads self-generated content.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassHigh
Avg Tokens250000
Stars0
Forks0
Last Update2025-12-04

Tags

AstronomyWorkflow GenerationLLM IntegrationMontageHyperFlowWfCommons