Skip to main content
Glama

AlbumentationsX MCP

Model Context Protocol server for AlbumentationsX: inspect datasets, preview augmentations, refine them with visual feedback, and export reproducible pipelines.

CI PyPI Python MCP Registry skills.sh

Baseline and adjusted AlbumentationsX preview contact sheets

Ask an MCP host for several robustness variants, reject an excessive result such as too_noisy:high, compare the adjusted batch previews, and export the accepted pipeline.

Install

Claude Desktop

Download the latest albumentationsx-mcp.mcpb, install it from Settings -> Extensions -> Advanced settings, and select separate image and artifact directories.

Other MCP Hosts

Run the published server with bounded local access:

uvx --from albumentationsx-mcp albumentationsx-mcp \
  --allowed-root /absolute/path/to/images \
  --artifact-root /absolute/path/to/albu-artifacts

run_first_preview requires the default full or dataset capability profile. The smaller review profile uses the explicit validate/render fallback in the usage guide, or you can restart with dataset or full; see configuration. Copyable host configurations are in the install guide. The repository also contains a native Codex plugin bundle. npx skills add dKosarevsky/albu-mcp installs agent guidance, not the MCP server.

Related MCP server: Agent Construct

First Preview

After connecting the server, ask your host:

Run the host smoke check. If preview_ready is true, call run_first_preview for /absolute/path/to/images with low
intensity and at most 8 images. Show me the contact sheet. When I mention a specific result, call
trace_preview_variant before adjusting it.

run_host_smoke_check returns preview_ready and a preview_request_template. If resource reads are unavailable, call get_workflow_example with example_id="client-smoke".

Try the classification robustness use case, or follow the First 10 Minutes guide. The validate_preview_request fallback, batch previews, and how to compare preview runs are in Usage. Use too_noisy:high or exposure_too_weak:medium, then optionally share one redacted loop through first-preview feedback. If setup fails, read albumentationsx://diagnostics/guide and call diagnose_environment for bounded remediation actions.

Capabilities

  • Transform discovery, schemas, recipes, and pipeline validation.

  • Classification, detection, segmentation, OCR, bbox, mask, keypoint, and dataset-quality workflows.

  • Deterministic previews, contact sheets, annotation overlays, comparison, ranking, and reports.

  • Interactive MCP Apps review with a text-only fallback for other hosts.

  • Structured feedback, tuning sessions, and Python, JSON, or YAML export.

  • Runtime-aware CPU torch.Tensor pipeline validation and guarded Python handoff.

  • MCP 2026-07-28 plus legacy negotiation; stable agent workflow resources, diagnostics, and contract snapshots.

The server does not execute arbitrary Python, fetch remote images, overwrite datasets, or train models. Reads are restricted by --allowed-root; generated files stay under --artifact-root.

Integrations

Documentation

Development

uv sync --all-extras --dev
uv run pytest
uv run ruff check .
uv run ruff format --check .
uv run ty check

Licensed under AGPL-3.0-or-later.

Available Tools

47 tools
adjust_pipelineC

Adjust a pipeline from structured preview feedback tags.

Inputs: pipeline (required), feedback_tags (required). Returns: object

archive_tuning_sessionB

Archive an interactive tuning session without deleting its audit trail.

Inputs: session_id (required), note. Returns: object

build_review_packetC

Build one host-facing first-preview handoff for one image or an image directory.

Inputs: dataset_path (required), task, targets, intensity, +1 more. Returns: object

cleanup_preview_runsC

Delete older preview runs beyond a retention count.

Inputs: keep_last. Returns: object

cleanup_tuning_sessionsB

Delete older interactive tuning sessions, protecting active sessions by default.

Inputs: keep_last, include_active. Returns: object

close_tuning_sessionC

Close an interactive tuning session as accepted or rejected.

Inputs: status (required), session_id (required), note, accepted_candidate_run_id. Returns: object

compare_preview_runsC

Compare two preview manifests to guide structured feedback and reproducible tuning.

Inputs: baseline_run_id (required), candidate_run_id (required), quality_profile. Returns: object

delete_preview_runA

Delete one preview run and its artifacts from the configured artifact root.

Inputs: run_id (required). Returns: object

diagnose_environmentC

Diagnose local MCP setup, root access, artifact writes, and public surface discovery.

Inputs: include_write_probe. Returns: object

explain_pipelineC

Explain likely pipeline effects, risks, and useful preview feedback tags.

Inputs: pipeline (required), target. Returns: object

export_pipelineC

Export a validated pipeline, optionally as a guarded CPU Tensor Python handoff.

Inputs: pipeline (required), target, output_format, input_contract. Returns: object

export_preview_reportC

Export a visual preview report with ranking, contact sheets, and decisions.

Inputs: baseline_run_id (required), candidate_run_ids (required), output_format, quality_profile, +3 more. Returns: object

export_tuning_reportC

Export persisted tuning decisions as markdown or JSON.

Inputs: limit, ranked, accepted_only, output_format. Returns: object

export_tuning_sessionB

Export one interactive tuning session as Markdown or JSON.

Inputs: session_id (required), output_format. Returns: object

get_preview_manifestC

Return the manifest JSON for one recorded preview run.

Inputs: run_id (required). Returns: object

get_transform_schemaB

Get parameter schema, target support, and summary for one transform.

Inputs: name (required). Returns: object

get_workflow_exampleB

Return an active-profile workflow example when the MCP host cannot read resources.

Inputs: example_id (required). Returns: object

inspect_dataset_qualityC

Inspect local dataset image quality before first preview rendering.

