Model Context Protocol server for AlbumentationsX augmentation discovery, validation, and previews.
Project description
AlbumentationsX MCP
Model Context Protocol server for AlbumentationsX: discovering transforms, validating augmentation pipelines, rendering deterministic previews, and exporting reproducible pipeline specs.
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.
Install
Run the published MCP server without cloning:
uvx --from albumentationsx-mcp albumentationsx-mcp
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.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.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.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.
See docs/USAGE.md for an end-to-end MCP host workflow, 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file albumentationsx_mcp-0.2.0.tar.gz.
File metadata
- Download URL: albumentationsx_mcp-0.2.0.tar.gz
- Upload date:
- Size: 174.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ba94d065c5f52ff55fd3b2aa7bda58e957a3f650fc82972cbe544cdacc53b2b
|
|
| MD5 |
cde5f9ca20709d299bcf14e9dde6e76d
|
|
| BLAKE2b-256 |
773ac58cc50f64deb07f57f5b8e63e325723fa2a9e75080bceac90872b7ab487
|
File details
Details for the file albumentationsx_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: albumentationsx_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e675aafffe9c419d79d8e38c0c049ee5320f1d0227a414b72ae3ef20f88639c8
|
|
| MD5 |
af4b0b069171e8fd9c49b2be21d3dece
|
|
| BLAKE2b-256 |
0efe275b4ba77f32fd83cb120bf9a6819c694f3019d00fa2dbaada60bb51ada3
|