
zhaoyouj/mcp-slicer
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
3D Slicer 통합을 위한 모델 Context Protocol 서버
개요
MCP-Slicer는 Claude Desktop 또는 Cline과 같은 모델 클라이언트와 3D Slicer를 연결하여 모델 Context Protocol (MCP)을 통해 3D Slicer의 직접 상호 작용 및 제어 할 수 있습니다. 이 통합은 의료 이미지 처리, 장면 작성 및 자연 언어를 사용하여 조작 할 수 있습니다. 1. : 목록 및 필터 Slicer MRML 노드 및 속성보기 2. : Slicer 환경에서 Python 코드를 실행 3. : Slicer 전망의 실시간 스크린 샷 캡처 - 전체 응용 프로그램 창 (모듈 패널 포함) - 개별 슬라이딩보기 (Red/Yellow/Green) - 3D 렌더링보기 - 시각적 피드백을 갖춘 완벽한 REACT 루프 - 3D Slicer 5.8 또는 newer - Python 3.13 또는 newer - uv 패키지 관리자 그렇지 않으면 설치 지침은 웹 사이트에 있습니다. uv 설치 Claude > Settings > Developer > Edit Config > claude desktop config.json 으로 이동하여 다음을 포함합니다. Claude Desktop App에 추가된 해당 슬라이더 도구를 확인하십시오
개요(AI 번역)
한국어 |
MCP-Slicer는 Claude Desktop 또는 Cline과 같은 모델 클라이언트와 3D Slicer를 연결하여 모델 Context Protocol (MCP)을 통해 3D Slicer의 직접 상호 작용 및 제어 할 수 있습니다. 이 통합은 의료 이미지 처리, 장면 작성 및 자연 언어를 사용하여 조작 할 수 있습니다.
특징
-
list nodes: 목록 및 필터 슬라이서 MRML 노드를 표시하고 속성을 볼 수 있습니다.
-
execute python code: Slicer 환경에서 Python 코드를 실행
-
capture screenshot: 실시간 스크린 샷 캡처 Slicer views
- Full Application window (모듈 패널 포함)
- 개별 슬라이스 전망 (Red/Yellow/Green)
- 3D 렌더링보기
- 시각적 피드백을 가진 완전한 REACT 루프
설치
# 필수품
- 3D 슬라이서 5.8 이상
- Python 3.13 이상
- uv 패키지 관리자
**Mac에 있다면 uv를 **로 설치하십시오.
**Windows에서 **
그리고 그때
그렇지 않으면 설치 지침은 웹 사이트에 있습니다. uv 설치
**⚠️ UV를 먼저 설치하십시오 **
데스크탑 통합을위한 Claude
Claude > Settings > Developer > Edit Config > claude desktop config.json 으로 이동하여 다음을 포함합니다.
Cline 통합
사용법
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP-Slicer - 3D Slicer Model Context Protocol Integration
MCP-Slicer connects 3D Slicer with model clients like Claude Desktop or Cline through the Model Context Protocol (MCP), enabling direct interaction and control of 3D Slicer. This integration allows for medical image processing, scene creation, and manipulation using natural language.
Features
-
list_nodes: List and filter Slicer MRML nodes and view their properties
-
execute_python_code: Execute Python code in the Slicer environment
-
capture_screenshot: Capture real-time screenshots of Slicer views
- Full application window (including module panels)
- Individual slice views (Red/Yellow/Green)
- 3D rendering view
- Enables complete REACT loop with visual feedback
Installation
Prerequisites
- 3D Slicer 5.8 or newer
- Python 3.13 or newer
- uv package manager
If you’re on Mac, please install uv as
brew install uv
On Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
and then
set Path=C:\Users\nntra\.local\bin;%Path%
Otherwise installation instructions are on their website: Install uv
⚠️ Please install UV first
Claude for Desktop Integration
Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"mcpServers": {
"slicer": {
"command": "uvx",
"args": ["mcp-slicer"]
}
}
}
Cline Intergration
{
"mcpServers": {
"slicer": {
"command": "uvx",
"args": ["mcp-slicer"]
}
}
}
Usage
Check Claude Settings
Make sure you see the corresponding slicer tools added to the Claude Desktop App
Open Slicer Web Server
- Open the Slicer Web Server module,
- ensure the required interfaces are checked,
- then start the server
Examples
- list_nodes
설치
uvx mcp-slicer설정
{
"mcpServers": {
"slicer": {
"command": "uvx",
"args": ["mcp-slicer"]
}
}
}