DICOM MCP Server logo

DICOM MCP Server

by MCP-Mirror

The DICOM MCP Server is a Model Context Protocol (MCP) server designed for DICOM connectivity testing. It allows users to perform DICOM operations, such as C-ECHO, using node names or explicit parameters.

View on GitHub

Last updated: N/A

What is DICOM MCP Server?

The DICOM MCP Server is a server that implements the Model Context Protocol (MCP) for DICOM communication. It provides a way to test DICOM connectivity and perform operations like C-ECHO using either pre-configured node names or direct parameters.

How to use DICOM MCP Server?

To use the server, first install the required dependencies, including UV. You can then install the server using either the traditional setup or the MCP installation method. Configure your DICOM nodes in the nodes.yaml file. Run the server directly or through Claude, and use the provided functions (e.g., list_dicom_nodes(), dicom_cecho_by_name(), dicom_cecho()) to perform DICOM operations.

Key features of DICOM MCP Server

  • DICOM connectivity testing

  • Model Context Protocol (MCP) support

  • Node configuration via YAML file

  • C-ECHO operations by node name

  • Direct C-ECHO operations

  • Integration with Claude

Use cases of DICOM MCP Server

  • Testing DICOM connectivity between systems

  • Validating DICOM configurations

  • Performing C-ECHO operations for verification

  • Integrating DICOM functionality with Claude

  • Automated DICOM testing workflows

FAQ from DICOM MCP Server

What is UV?

UV is a dependency required for Claude to properly execute the server. It needs to be installed and available in your system PATH.

How do I install the server?

You can install the server using either the traditional setup with uv pip install mcp[cli] or the recommended MCP installation with mcp install server.py.

How do I configure DICOM nodes?

DICOM nodes are configured in the nodes.yaml file. This file allows you to define node names, AE titles, IPs, and ports for your DICOM systems.

What do I do if I encounter the 'spawn uv ENOENT' error?

This error usually means UV is not installed or not in your PATH. Ensure UV is properly installed, in your PATH, and that the Python environment is accessible to the system.

How do I perform a C-ECHO operation?

You can perform a C-ECHO operation using either a node name from the configuration with dicom_cecho_by_name() or with explicit parameters using dicom_cecho().