Skip to main content
Glama

DICOM-MCP MCP 서버

DICOM 이미지 작업을 위한 MCP

구성 요소

자원

서버는 다음을 사용하여 간단한 메모 저장 시스템을 구현합니다.

  • 개별 노트에 액세스하기 위한 사용자 지정 노트:// URI 체계

  • 각 노트 리소스에는 이름, 설명 및 텍스트/일반 MIME 유형이 있습니다.

프롬프트

서버는 단일 프롬프트를 제공합니다.

  • summarize-notes: 저장된 모든 노트의 요약을 생성합니다.

    • 세부 수준(간략/상세)을 제어하기 위한 선택적 "스타일" 인수

    • 현재 모든 노트와 스타일 선호도를 결합하여 프롬프트를 생성합니다.

도구

서버는 하나의 도구를 구현합니다.

  • add-note: 서버에 새 메모를 추가합니다.

    • 필수 문자열 인수로 "name"과 "content"를 사용합니다.

    • 서버 상태를 업데이트하고 클라이언트에게 리소스 변경 사항을 알립니다.

Related MCP server: TriliumNext Notes' MCP Server

구성

[TODO: 구현에 맞는 구성 세부 정보 추가]

빠른 시작

설치하다

클로드 데스크탑

MacOS의 경우: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

개발

건축 및 출판

배포를 위해 패키지를 준비하려면:

  1. 종속성 동기화 및 잠금 파일 업데이트:

지엑스피1

  1. 패키지 배포 빌드:

uv build

이렇게 하면 dist/ 디렉토리에 소스와 휠 배포판이 생성됩니다.

  1. PyPI에 게시:

uv publish

참고: 환경 변수나 명령 플래그를 통해 PyPI 자격 증명을 설정해야 합니다.

  • 토큰: --token 또는 UV_PUBLISH_TOKEN

  • 또는 사용자 이름/비밀번호: --username / UV_PUBLISH_USERNAME 및 --password / UV_PUBLISH_PASSWORD

디버깅

MCP 서버는 stdio를 통해 실행되므로 디버깅이 어려울 수 있습니다. 최상의 디버깅 환경을 위해서는 MCP Inspector 사용을 강력히 권장합니다.

다음 명령을 사용하여 npm 통해 MCP Inspector를 시작할 수 있습니다.

npx @modelcontextprotocol/inspector uv --directory /Users/shaunporwal/Documents/GitHub/projects/DICOM-MCP run dicom-mcp

Inspector를 실행하면 브라우저에서 접근하여 디버깅을 시작할 수 있는 URL이 표시됩니다.

Available Tools

6 tools
add-noteC

Add a new note

Inputs: name (required), content (required).

crop-dicom-imageB

Crop a loaded DICOM image by removing boundary percentage

Inputs: series_uid (required), boundary_percentage.

extract-dicom-metadataC

Extract detailed metadata from a DICOM file

Inputs: dicom_file (required).

load-dicom-segC

Load a DICOM SEG file and associate it with a reference image

Inputs: seg_file (required), reference_series_uid.

load-dicom-seriesC

Load a DICOM series into memory for processing

Inputs: series_uid (required).

scan-dicom-directoryB

Scan a directory for DICOM files and organize them into series

Inputs: directory (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: adding notes, cropping images, extracting metadata, loading segmentation files, loading series, and scanning directories. There is no overlap in functionality, making it easy for an agent to select the right tool for each task.

    Naming Consistency4/5

    The tools follow a consistent verb-noun pattern with hyphens (e.g., add-note, crop-dicom-image), except for 'scan-dicom-directory' which uses 'scan' instead of 'load' or similar, but this minor deviation doesn't break overall readability. The naming is predictable and easy to understand.

    Tool Count5/5

    With 6 tools, this server is well-scoped for DICOM processing, covering key operations like loading, scanning, extracting metadata, cropping, and adding notes. Each tool earns its place without feeling too sparse or bloated, fitting typical use cases in this domain.

    Completeness4/5

    The toolset covers core DICOM workflows including loading, scanning, metadata extraction, and basic image manipulation. Minor gaps exist, such as the lack of tools for saving or exporting processed DICOM files, but agents can likely work around this with the provided operations.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A connectivity testing server that enables DICOM network operations (like C-ECHO) through Claude's Model Context Protocol, with support for node configuration management.
      3
      GNU Lesser General Public v2.1 only
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server for managing text notes, with resources (note:// URIs), tools (create_note), and prompts (summarize_notes).
      -