Inputs: dataset_path (required), max_images. Returns: object

interpret_preview_feedbackC

Convert free-form preview feedback into structured feedback tags.

Inputs: feedback_note (required). Returns: object

list_feedback_tagsA

List structured feedback tags accepted by adjust_pipeline.

Inputs: no named parameters. Returns: object

list_preview_feedbackC

List concrete preview feedback records.

Inputs: limit, run_id, accepted_only. Returns: object

list_preview_runsC

List recent preview runs recorded under the configured artifact root.

Inputs: limit. Returns: object

list_quality_profilesA

List task-aware quality profiles accepted by preview comparison tools.

Inputs: no named parameters. Returns: object

list_tuning_decisionsC

List persisted local tuning decisions.

Inputs: limit, ranked, accepted_only. Returns: object

list_tuning_sessionsC

List persisted interactive preview tuning sessions.

Inputs: limit, status. Returns: object

plan_augmentation_policyC

Plan a preview-gated augmentation policy for a task and objective.

Inputs: task (required), targets, intensity, objective, +1 more. Returns: object

plan_augmentation_policy_candidatesB

Plan 3-5 preview-gated augmentation policy candidates for side-by-side review.

Inputs: task (required), targets, objective, feedback_tags, +1 more. Returns: object

plan_dataset_onboardingC

Plan the first safe preview for one local image or an image directory.

Inputs: dataset_path (required), task, targets, intensity, +1 more. Returns: object

plan_policy_iterationC

Plan the next preview-gated policy iteration from concrete review feedback.

Inputs: task (required), targets, iteration, objective, +4 more. Returns: object

plan_preview_reviewC

Plan the next review action for one baseline-to-candidate preview comparison.

Inputs: baseline_run_id (required), candidate_run_id (required), accepted, feedback_note, +2 more. Returns: object

rank_preview_candidatesC

Rank multiple candidate preview runs against one baseline.

Inputs: baseline_run_id (required), candidate_run_ids (required), quality_profile, accepted_candidate_ids, +1 more. Returns: object

recommend_pipelineC

Recommend a conservative starter pipeline for a CV task.

Inputs: task (required), targets, intensity. Returns: object

recommend_recipeC

Recommend a task-aware starter pipeline, quality profile, and preview workflow.

Inputs: task (required), targets, intensity. Returns: object

record_preview_feedbackC

Persist user feedback for one concrete preview image variant.

Inputs: run_id (required), image_index (required), variant_index (required), note, +2 more. Returns: object

record_tuning_decisionC

Persist a local tuning decision for one preview comparison.

Inputs: baseline_run_id (required), candidate_run_id (required), accepted, feedback_tags, +2 more. Returns: object

record_tuning_session_stepC

Record one candidate comparison inside an interactive tuning session.

Inputs: session_id (required), baseline_run_id (required), candidate_run_id (required), accepted, +3 more. Returns: object

render_previewC

Render deterministic preview artifacts for local input images.

Inputs: request (required). Returns: object

render_preview_batchC

Render deterministic batch preview artifacts and contact sheets for local input images.

Inputs: request (required). Returns: object

run_first_previewC

Run one bounded, validated first preview for a local image or image directory.

Inputs: dataset_path (required), task, targets, intensity, +1 more. Returns: object

run_host_smoke_checkC

Run a read-only host preflight; reading the client-smoke resource is optional.

Inputs: task, targets, intensity, include_write_probe. Returns: object

score_dataset_preview_candidatesC

Score several preview candidates as one dataset-level decision set.

Inputs: baseline_run_id (required), candidate_run_ids (required), quality_profile, accepted_candidate_ids, +1 more. Returns: object

search_transformsC

Search AlbumentationsX transform metadata.

Inputs: limit, query, targets, bbox_type, +1 more. Returns: object

start_tuning_sessionC

Start a persistent multi-step preview tuning session.

Inputs: task (required), targets, baseline_run_id, quality_profile. Returns: object

summarize_tuning_sessionC

Summarize a baseline-to-candidate preview tuning step.

Inputs: baseline_run_id (required), candidate_run_id (required), accepted, feedback_tags, +1 more. Returns: object

trace_preview_variantB

Read the applied-transform trace for one rendered preview variant.

Inputs: run_id (required), image_index (required), variant_index (required). Returns: object

validate_pipelineC

Validate a pipeline spec and optional CPU Tensor boundary before export.

Inputs: pipeline (required), target, input_contract. Returns: object

validate_preview_requestC

Validate a preview request before rendering local preview artifacts.

Inputs: request (required), target. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 47 tools

    Disambiguation2/5

    Many tools have overlapping purposes, such as render_preview vs run_first_preview, recommend_recipe vs recommend_pipeline, and plan_augmentation_policy vs plan_augmentation_policy_candidates. While descriptions help, the boundaries between several tools are unclear, leading to potential misselection.

    Naming Consistency4/5

    All tool names follow a consistent snake_case verb_noun pattern, which is a solid structure. However, the variety of verbs for similar actions (e.g., render vs run, recommend vs plan) and some compound names introduce minor inconsistencies in predictability.

    Tool Count2/5

    With 47 tools, the server exceeds the 'too many' threshold (25+). The scope could be covered by a smaller, more focused set of tools, and the excessive count suggests over-engineering.

    Completeness4/5

    The tool surface covers the full workflow: pipeline recommendation, validation, export, preview rendering, feedback collection, tuning sessions, decisions, and environment diagnostics. No obvious gaps exist, though the redundancy in tools masks some minor missing operations like direct update/delete for certain entities.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers