AlbumentationsX MCP

io.github.dKosarevsky由 GitHub 账号 dKosarevsky 发布v1.21.1更新于 Nov 3, 2026

AlbumentationsX MCP for batch previews, compare preview runs, segmentation masks, and exports.

概览

AI 生成的概览

面向 AlbumentationsX 的本地 MCP 服务器,让助手检查图像数据集、预览增强批次、比较多次运行并导出流水线。

可以做什么
  • 发现变换、查看 schema 与配方,并校验增强流水线
  • 运行确定性的批量预览,生成拼图与标注叠加图,覆盖分类、检测、分割、OCR、bbox、掩码与关键点数据
  • 比较、排序并报告多次预览运行,追溯某个具体变体对应的设置
  • 收集结构化反馈与调参会话,用于改进增强方案
  • 将确认的流水线导出为 Python、JSON 或 YAML,并支持 CPU torch.Tensor 校验与受控的 Python 交接
  • 执行主机冒烟检查与环境诊断
适用场景
适合让助手协助调优图像增强:尝试不同的鲁棒性变体、目视审阅批量预览、否决效果不佳的设置,并导出可复现的流水线。主要用于计算机视觉与机器学习的数据准备,而非通用图像编辑。
运行要求
以 stdio 方式在本地运行,从 albumentationsx-mcp 的 PyPI 包安装(例如通过 uvx),或作为 Claude Desktop 扩展包安装。需要提供本地图像目录作为允许根目录,以及用于生成文件的产物目录。可选环境变量 ALBU_MCP_ALLOWED_ROOTS、ALBU_MCP_ARTIFACT_ROOT 和 ALBU_MCP_MAX_PREVIEW_RUNS 用于控制访问范围与保留数量。未声明任何身份验证。
安装前请注意
服务器会读取本地图像文件,应尽量缩小允许根目录;预览图与清单会写入产物目录。其说明称不会执行任意 Python、抓取远程图像、覆盖数据集或训练模型,且 Python 交接受到限制,但运行导出的代码前仍应自行审阅。仅支持桌面端,不支持网页执行。

安装

在 SourceWeft 中

  1. 打开 控制台中的 AlbumentationsX MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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:

bash
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.

First Preview

After connecting the server, ask your host:

text
Run the host smoke check. If preview_ready is true, call run_first_preview for /absolute/path/to/images with lowintensity and at most 8 images. Show me the contact sheet. When I mention a specific result, calltrace_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

bash
uv sync --all-extras --devuv run pytestuv run ruff check .uv run ruff format --check .uv run ty check

Licensed under AGPL-3.0-or-later.

来源:README.md,提交 171e2ca

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.21.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分