DICOM-MCP
DICOM-MCP MCP サーバー
DICOM画像を扱うMCP
コンポーネント
リソース
サーバーは、次の機能を備えたシンプルなメモ保存システムを実装します。
個々のノートにアクセスするためのカスタム note:// URI スキーム
各ノートリソースには、名前、説明、text/plain mimetype があります。
プロンプト
サーバーは単一のプロンプトを提供します:
要約ノート: 保存されているすべてのノートの要約を作成します
詳細レベル(簡潔/詳細)を制御するためのオプションの「スタイル」引数
現在のすべてのメモをスタイルの好みに合わせて組み合わせたプロンプトを生成します
ツール
サーバーは 1 つのツールを実装します。
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
発達
建築と出版
配布用のパッケージを準備するには:
依存関係を同期し、ロックファイルを更新します。
uv syncパッケージディストリビューションをビルドします。
uv buildこれにより、 dist/ディレクトリにソースとホイールのディストリビューションが作成されます。
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起動すると、ブラウザでアクセスしてデバッグを開始できる URL がインスペクタに表示されます。
Available Tools
6 toolsadd-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
Scored across 6 tools
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.
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.
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.
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
Related MCP Connectors
Model Context Protocol server for Studex tools, notifications, and profile integrations
Model Context Protocol server for todo.vu task management and time tracking.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA connectivity testing server that enables DICOM network operations (like C-ECHO) through Claude's Model Context Protocol, with support for node configuration management.3GNU Lesser General Public v2.1 only
- FlicenseAqualityCmaintenanceA model context protocol server that allows interaction with TriliumNext Notes, providing tools to create, search, retrieve, update, and delete notes through natural language commands.969-
- FlicenseCqualityDmaintenanceA Model Context Protocol server that implements a simple notes system, allowing users to create, list, and summarize text notes.3-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for managing text notes, with resources (note:// URIs), tools (create_note), and prompts (summarize_notes).-