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
uv sync --all-extras --dev
After the Python MCP server package is published to PyPI, it can be launched without cloning:
uvx --from albumentationsx-mcp albumentationsx-mcp
Run
uv run albumentationsx-mcp
Claude Desktop or another MCP host can launch it with stdio:
{
"mcpServers": {
"albumentationsx": {
"command": "uv",
"args": ["run", "albumentationsx-mcp"],
"cwd": "/path/to/albu-mcp"
}
}
}
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.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 supports optional bboxes, keypoints, and mask paths for annotation overlay previews.
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.1.0.tar.gz.
File metadata
- Download URL: albumentationsx_mcp-0.1.0.tar.gz
- Upload date:
- Size: 166.3 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 |
21e1b4c6e166f45cdd8f887419b89e3a31378aa2e9b872ad84a322df304642ab
|
|
| MD5 |
6f4f7dd596e9992fb28ba7350fddfee5
|
|
| BLAKE2b-256 |
a6f87583dc886a1ba4002e79b8ec46973164e8f53cf4f24b7897a3be6ba28923
|
File details
Details for the file albumentationsx_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: albumentationsx_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.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 |
58c424a11a83986d3af02835d595a6844446666e19a0715949f254003f88e21f
|
|
| MD5 |
7d1ec72ee2b479069398f4bdac465504
|
|
| BLAKE2b-256 |
1a0ed02006d48f5f5136e35492e79f95bb646fd39f6502b10ce83dd7a754ee51
|