Atlas / MCP servers / zhaoyouj / Slicer

SlicerSAFE

mcp/zhaoyouj/slicer

A Model Context Protocol server for 3D Slicer integration

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
3 2r · 1w · 0d
Transport
—
License
—
Stars
41
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

English | 简体中文

[](https://www.python.org/) [](https://opensource.org/licenses/MIT) [](https://pypi.org/project/mcp-slicer/)

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. list_nodes: List and filter Slicer MRML nodes and view their properties
  1. execute_python_code: Execute Python code in the Slicer environment
  1. capture_screenshot: Capture real-time screenshots of Slicer views
  2. Full application window (including module panels)
  3. Individual slice views (Red/Yellow/Green)
  4. 3D rendering view
  5. 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 > claudedesktopconfig.json to include the following:

{
"mcpServers": {
"slicer": {
"command": "
Read from source at commit ac79ead77a26OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-slicer -- uvx mcp-slicer
claude-desktop
{
  "mcpServers": {
    "mcp-slicer": {
      "command": "uvx",
      "args": [
        "mcp-slicer"
      ]
    }
  }
}
03

Exposed tools (3)

2 read · 1 write · 0 destructive.

ToolRiskDescription
capture_screenshotreadCapture a screenshot from 3D Slicer for visual inspection.
execute_python_codewrite
list_nodesread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (3 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-08 · audit v0.4.1 · source sha ac79ead77a26full audit observations/trust-audit/mcp-server/zhaoyouj__slicer.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08ac79ead77a26SAFEB89first audit
06

Questions

What is the Slicer MCP server?

A Model Context Protocol server for 3D Slicer integration

What tools does Slicer expose?

3 in total: 2 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Slicer safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Slicer need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (ac79ead77a26), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement