AlbumentationsX MCP
Model Context Protocol server for discovering transforms, validating augmentation pipelines, rendering deterministic previews, and exporting reproducible pipeline specs.
README
AlbumentationsX MCP
Model Context Protocol server for AlbumentationsX: discovering transforms, validating augmentation pipelines, rendering deterministic previews, and exporting reproducible pipeline specs.
<!-- mcp-name: io.github.dKosarevsky/albu-mcp -->
Scope
This project is intentionally a thin MCP layer around existing AlbumentationsX primitives:
albu-specis the source of transform metadata, parameter constraints, targets, and docstrings.albumentationsxremains the execution engine for validation, serialization, and previews.- the MCP server exposes resources, tools, and prompts with strict typed schemas and bounded local file access.
The server does not execute arbitrary Python, fetch remote images, overwrite datasets, or train models.
Public MCP tool, resource, prompt, and metadata changes follow the compatibility policy and are guarded by surface and output contract snapshots.
Install
Run the published MCP server without cloning:
uvx --from albumentationsx-mcp albumentationsx-mcp
For host-specific setup, bounded filesystem access, smoke checks, and troubleshooting, see the install guide.
For local development:
uv sync --all-extras --dev
Run
uv run albumentationsx-mcp
Claude Desktop or another JSON-configured MCP host can launch a local checkout with stdio:
{
"mcpServers": {
"albumentationsx": {
"command": "uv",
"args": ["run", "albumentationsx-mcp"],
"cwd": "/path/to/albu-mcp"
}
}
}
Installed from PyPI:
{
"mcpServers": {
"albumentationsx": {
"command": "uvx",
"args": ["--from", "albumentationsx-mcp", "albumentationsx-mcp"]
}
}
}
See examples/claude_desktop_pypi_config.json, examples/cursor_mcp_config.json, and examples/codex_mcp_config.toml for copyable host snippets.
Core Tools
search_transforms: search transform metadata by query, targets, type, and bbox support.get_transform_schema: inspect a transform schema and constraints.validate_pipeline: validate a typed pipeline spec before running it.recommend_pipeline: create a conservative task preset for classification, detection, segmentation, or OCR.recommend_recipe: return a task-aware starter pipeline, quality profile, feedback tags, explanations, and next MCP tools.adjust_pipeline: apply structured preview feedback such astoo_noisyortoo_blurry.explain_pipeline: summarize likely effects, preview risks, and useful feedback tags.list_feedback_tags: list the structured feedback contract used byadjust_pipeline.list_quality_profiles: list task-aware quality profiles for balanced, classification, detection, segmentation, and OCR review.render_preview: create deterministic local preview artifacts inside an allowed output root.render_preview_batch: create deterministic multi-image preview contact sheets using the same request schema.compare_preview_runs: compare two preview manifests before choosing feedback tags or exporting a pipeline.summarize_tuning_session: summarize quality findings, feedback tags, score, risk, and export readiness.rank_preview_candidates: rank several candidate preview runs against one baseline.score_dataset_preview_candidates: score a candidate set across dataset-level metrics, findings, and ranking.record_preview_feedback: persist user feedback for one concrete preview example and variant.list_preview_feedback: list concrete preview feedback and aggregate tags for the next adjustment.record_tuning_decision: persist a local accepted or rejected tuning decision.list_tuning_decisions: list local tuning decisions newest-first or score-ranked.export_tuning_report: export persisted tuning decisions as Markdown or JSON.export_preview_report: export Markdown or HTML reports with contact sheets, ranking, metrics, decisions, and concrete feedback.list_preview_runs: list recent preview manifests recorded under the artifact root.get_preview_manifest: read one recorded preview manifest by run id.delete_preview_run: delete one preview run and its artifacts.cleanup_preview_runs: prune older preview runs beyond a retention count.export_pipeline: export a pipeline as Python, JSON, or YAML.
render_preview and render_preview_batch support optional bboxes, keypoints, and mask paths for annotation overlay
previews. Preview manifests include an agent-legible summary block with input counts, seeds, transform names, artifact
counts, contact sheets, and warnings.
What Changed In 0.2
- PyPI and MCP Registry publishing are automated with release version guardrails and post-release smoke checks.
render_preview_batchproduces batch previews and contact sheets for multi-image review.compare_preview_runssummarizes baseline and candidate manifests to compare preview runs before choosing feedback tags.- Preview manifests include reproducibility summaries for seeds, transforms, artifact counts, and contact sheets.
- agent workflow resources and prompts guide preview tuning, annotation review, feedback adjustment, and final export.
What Changed In 0.3
adjust_pipelineaccepts optional feedback severity suffixes such astoo_noisy:low,too_noisy:medium, andtoo_noisy:high.compare_preview_runsreturnssuggested_feedback_tagsfor candidate transforms that deserve visual review.- Suggested tags are review candidates only; the user still chooses feedback after inspecting contact sheets.
What Changed In 0.4
compare_preview_runsincludes localquality_summarymetrics for preview image artifacts.summarize_tuning_sessionexplains baseline-to-candidate feedback, quality deltas, and export readiness.- task workflow profiles and docs/RECIPES.md guide classification, detection, segmentation, and OCR MCP host sessions.
What Changed In 0.5
quality_summarynow includes saturation, colorfulness, entropy, clipping, and deterministic quality findings.- Annotation previews record bbox, keypoint, and mask retention observations in preview manifests.
compare_preview_runsincludesannotation_summarywhen annotation observations are available.summarize_tuning_sessionreturnsquality_score,quality_risk, and structuredquality_findings.record_tuning_decisionandlist_tuning_decisionsprovide a local JSON-backed tuning decision journal.
What Changed In 0.6
- Added task-aware quality profiles for balanced, classification, detection, segmentation, and OCR review.
- Added
rank_preview_candidatesto choose between multiple candidate preview runs. - Added
export_tuning_reportfor Markdown or JSON handoff from the local tuning decision journal. - Extended golden MCP evals to cover two-candidate ranking and report export.
What Changed In 0.7
- Added
recommend_recipefor task-aware workflow envelopes around conservative starter pipelines. - Added
score_dataset_preview_candidatesfor dataset-level candidate metrics and finding counts. - Added
export_preview_reportfor Markdown or HTML visual handoff with contact sheets and decision context. - Exposed
albumentationsx://recipes/catalogfor recipe discovery by MCP hosts. - Extended golden MCP evals to cover recipes, dataset scoring, and preview report export.
What Changed In 0.8
recommend_recipenow returns structured explanations for profile selection, targets, feedback tags, and workflow.export_preview_reportnow embeds Markdown image refs or HTML thumbnails for contact sheet artifacts.- Report snapshot tests use deterministic tiny PNG fixtures to lock visual handoff output.
- Golden MCP evals verify recipe explanations and preview report image markup.
What Changed In 0.9
- Added
record_preview_feedbackandlist_preview_feedbackfor concrete example/variant feedback. - Added host example resources for the preview feedback loop and visual report handoff.
- Golden MCP evals now cover the "example 8 is too noisy" review path through stdio.
What Changed In 0.10
export_preview_reportnow includes matching concrete preview feedback records in Markdown and HTML handoffs.- Golden MCP evals verify that recorded feedback note, target, and tags appear in the visual preview report.
- v1 readiness is defined around stable public MCP contracts, schema snapshots, and a compatibility policy.
What Changed In 0.11
- Added deterministic MCP contract snapshots for public tools, resources, resource templates, and prompts.
- Added
scripts/export_mcp_contract.pyto regenerate reviewed contract fixtures. - Added docs/COMPATIBILITY.md for compatible additions, breaking changes, deprecations, and required coverage.
What Changed In 0.12
- Added representative output contract snapshots for recipe, scoring, feedback, and preview report responses.
- Added
scripts/export_output_contracts.pyto regenerate reviewed output fixtures. - Extended compatibility guidance so response-shape changes get explicit fixture coverage.
What Changed In 0.13
- Added docs/INSTALL.md as the canonical MCP host install guide.
- Documented PyPI, MCP Registry, Claude Desktop, Claude Code, Cursor, Codex, bounded local roots, smoke checks, and troubleshooting in one place.
- Added documentation tests to keep host setup guidance and example snippets aligned with the published package command.
What Changed In 1.0
- Declared the public MCP tool, resource, prompt, package metadata, and representative output contracts stable.
- Added docs/V1_READINESS.md as the release audit for contract freeze, snapshots, golden evals, install flow, compatibility policy, and publication checks.
- Updated package maturity metadata to
Development Status :: 5 - Production/Stable.
V1 Readiness
v1.0.0 freezes public tool/resource names, response fields, package metadata, and host workflows. v0.11.0 added
tool/resource/prompt snapshots and compatibility rules; v0.12.0 added representative output contract snapshots;
v0.13.0 added the host install guide and documentation checks. The final release gate is tracked in
docs/V1_READINESS.md.
Demo Workflow
- Use
recommend_recipeto choose the starter pipeline, quality profile, feedback tags, explanations, and next tools. - Call
validate_pipelinefor the recommended pipeline. - Call
render_preview_batchon a small local image set. - Adjust with structured feedback such as
too_noisy,too_noisy:high, ortoo_distorted. - Render one or more candidate preview batches with the same inputs.
- Call
compare_preview_runsbefore accepting a candidate and inspectquality_summary.findings. - Call
record_preview_feedbackwhen the user points to a concrete example such as "example 8 is too noisy". - Call
list_preview_feedbackand reuseaggregated_feedback_tagsfor the nextadjust_pipelinecall. - Call
rank_preview_candidatesandscore_dataset_preview_candidateswith the matching quality profile. - Call
record_tuning_decisionfor accepted or rejected candidates. - Call
export_preview_reportfor visual handoff with contact sheet thumbnails and concrete feedback,export_tuning_reportfor decision history, thenexport_pipeline.
See docs/INSTALL.md for host setup, docs/USAGE.md for an end-to-end MCP host workflow, docs/RECIPES.md for task-specific host recipes, docs/DEMO.md for a generated preview comparison demo, CHANGELOG.md for release notes, docs/COMPATIBILITY.md for public contract rules, docs/RELEASE.md for the package and MCP Registry release process, server.json for public discovery metadata, and evals/golden_mcp_scenarios.yaml for executable MCP scenarios.
Verification
uv run pytest
uv run ruff check .
uv run ruff format --check .
uv run ty check
uv run python scripts/run_golden_evals.py
uv build
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。