Query and retrieve medical images from DICOM servers such as PACS, and read DICOM-encapsulated documents.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add dicom --env CONFIG_FILE_PATH='<CONFIG_FILE_PATH>' -- uv tool dicom-mcp /path/to/your_config.yaml~/.codex/config.toml
[mcp_servers.dicom]
command = "uv"
args = ["tool", "dicom-mcp", "/path/to/your_config.yaml"]
env = { CONFIG_FILE_PATH = "<CONFIG_FILE_PATH>" }
# codex mcp add dicom --env CONFIG_FILE_PATH='<CONFIG_FILE_PATH>' -- uv tool dicom-mcp /path/to/your_config.yaml~/.cursor/mcp.json
{
"mcpServers": {
"dicom": {
"command": "uv",
"args": [
"tool",
"dicom-mcp",
"/path/to/your_config.yaml"
],
"env": {
"CONFIG_FILE_PATH": "<CONFIG_FILE_PATH>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"dicom": {
"type": "stdio",
"command": "uv",
"args": [
"tool",
"dicom-mcp",
"/path/to/your_config.yaml"
],
"env": {
"CONFIG_FILE_PATH": "<CONFIG_FILE_PATH>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"dicom": {
"command": "uv",
"args": [
"tool",
"dicom-mcp",
"/path/to/your_config.yaml"
],
"env": {
"CONFIG_FILE_PATH": "<CONFIG_FILE_PATH>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"dicom": {
"command": "uv",
"args": [
"tool",
"dicom-mcp",
"/path/to/your_config.yaml"
],
"env": {
"CONFIG_FILE_PATH": "<CONFIG_FILE_PATH>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"dicom": {
"command": "uv",
"args": [
"tool",
"dicom-mcp",
"/path/to/your_config.yaml"
],
"env": {
"CONFIG_FILE_PATH": "<CONFIG_FILE_PATH>"
}
}
}
}Environment variables
CONFIG_FILE_PATH
Replace the placeholders with your own credentials and keep them out of version control.