Z
zhaoyouj/mcp-slicer
A Model Context Protocol server for 3D Slicer integration
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
- Copy the command above
- Paste it as one entry under
mcpServersinclaude_desktop_config.json— local servers take command + args (example: clients) - Restart your client
Client config (built from the install command this repo gives)
{
"mcpServers": {
"zhaoyouj-mcp-slicer": {
"command": "uvx",
"args": ["mcp-slicer"]
}
}
}Parsed from the README we fetched on 2026-11-05; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"zhaoyouj-mcp-slicer": {
"command": "uvx",
"args": ["mcp-slicer"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio zhaoyouj-mcp-slicer -- uvx mcp-slicer
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
uvx mcp-slicer
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
uvx mcp-slicer. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# MCP-Slicer - 3D Slicer Model Context Protocol Integration
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
English | 简体中文
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
1. listnodes: List and filter Slicer MRML nodes and view their properties
2. executepythoncode: Execute Python code in the Slicer environment
3. capturescreenshot: 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
bash
brew install uv
On Windows
bash
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
and then
bash
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 > claudedesktopconfig.json to include the following:
json
"mcpServers": {
"slicer": {
"command": "uvx",
"args": ["mcp-slicer"]
### Cline Intergration
json
"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
1. Open the Slicer Web Server module,
2. ensure the required interfaces are checked,
3. then start the server
## Examples
### - listnodes
> What Markups nodes are in the Slicer scene now, list their names, what is their length if it is a line, and what is its angle if it is an angle
### - execute python code
> Draw a translucent green cube of 8 cm in the Slicer scene, mark its vertices, and then draw a red sphere inscribed in it.
### - capturescreenshot
> Capture the current state of Slicer to provide visual feedback to AI
Usage examples:
capturescreenshot() - Capture full application window
capturescreenshot(viewtype="slice", viewname="red") - Capture Red slice view
capturescreenshot(viewtype="3d", cameraaxis="A") - Capture 3D view from anterior
This enables a complete REACT loop where AI can:
1. Reason about what to do
2. Act using executepythoncode
3. Observe the result using capturescreenshot
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
1. listnodes: List and filter Slicer MRML nodes and view their properties
2. executepythoncode: Execute Python code in the Slicer environment
3. capturescreenshot: 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
bash
brew install uv
On Windows
bash
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
and then
bash
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 > claudedesktopconfig.json to include the following:
json
"mcpServers": {
"slicer": {
"command": "uvx",
"args": ["mcp-slicer"]
### Cline Intergration
json
"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
1. Open the Slicer Web Server module,
2. ensure the required interfaces are checked,
3. then start the server
## Examples
### - listnodes
> What Markups nodes are in the Slicer scene now, list their names, what is their length if it is a line, and what is its angle if it is an angle
### - execute python code
> Draw a translucent green cube of 8 cm in the Slicer scene, mark its vertices, and then draw a red sphere inscribed in it.
### - capturescreenshot
> Capture the current state of Slicer to provide visual feedback to AI
Usage examples:
capturescreenshot() - Capture full application window
capturescreenshot(viewtype="slice", viewname="red") - Capture Red slice view
capturescreenshot(viewtype="3d", cameraaxis="A") - Capture 3D view from anterior
This enables a complete REACT loop where AI can:
1. Reason about what to do
2. Act using executepythoncode
3. Observe the result using capturescreenshot
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/zhaoyouj-mcp-slicer/)
- Source
- awesome · https://github.com/zhaoyouj/mcp-slicer
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.