metadata
title: MONAI MCP Service
emoji: 🔧
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
license: mit
MONAI MCP Service
This deployment package wraps MONAI capabilities as MCP tools using FastMCP.
It supports local stdio usage and HTTP MCP endpoint deployment for Docker/HuggingFace Spaces.
Available Tools
health_checklist_moduleslist_symbolslist_network_architecturescreate_networkbuild_transform_pipelinecall_functioncreate_instance
Detailed tool docs are in MONAI/mcp_output/README_MCP.md.
Local stdio (Claude Desktop / CLI)
cd MONAI/mcp_output
python mcp_plugin/main.py
or:
MCP_TRANSPORT=stdio python start_mcp.py
HTTP MCP endpoint (Docker/HF Spaces)
The Docker entrypoint launches FastMCP directly from:
python MONAI/mcp_output/start_mcp.py
Runtime env in container:
MCP_TRANSPORT=httpMCP_PORT=7860
MCP clients should connect to:
https://<your-host>/mcp
Build and Run Docker
./run_docker.sh
On Windows PowerShell:
./run_docker.ps1