MCP & integrations/GitHub/MCP

nninteractive-agent

by MIC-DKFZ·Last observed 2026-10-27
★ 44 stars⑂ 2 forks

This project combines an MCP server and a segmentation skill that let agents such as Claude Code or Codex use nnInteractive to segment 2D and 3D medical and scientific images. The workflow supports follow-up corrections within a session and saves an instance map plus an objects.json file. An optional web demo presents the same tools and skill in a browser for people without their own agent.

Useful for

  • Ask an agent to segment the liver and spleen from a CT image as separate objects, then request a correction if one region leaks into another.

Key features

  • Accepts common image formats including NIfTI, NRRD, MHA, TIFF stacks, PNG/JPG, and NPY, then returns an instance map and objects.json with names and notes.
  • Keeps the image and objects loaded for a session so users can request follow-up corrections or additional structures.

Requirements & limitations

  • Requires Python 3.10+; local inference needs an NVIDIA GPU with about 10 GB memory recommended, while CPU inference works but each prompt takes long.
  • Setup registers the MCP server and skill and, for local inference, checks PyTorch/GPU and downloads nnInteractive weights; a server option can connect to remote inference instead.

Project information

CategoryMCP & integrations
TypeMCP
Author / organizationMIC-DKFZ
LicenseApache-2.0
Last observed2026-10-27

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote