Model Context Protocol server for AlbumentationsX augmentation discovery, validation, and previews.
Project description
AlbumentationsX MCP
Model Context Protocol server for AlbumentationsX: transform discovery, pipeline validation, deterministic previews, feedback loops, and reproducible exports for computer vision augmentation work.
Purpose
AlbumentationsX MCP is a thin, typed MCP layer around existing AlbumentationsX primitives. It helps MCP hosts:
- discover transforms and schemas from
albu-spec; - recommend and validate augmentation pipelines;
- render local batch previews and compare preview runs;
- record concrete feedback such as
too_noisy:high; - export accepted pipelines and review reports.
The server does not execute arbitrary Python, fetch remote images, overwrite datasets, or train models. Local preview
access is bounded by --allowed-root, and generated artifacts are written under --artifact-root.
Quick Start
Run the published server:
uvx --from albumentationsx-mcp albumentationsx-mcp
For local development:
uv sync --all-extras --dev
uv run albumentationsx-mcp
For preview work, scope filesystem access explicitly:
uvx --from albumentationsx-mcp albumentationsx-mcp \
--allowed-root /absolute/path/to/images \
--artifact-root /absolute/path/to/albu-artifacts
Copyable host snippets are in examples. Full host setup is in docs/INSTALL.md.
Host Workflow
After connecting an MCP host:
- Read
albumentationsx://examples/client-smoke. - Call
run_host_smoke_check. - Continue only when
preview_readyis true. - Replace the path in
preview_request_template.request. - Call
validate_preview_requestbefore rendering user-provided paths. - Call
render_preview_batchon a small local image set. - Inspect the contact sheet, then use
adjust_pipeline,compare_preview_runs, andexport_pipeline.
If preview setup fails, read albumentationsx://diagnostics/guide and call diagnose_environment. Troubleshooting
details and remediation_actions are documented in docs/USAGE.md and docs/INSTALL.md.
Capabilities
- Transform search and schema inspection.
- Recipe and pipeline recommendation for classification, detection, segmentation, OCR, and balanced workflows.
- Pipeline validation and explanation before rendering.
- Preview request validation for missing files, outside-root paths, masks, and annotation counts.
- Deterministic single-image and batch previews with contact sheets.
- Preview comparison with
quality_summaryand suggested feedback tags. - Concrete preview feedback, tuning decisions, ranking, dataset scoring, and visual reports.
- Agent workflow resources, prompts, smoke checks, diagnostics, and release-safe contract snapshots.
The public MCP surface is kept stable through reviewed contract snapshots. Compatibility rules are in docs/COMPATIBILITY.md.
Documentation
- docs/INSTALL.md: PyPI, MCP Registry, Claude Desktop, Claude Code, Cursor, Codex, bounded roots.
- docs/USAGE.md: end-to-end MCP host workflow and tool details.
- docs/RECIPES.md: task-specific host recipes.
- docs/DEMO.md: generated preview comparison demo.
- docs/V1_READINESS.md: v1 compatibility and release audit.
- docs/RELEASE.md: PyPI, GitHub Release, and MCP Registry publication process.
- CHANGELOG.md: release history.
- server.json: public MCP Registry metadata.
- evals/golden_mcp_scenarios.yaml: 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-1.6.0.tar.gz.
File metadata
- Download URL: albumentationsx_mcp-1.6.0.tar.gz
- Upload date:
- Size: 285.6 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 |
49b5e1702901f76de84118be21192236c985eb3042499647034bf9dacd66d596
|
|
| MD5 |
1b6e63914d888dbeefcaca403c3043a0
|
|
| BLAKE2b-256 |
a6adf848c0e2c83c60f58cb8ba57d1f68cbca07915546c6ee16a59efe34ec97f
|
File details
Details for the file albumentationsx_mcp-1.6.0-py3-none-any.whl.
File metadata
- Download URL: albumentationsx_mcp-1.6.0-py3-none-any.whl
- Upload date:
- Size: 63.4 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 |
7b6ca96575f90642ce5a959115fd5d9737f31ef8db987eb48d9ae4fc8fca3810
|
|
| MD5 |
4baeebe2549f236660f3813a134871f3
|
|
| BLAKE2b-256 |
9c890ecfe08af2686d789859c4c0dc531831887122986c590cd2cfc2bc313c86
|