iccdev-mcp
v2.3.2.5MCP server for ICC color profile tools (iccDEV)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
inspect_header
Inspect an ICC profile's header fields. Returns 22 raw header fields plus 6 computed human-readable names (color_space_name, pcs_name, device_class_name, version_string, rendering_intent_name, platform_name). Args: path: ICC profile path (absolute, relative, or filename to search).
| Parameter | Type | Description |
|---|---|---|
path * | string |
profile_summary
Return concise Python-native ICC profile metadata. This is a compact alternative to ``inspect_header`` for clients that need classification and routing metadata without the full 22-field header dump. Args: path: ICC profile path (absolute, relative, or filename to search).
| Parameter | Type | Description |
|---|---|---|
path * | string |
validate_profile
Validate an ICC profile in memory through the native C validation API. This does not invoke an iccDEV command-line tool. A non-OK status is a validation result, not an MCP transport failure. Args: path: ICC profile path (absolute, relative, or filename to search). Returns: Dict with the resolved file path, numeric status, status name, and native validation report.
| Parameter | Type | Description |
|---|---|---|
path * | string |
color_transform
Apply a color transform between two ICC profiles. Transforms pixel values from the source profile's color space to the destination profile's color space using the ICC Color Management Module. Args: src_profile: Source ICC profile path. dst_profile: Destination ICC profile path. pixels: List of pixel values (each pixel is a list of floats, e.g. [[0.5, 0.3, 0.1]] for RGB). Maximum 10000 pixels. intent: Rendering intent -- "perceptual", "relative", "saturation", or "absolute". interpolation: Interpolation method…
| Parameter | Type | Description |
|---|---|---|
dst_profile * | string | |
pixels * | array | |
src_profile * | string | |
intent | string | |
interpolation | string |
roundtrip_delta
Compute round-trip device-channel distance for an ICC profile. Transforms pixels device -> PCS -> device and measures Euclidean distance in device-channel units. This is not a CIE Delta E measurement. Args: profile: ICC profile path. pixels: Input pixel values in the profile's device color space. intent: Rendering intent for the transform. Returns: Dict with per-pixel 'deltas', 'roundtripped' values, and statistics (min, max, mean, median).
| Parameter | Type | Description |
|---|---|---|
pixels * | array | |
profile * | string | |
intent | string |
icc_sig_to_str
Convert a 4-byte ICC signature integer to a human-readable string. ICC profiles use 4-byte signatures to identify tags, color spaces, and other structures. This converts the integer to its string form. Args: signature: 4-byte ICC signature as integer (e.g., 1684370275 for 'desc'). Returns: Dict with 'signature' (int), 'string' (4-char), and 'hex'.
| Parameter | Type | Description |
|---|---|---|
signature * | integer |
enum_spaces
List all ICC color space identifiers. Returns the 32 ICC color space enum values with their names and integer values. Useful for understanding profile color space fields. Returns: Dict with 'color_spaces' list of {name, value} entries and 'count'.
list_available_profiles
List available ICC test profiles. Searches the iccDEV Testing/ directory tree for .icc/.icm files. Args: directory: Optional subdirectory name to filter results. Returns: Dict with 'profiles' list and 'count'.
| Parameter | Type | Description |
|---|---|---|
directory |
health_check
Check server status and available capabilities. Reports which backends are available (Python API, CLI tools) and how many profiles are accessible. Returns: Dict with dynamic native, CLI, and service tool inventories.
dump_profile
Dump full ICC profile description (iccDumpProfile). Displays header, tag table, and all tag data for an ICC profile. Args: path: ICC profile path. validate: Include ``-v`` validation output. verbosity: Validation verbosity when ``validate`` is true. tag: Tag signature to dump, or ``ALL``.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
tag | string | |
validate | boolean | |
verbosity | integer |
profile_to_xml
Convert ICC profile to XML (iccToXml). Serializes a binary ICC profile to human-readable XML format. Args: path: ICC profile path. Returns: Dict with 'xml_content', 'stdout', 'stderr', 'returncode'.
| Parameter | Type | Description |
|---|---|---|
path * | string |
xml_to_profile
Convert XML to ICC profile (iccFromXml). Reconstructs a binary ICC profile from XML specification. Args: xml_path: Path to ICC XML file. Returns: Dict with 'icc_base64' (base64-encoded ICC binary), 'stdout', 'stderr', 'returncode'.
| Parameter | Type | Description |
|---|---|---|
xml_path * | string |
profile_to_json
Convert ICC profile to JSON (iccToJson). Serializes a binary ICC profile to structured JSON format. Args: path: ICC profile path. Returns: Dict with 'json_content', 'stdout', 'stderr', 'returncode'.
| Parameter | Type | Description |
|---|---|---|
path * | string |
json_to_profile
Convert JSON to ICC profile (iccFromJson). Reconstructs a binary ICC profile from JSON specification. Args: json_path: Path to ICC JSON file. Returns: Dict with 'icc_base64' (base64-encoded ICC binary), 'stdout', 'stderr', 'returncode'.
| Parameter | Type | Description |
|---|---|---|
json_path * | string |
tiff_dump
Dump TIFF image metadata and embedded ICC profile (iccTiffDump). Args: path: TIFF image path. ifd: Zero-based main-chain IFD index (0..4095); omitted selects IFD 0. list_directories: Inventory main IFDs without parsing ICC or pixels. evidence_json: Emit native JSON metadata/inventory evidence.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
evidence_json | boolean | |
ifd | ||
list_directories | boolean |
jpeg_dump
Dump JPEG image metadata and embedded ICC profile (iccJpegDump). Args: path: JPEG image path.
| Parameter | Type | Description |
|---|---|---|
path * | string |
png_dump
Dump PNG image metadata and embedded ICC profile (iccPngDump). Args: path: PNG image path.
| Parameter | Type | Description |
|---|---|---|
path * | string |
heif_dump
Dump HEIF, HEIC, or AVIF metadata and embedded ICC profiles (iccHeifDump). Args: path: HEIF, HEIC, or AVIF image path.
| Parameter | Type | Description |
|---|---|---|
path * | string |
from_cube
Convert .cube LUT file to ICC profile (iccFromCube). Creates an ICC profile from a .cube 3D LUT file. Args: cube_path: Path to .cube LUT file. Returns: Dict with 'icc_base64', 'stdout', 'stderr', 'returncode'.
| Parameter | Type | Description |
|---|---|---|
cube_path * | string |
apply_profiles
Apply ICC profile transform to a TIFF image (iccApplyProfiles). Transforms a TIFF image through one or more ICC profiles. Args: src_image: Source TIFF image path. profiles: List of ICC profile paths to apply (in order). intents: Per-profile rendering intents. Defaults to relative intent. encoding: TIFF encoding mode. compress: TIFF compression flag. planar: TIFF planar output flag. embed: Embed output ICC flag. interpolation: Interpolation (0=Linear, 1=Tetrahedral). config_args: Raw iccApplyProfiles CLI arguments…
| Parameter | Type | Description |
|---|---|---|
compress | integer | |
config_args | ||
embed | integer | |
encoding | integer | |
intents | ||
interpolation | integer | |
planar | integer | |
profiles | ||
src_image | string |
apply_named_cmm
Run Named Color CMM transform (iccApplyNamedCmm). Applies a named color CMM configuration for color matching. Args: config: JSON config file path or space-separated arguments.
| Parameter | Type | Description |
|---|---|---|
config * | string |
create_link
Create a device link profile (iccApplyToLink). Combines multiple ICC profiles into a single device link profile. Args: profiles: List of ICC profile paths to link. Returns: Dict with 'icc_base64', 'stdout', 'stderr', 'returncode'.
| Parameter | Type | Description |
|---|---|---|
profiles * | array |
v5_to_v4
Convert v5 display+observer to v4 display profile. Uses iccV5DspObsToV4Dsp to combine a v5 display profile and observer profile into a traditional v4 display profile. Args: display_profile: v5 display ICC profile path. observer_profile: Observer ICC profile path. Returns: Dict with 'icc_base64', 'stdout', 'stderr', 'returncode'.
| Parameter | Type | Description |
|---|---|---|
display_profile * | string | |
observer_profile * | string |
spec_sep_to_tiff
Combine numbered grayscale TIFF channels (iccSpecSepToTiff). The literal prefix plus each channel number names a single-channel TIFF. This does not apply a separation/illuminant profile transform. Args: input_prefix: Literal channel filename prefix, e.g. spectral/spec_. start: First channel number. end: Last channel number, inclusive. increment: Nonzero step landing exactly on end. compress: 0=none, 1=LZW. planar: 0=interleaved, 1=separate planes. profile: Optional conformant ICC profile matching the channel count. t…
| Parameter | Type | Description |
|---|---|---|
end * | integer | |
increment * | integer | |
input_prefix * | string | |
start * | integer | |
bigtiff | boolean | |
compress | integer | |
planar | integer | |
profile | ||
tile_height | integer | |
tile_width | integer |
apply_search
Search-based profile application (iccApplySearch). Finds optimal profile matches and applies transforms. Args: config: JSON config file path or space-separated arguments.
| Parameter | Type | Description |
|---|---|---|
config * | string |
round_trip_test
Run iccRoundTrip on an ICC profile. Tests round-trip transform fidelity by applying AToB then BToA transforms and measuring reconstruction error. Args: path: ICC profile path. intent: Rendering intent (0=Perceptual, 1=Relative, 2=Saturation, 3=Absolute). use_mpe: Use MPE path when set to 1; use LUT path when 0. Returns: Dict with 'stdout', 'stderr', 'returncode'.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
intent | integer | |
use_mpe | integer |
pawg_report
Generate a PAWG profile assessment report (iccPawgReport). Runs the command-line PAWG security, conformance, and quality checklist for a single ICC profile and returns the tool output. Args: path: ICC profile path.
| Parameter | Type | Description |
|---|---|---|
path * | string |