Two ways to connect
Both run the same tool catalog against the same Avala API, scoped to what your account can already see.
Hosted server
Enterhttps://mcp.avala.ai/mcp wherever your assistant asks for an MCP server or custom connector, then sign in with your Avala account. Step-by-step instructions for every client are on Use Avala with AI.
Using an API key with the hosted server
Automation, CI pipelines, and clients that cannot open a browser can authenticate with an Avala API key instead of signing in. Send it on every request as either header:"headers": {"X-Avala-Api-Key": "<your key>"} next to the url. The key’s scopes decide which tools are listed and callable.
Local server
The local server runs on your machine with Node.js and talks to the Avala API with your API key. Use it when you need the legacy write catalog (create datasets, trigger exports, manage webhooks) or when your environment cannot reachmcp.avala.ai.
Prerequisites
- Node.js 20 or later
- An Avala API key (generate one in Mission Control under Settings > Security)
Claude Desktop
Open your Claude Desktop configuration file:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor and VS Code
Use the samecommand / args / env block as above in .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code, under "servers"). Both files may be committed to git — add them to .gitignore or reference AVALA_API_KEY from your environment instead of writing the key into the file.
Claude Code
MCP Security Mode
For safety, the local stdio MCP server is read-only by default. Its legacy mutating tools are not registered unless you explicitly enable them with:create_datasetcreate_agent,delete_agentcreate_annotation_issue,update_annotation_issue,delete_annotation_issuecreate_storage_config,test_storage_config,delete_storage_configcreate_webhook,delete_webhookcreate_exportcreate_annotation_pipelineevaluate_qualitycompute_consensusfleet_register_device,fleet_acknowledge_alert
Available MCP Tools
Once connected, the following tools are available to the AI assistant:Workflows
Higher-level tools that compose several API calls, and cross-cutting overviews.Fleet (Preview)
Fleet tools are in preview and may change. They provide read and write access to fleet devices, recordings, events, alerts, and rules.
Tool Definitions
Detailed schemas for each MCP tool. All tools return JSON as text content.list_datasets
Lists all datasets in the workspace. Parameters:dataType(string, optional) — Filter by data type (image,video,lidar,mcap,splat)name(string, optional) — Filter by dataset name (partial match)status(string, optional) — Filter by dataset statusvisibility(string, optional) — Filter authorized workspace datasets byprivate,unlisted, orpublicon supporting servers. A known Unlisted link does not grant workspace access.limit(number, optional) — Maximum number of datasets to returncursor(string, optional) — Pagination cursor from a previous request
get_dataset
Gets details for a specific dataset. Parameters:uid(string, required) — The unique identifier (UUID) of the dataset
list_sequences
Lists sequences for a dataset. Parameters:owner(string, required) — Dataset owner username, handle, or organization slugslug(string, required) — Dataset sluglimit(number, optional) — Maximum number of sequences to returncursor(string, optional) — Pagination cursor from a previous request
get_sequence
Gets a sequence including its embeddedframes array (full LiDAR JSON metadata for every frame).
Parameters:
owner(string, required) — Dataset owner username, handle, or organization slugslug(string, required) — Dataset slugsequenceUid(string, required) — Sequence UUID
preview_curation_candidates
Previews a bounded, read-only set of dataset items or sequences that satisfy one explicit workflow or quality criterion. The response separates selected candidates from completed-Slice membership, missing evidence, and rejected evidence, and returns an opaque cursor when more candidates are available. It never creates a Slice, recomputes quality evidence, or changes workflow state. The API key always needsdatasets.read. Criteria that inspect project results, quality evidence, or an exclusion Slice also require the corresponding projects.read, tasks.read, qc.read, or slices.read scopes. Consensus criteria currently fail closed as insufficient evidence until scores include immutable run provenance.
Parameters:
datasetUid(string, required) — Dataset UUIDunit(string, required) — Candidate unit:dataset_itemorsequenceqcDimension(string, required) — Evidence dimension:sequence_workflow,result_status,object_qc_status,consensus, ordeliverablerequiredState(string, optional) — Required state for workflow, result, object-QC, or deliverable criteriaminimumConsensus(number, optional) — Minimum score for a consensus criterionprojectUid(string, optional) — Project UUID for result-status or consensus evidencetaskName(string, optional) — Task type for result, object-QC, or consensus evidencedeliverableId(string, optional) — Deliverable identifier from the dataset’s active workflow revisiondeliverableStateField(string, optional) — Deliverable field to compare:workflow_state,approval_state, orapproval_outcomeexcludeSliceUid(string, optional) — Completed Slice whose existing membership should be excludedlimit(number, optional) — Maximum candidate identifiers to return (default 25, max 100)cursor(string, optional) — Opaque cursor returned by a previous request using the same dataset and criterion
get_frame
Gets a single frame’s LiDAR JSON metadata — the same blob Mission Control loads. Useful for post-ingest validation: confirm camera model, intrinsics, extrinsics, and device pose without opening the UI. Parameters:owner(string, required) — Dataset owner username, handle, or organization slugslug(string, required) — Dataset slugsequenceUid(string, required) — Sequence UUIDframeIdx(number, required) — Zero-based frame index within the sequence
get_calibration
Gets the canonicalized per-camera rig for a sequence, derived fromframe[0].
Parameters:
owner(string, required) — Dataset owner username, handle, or organization slugslug(string, required) — Dataset slugsequenceUid(string, required) — Sequence UUID
get_dataset_health
Read-only ingest/health snapshot for a dataset. Intended for programmatic validation after upload. Parameters:owner(string, required) — Dataset owner username, handle, or organization slugslug(string, required) — Dataset slug
get_dataset_readiness
Checks whether a dataset satisfies the prerequisites of a selected photoreal-reconstruction recipe. The response contains namedpass, fail, insufficient_evidence, or skipped checks instead of a single readiness score or boolean.
You must declare which stored calibration artifacts the recipe requires. The health endpoint cannot distinguish a sensor that is absent from one that is present but uncalibrated, so the tool never guesses. A missing required calibration blocks reconstruction; a calibration the recipe does not require is reported as skipped.
Dataset presence is evaluated using the server’s actual media shape. Sequence datasets must contain frames. When requiredCalibrations is empty, a non-sequence dataset can instead satisfy the presence check with one or more media assets. Any recipe that requires stored calibration remains sequence-only because the health endpoint exposes those artifacts per sequence.
Parameters:
owner(string, required) — Dataset owner username, handle, or organization slugslug(string, required) — Dataset slugrequiredCalibrations(array, required) — Use["camera", "lidar"]for a calibrated multisensor rebuild,["camera"]for a calibrated camera-only rig, or[]only when the selected recipe estimates calibration from its input and may accept non-sequence media assets
list_capture_submissions
Lists a dataset’s Physical AI capture submissions with media metadata, human review state, machine acceptance summary, and campaign task context. Provider-signed playback and thumbnail URLs are intentionally omitted so bearer capabilities never enter model-provider logs or conversation transcripts. Parameters:datasetUid(string, required) — Dataset UUIDstatus(string (pending,accepted,rejected,overlooked), optional) — Filter by result statuslimit(number, optional) — Maximum number of results to returncursor(string, optional) — Pagination cursor from a previous request
get_capture_submission
Gets one Physical AI capture submission by result ID, including media metadata, reviewer decision, machine acceptance summary, and campaign task context. Withdetail: "full", provider-signed media URLs become opaque playback and thumbnail handles.
Parameters:
resultUid(string, required) — Capture result UUID
list_capture_campaigns
Lists every Physical AI capture campaign feeding a dataset, oldest first. Each campaign includes its task descriptions and capture config, mutually exclusive slot-progress buckets, and acanManage authorization hint. The top-level progress is the roll-up across every campaign feeding the dataset; datasets without campaigns return an empty list and zero counts.
Parameters:
datasetUid(string, required) — Dataset UUID
list_projects
Lists all annotation projects. Parameters:limit(number, optional) — Maximum number of projects to returncursor(string, optional) — Pagination cursor from a previous request
get_project
Gets details for a specific project. Parameters:uid(string, required) — The unique identifier (UUID) of the project
create_dataset
Creates a new dataset for annotation. Parameters:name(string, required) — Display name for the datasetslug(string, required) — URL-friendly identifier for the datasetdataType(string, required) — Type of data:image,video,lidar, ormcapvisibility(string, optional) — Dataset visibility:private,public, orunlistedon supporting servers (default:private). Unlisted allows known-link previews, not broad discovery or extra workspace access. Initial manual uploads remain private-only.createMetadata(boolean, optional) — Whether to create dataset metadata (default: true)ownerName(string, optional) — Dataset owner username or email
create_export
Triggers a new export for a dataset or project. Parameters:project(string, optional) — Project UID to exportdataset(string, optional) — Dataset UID to export
get_export_status
Checks the status of an export. Parameters:uid(string, required) — The unique identifier (UUID) of the export
list_exports
Lists all exports in the workspace. Parameters:limit(number, optional) — Maximum number of exports to returncursor(string, optional) — Pagination cursor from a previous request
resolve_asset_handle
Exchanges an opaque handle for a fresh asset URL. The MCP server first requests confirmation through protocol elicitation and verifies a short-lived challenge bound to that exact handle. It then reads the original resource again with your current credential before returning the URL. Unsupported, declined, forged, or cross-handle replayed confirmation releases no URL; revoked resource access also fails.expiresAt is null when the storage provider does not declare an expiry in the URL.
Your MCP client must support elicitation. Handles expire after 15 minutes and contain no URL or API credential.
Parameters:
handle(string, required) — An opaqueah_...handle returned by another MCP tool
get_workspace_stats
Gets a quick check of workspace contents (datasets, projects, exports). Parameters: None Example response:list_tasks
Lists tasks with optional filtering by project or status. Parameters:project(string, optional) — Filter by project UIDstatus(string, optional) — Filter by task statuslimit(number, optional) — Maximum number of tasks to returncursor(string, optional) — Pagination cursor from a previous request
get_task
Gets detailed information about a specific task. Parameters:uid(string, required) — The unique identifier (UUID) of the task
list_agents
Lists all automation agents configured in your workspace. Parameters:limit(number, optional) — Maximum number of agents to returncursor(string, optional) — Pagination cursor from a previous request
get_agent
Gets detailed information about a specific automation agent. Parameters:uid(string, required) — The unique identifier (UUID) of the agent
create_agent
Creates a new automation agent with event subscriptions and a callback URL. Parameters:name(string, required) — Name of the agentevents(string[], required) — List of event types the agent subscribes tocallbackUrl(string, optional) — URL to receive event callbacksdescription(string, optional) — Description of the agentproject(string, optional) — Project UID to scope the agent totaskTypes(string[], optional) — Task types the agent handles
delete_agent
Deletes an automation agent by its UID. Parameters:uid(string, required) — The unique identifier (UUID) of the agent to delete
list_webhooks
Lists all webhook subscriptions in your workspace. Parameters:limit(number, optional) — Maximum number of webhooks to returncursor(string, optional) — Pagination cursor from a previous request
create_webhook
Creates a new webhook subscription for specific events. Parameters:targetUrl(string, required) — URL to receive webhook deliveriesevents(string[], required) — List of event types to subscribe to
delete_webhook
Deletes a webhook subscription by its UID. Parameters:uid(string, required) — The unique identifier (UUID) of the webhook to delete
list_storage_configs
Lists all storage configurations in your workspace. Parameters:limit(number, optional) — Maximum number of storage configs to returncursor(string, optional) — Pagination cursor from a previous request
create_storage_config
Creates a new storage configuration (S3 or Google Cloud Storage). Parameters:name(string, required) — Name for the storage configurationprovider(string, required) — Storage provider type (s3orgcs)s3BucketName(string, optional) — S3 bucket names3BucketRegion(string, optional) — S3 bucket regions3BucketPrefix(string, optional) — S3 key prefixs3IsAccelerated(boolean, optional) — Enable S3 Transfer AccelerationgcStorageBucketName(string, optional) — Google Cloud Storage bucket namegcStoragePrefix(string, optional) — Google Cloud Storage prefix
test_storage_config
Tests connectivity for a storage configuration. Parameters:uid(string, required) — The unique identifier (UUID) of the storage config to test
delete_storage_config
Deletes a storage configuration by its UID. Parameters:uid(string, required) — The unique identifier (UUID) of the storage config to delete
inspect_customer_qc_context
Inspect workflow metadata for an enrolled nonstaff customer organization editor’s exact cuboid deliverable. Requires datasets.read AND qc.read; pilot enrollment is default-off, and enrollment, current role, and tenant authorization remain server-enforced. Always returns decisionReady=false and all blockers. Available decisions are workflow transitions, not approval authority. Hashes describe workflow metadata only: no annotation revision fence, annotation bytes, media, proposal, approval receipt, or QC mutation. Unavailable targets fail without a legacy-route fallback. Parameters:organizationUid(string, required) — Canonical organization UUID; enrollment remains server-controlleddatasetUid(string, required) — Canonical UUID of the dataset in that organizationsequenceUid(string, required) — Canonical UUID of the sequence in that datasetdeliverableId(string, required) — Pilot deliverable identifier; only ‘cuboids’ is supported
list_quality_targets
Lists quality targets configured for a specific project. Parameters:projectUid(string, required) — The unique identifier (UUID) of the projectlimit(number, optional) — Maximum number of quality targets to returncursor(string, optional) — Pagination cursor from a previous request
get_result_acceptance
Gets the machine acceptance verdict for one capture submission, including each criterion outcome, blocking reasons, unmeasured checks, engine and policy versions, and the measured signals behind the decision. The endpoint is tenant-scoped and returns 404 when the result is unscored or inaccessible. Parameters:resultUid(string, required) — The unique identifier (UUID) of the capture result
get_campaign_acceptance_summary
Gets machine and reviewer acceptance rates for a capture campaign, plus agreement, device-tier and operator breakdowns, and the most common rejection reasons. Parameters:projectUid(string, required) — The unique identifier (UUID) of the campaign project
get_campaign_acceptance_coverage
Gets coverage occupancy across captures that reviewers accepted. Cells are ordered with the thinnest coverage first, and each axis reports captures with no value asunfilled.
Parameters:
projectUid(string, required) — The unique identifier (UUID) of the campaign projectaxes(string, optional) — Comma-separated coverage axes, for examplesubject,environment,device_tier
evaluate_quality
Evaluates all quality targets for a project and returns their current status. Parameters:projectUid(string, required) — The unique identifier (UUID) of the project to evaluate
get_consensus_summary
Gets a consensus summary for a project including mean/median scores and distribution. Parameters:projectUid(string, required) — The unique identifier (UUID) of the project
compute_consensus
Triggers consensus computation for a project. Parameters:projectUid(string, required) — The unique identifier (UUID) of the project
list_organizations
Lists all organizations you are a member of. Parameters:limit(number, optional) — Maximum number of organizations to returncursor(string, optional) — Pagination cursor from a previous request
get_organization
Gets detailed information about a specific organization. Parameters:slug(string, required) — The slug identifier of the organization
list_slices
Lists slices for an owner (user or organization). Parameters:owner(string, required) — Owner name (user or organization slug)limit(number, optional) — Maximum number of slices to returncursor(string, optional) — Pagination cursor from a previous request
get_slice
Gets detailed information about a specific slice. Parameters:owner(string, required) — Owner name (user or organization slug)slug(string, required) — The slug of the slice
list_annotation_issues_by_sequence
Lists all annotation issues for a specific sequence. Parameters:sequenceUid(string, required) — The UUID of the sequencedatasetItemUid(string, optional) — Filter by dataset item UUIDprojectUid(string, optional) — Filter by project UUID
create_annotation_issue
Creates a new annotation issue on a sequence. Parameters:sequenceUid(string, required) — The UUID of the sequencetoolUid(string, required) — UUID of the annotation toolproblemUid(string, required) — UUID of the problem typedatasetItemUid(string, optional) — Dataset item UUIDprojectUid(string, optional) — Project UUIDpriority(string, optional) — Priority level:lowest,low,medium,high,highestseverity(string, optional) — Severity level:critical,moderatedescription(string, optional) — Issue descriptionwrongClass(string, optional) — Incorrect class labelcorrectClass(string, optional) — Correct class labelobjectUid(string, optional) — UUID of the annotation objectshouldReAnnotate(boolean, optional) — Whether to re-annotateshouldDelete(boolean, optional) — Whether to delete the annotationframesAffected(string, optional) — Frames affected by the issue
update_annotation_issue
Updates an existing annotation issue (status, priority, etc.). Parameters:sequenceUid(string, required) — The UUID of the sequenceissueUid(string, required) — The UUID of the annotation issuestatus(string, optional) — Status:open,relabeling,in_review,completed,cant_reproduce,awaiting_feedback,no_action_takenpriority(string, optional) — Priority level:lowest,low,medium,high,highestseverity(string, optional) — Severity level:critical,moderatedescription(string, optional) — Updated descriptiontoolUid(string, optional) — UUID of the annotation toolproblemUid(string, optional) — UUID of the problem typewrongClass(string, optional) — Incorrect class labelframesAffected(string, optional) — Frames affected by the issue
delete_annotation_issue
Deletes an annotation issue. Parameters:sequenceUid(string, required) — The UUID of the sequenceissueUid(string, required) — The UUID of the annotation issue to delete
list_annotation_issues_by_dataset
Lists all annotation issues for a dataset. Parameters:owner(string, required) — Dataset owner usernamedatasetSlug(string, required) — Dataset slugsequenceUid(string, optional) — Filter by sequence UUID
get_annotation_issue_metrics
Gets aggregated metrics for annotation issues in a dataset (status/priority/severity counts, close times). Parameters:owner(string, required) — Dataset owner usernamedatasetSlug(string, required) — Dataset slugsequenceUid(string, optional) — Filter by sequence UUID
list_qc_tools
Lists available QC annotation tools for a given dataset type. Parameters:datasetType(string, required) — The dataset type (e.g.,lidar,image,video)
fleet_list_devices
Lists fleet devices with optional filters. Parameters:status(string, optional) — Filter by device status (online,offline,maintenance)type(string, optional) — Filter by device typelimit(number, optional) — Maximum number of devices to returncursor(string, optional) — Pagination cursor
fleet_get_device
Gets detailed information about a specific fleet device. Parameters:uid(string, required) — The unique identifier of the device
fleet_list_recordings
Lists fleet recordings with optional filters. Parameters:device(string, optional) — Filter by device UIDstatus(string, optional) — Filter by recording statuslimit(number, optional) — Maximum number of recordings to returncursor(string, optional) — Pagination cursor
fleet_get_recording
Gets detailed information about a specific recording. Parameters:uid(string, required) — The unique identifier of the recording
fleet_list_events
Lists fleet events with optional filters. Parameters:recording(string, optional) — Filter by recording UIDdevice(string, optional) — Filter by device UIDtype(string, optional) — Filter by event typeseverity(string, optional) — Filter by severitylimit(number, optional) — Maximum number of events to returncursor(string, optional) — Pagination cursor
fleet_list_alerts
Lists fleet alerts with optional filters. Parameters:status(string, optional) — Filter by alert status (open,acknowledged,resolved)severity(string, optional) — Filter by severity (info,warning,error,critical)device(string, optional) — Filter by device UIDrule(string, optional) — Filter by rule UIDlimit(number, optional) — Maximum number of alerts to returncursor(string, optional) — Pagination cursor
fleet_list_rules
Lists fleet rules with optional filters. Parameters:enabled(boolean, optional) — Filter by enabled statuslimit(number, optional) — Maximum number of rules to returncursor(string, optional) — Pagination cursor
fleet_register_device
Registers a new fleet device. Parameters:name(string, required) — Name of the devicetype(string, required) — Type of the devicefirmwareVersion(string, optional) — Firmware versiontags(string[], optional) — Tags for the device
fleet_acknowledge_alert
Acknowledges a fleet alert. Parameters:uid(string, required) — The unique identifier of the alert to acknowledge
get_workspace_overview
Get a high-level overview of the workspace — organizations, recent datasets, recent projects, and recent exports. Use when a user first connects or asks “what do I have?”. Parameters: Noneget_project_quality_summary
Get a quality picture for a project — project details, quality-target breach status, and consensus scores. Up to 50 quality targets are returned; the result includeshasMore when additional targets were not included.
qualityTargets.returnedCount counts the returned page. qualityTargets.total remains a deprecated alias for one release; neither field is a full-project total when hasMore is true.
Parameters:
projectUid(string, required) — The unique identifier (UUID) of the project
get_fleet_health
Get a fleet health overview — bounded device, alert, and recording probes (up to 100 devices, 100 alerts, and 20 recordings). Each section includeshasMore when its result is incomplete.
Parameters:
deviceType(string, optional) — Optional filter by device type
create_annotation_pipeline
Create a dataset and optionally trigger an export for a project. The dataset is always created first; if the export step fails, the response includes the dataset that was created and the export error so nothing is silently lost. (requiresAVALA_MCP_ENABLE_MUTATIONS=true)
Parameters:
name(string, required) — Display name for the new datasetslug(string, required) — URL-friendly identifier for the new datasetdataType(string, required) — Type of data: ‘image’, ‘video’, ‘lidar’, ‘mcap’, or ‘splat’projectUid(string, optional) — If provided, an export is created for this project after the dataset is created
Recipes
Multi-step workflows you can run through natural language. Each recipe shows the tool calls the assistant makes behind the scenes.Recipe 1: Dataset health check
Ask your assistant: “Give me a health check on my workspace — how many datasets do I have, and which ones have the most items?” Step 1 — The assistant callsget_workspace_stats to get the overview.
list_datasets with limit: 50 to fetch all datasets.
Step 3 — The assistant sorts the results by itemCount and presents a ranked summary:
You have 14 datasets. The three largest are:
- Warehouse Cameras — 34,200 items (image)
- Urban Driving Q1 — 12,450 items (lidar)
- Parking Lot Footage — 8,900 items (video)
Recipe 2: Export and download
Ask your assistant: “Export the Urban Driving Q1 project and let me know when it’s ready.” Step 1 — The assistant callslist_projects to find the project UID matching “Urban Driving Q1.”
Step 2 — The assistant calls create_export with the project UID.
get_export_status until the status changes to completed.
resolve_asset_handle with downloadAsset.handle and provides the fresh download link.
Your export is ready (50 MB). Download it here: https://api.avala.ai/exports/.../download
Recipe 3: Quality audit across projects
Ask your assistant: “Evaluate quality targets for all my projects and flag any that are failing.” Step 1 — The assistant callslist_projects to retrieve all projects.
Step 2 — For each project, the assistant calls evaluate_quality with the project UID.
Step 3 — The assistant aggregates the results and highlights failures:
5 of 7 projects are passing all quality targets. Two need attention:
- Sidewalk Segmentation — “Label accuracy” target at 88% (threshold: 95%)
- Fleet Camera Review — “Consensus score” target at 0.72 (threshold: 0.85)
Recipe 4: Fleet device monitoring
Ask your assistant: “Show me all fleet alerts that haven’t been acknowledged yet, grouped by severity.” Step 1 — The assistant callsfleet_list_alerts with status: "open".
Step 2 — The assistant groups and formats the response:
Critical (1)Step 3 — You can follow up: “Acknowledge all the warning-level alerts.” The assistant callsWarning (2)
- Dock Camera 3 — “Device offline for more than 24 hours” (since Mar 18)
- Forklift Sensor Unit 12 — “Device temperature exceeded threshold (72C)” (since Mar 19)
- Rooftop LiDAR 1 — “Low disk space (< 5%)” (since Mar 19)
fleet_acknowledge_alert for each warning alert UID.
Recipe 5: Annotation issue triage
Ask your assistant: “For this dataset, find the two oldest currently open critical annotation issues created by my reference timestamp, and compute their ages at that timestamp. Inspect each issue’s reported sequence, project, object and frames, then its current cuboids workflow context. Report blockers; do not change any work.” Supply the exact owner and dataset slug, a UTC age-reference timestamp, and the canonical organization UUID for your enrolled pilot. The credential needsdatasets.read and qc.read. Enrollment is default-off and server-controlled; an organization UUID is not inferred from an owner slug or a project UUID.
Step 1 — Call list_datasets and follow every nextCursor with unchanged filters until the returned ownerName and slug match the supplied owner/slug. Retain the returned dataset UUID and use ownerName as the issue tool’s owner argument; do not substitute a project UUID or a similarly named dataset. A denied source is an error, not an empty collection.
Step 2 — Call list_annotation_issues_by_dataset with owner, datasetSlug, and detail: "full". This tool exposes neither status/severity filters nor pagination. Filter its returned items locally to current status: "open", severity: "critical", closedAt: null, and createdAt on or before your reference timestamp. Sort oldest first and select two. Compute ages from createdAt to the reference timestamp. This uses current issue status, not reconstructed historical status; a report closed after the reference date is still excluded if it is closed now.
Step 3 — For each selected issue with a non-null sequenceUid, call list_annotation_issues_by_sequence with that UID and detail: "full"; include projectUid: project.uid only when project is non-null. Match the exact issue UID and retain its dataset-item, object and frame identifiers, including nulls. If the issue disappears or its relevant fields change, report that change instead of treating the earlier result as current evidence. These are issue-report fields, not independent validation of the underlying annotations. Retain item-scoped reports with sequenceUid: null in the triage result, but mark their sequence inspection and workflow context unavailable; do not invent a sequence, substitute the item UUID, or drop the report.
Step 4 — For each issue whose exact sequence evidence was confirmed in step 3, call inspect_customer_qc_context with the supplied organizationUid, the dataset UUID from step 1 as datasetUid, the issue’s non-null sequenceUid, and deliverableId: "cuboids". Keep each result tied to that exact target. Do not reuse another sequence’s context. If the tool is unavailable or a call fails, report that target’s context as unavailable; do not replace it with an empty result, reuse an earlier success, or fall back to a write tool.
Step 5 — Present the issue identifiers and ages separately from the current workflow states, workflow revision, metadata hash, decisionReady, and every blocker. Each call is a separate observation, not an atomic annotation snapshot. The age-reference timestamp does not date the workflow observation. availableDecisions lists configured transitions; even an approved outcome there grants no approval authority. The inspection contract always returns decisionReady: false. Metadata hashes are not annotation revision fences, approval receipts, or proof that anyone inspected the annotations.
This recipe stops at read-only triage. It does not resolve reports, approve/reject annotations, submit proposals, or establish that a customer QC decision is safe to execute.
Example Prompts
Here are some natural-language prompts you can use with any MCP-compatible client:Troubleshooting
AVALA_API_KEY not set
The MCP server exits immediately with error code 1 if the AVALA_API_KEY environment variable is missing. Make sure the key is set in the env block of your MCP config or exported in your shell before launching the server.
Mutation tools not appearing
If local stdio tools likecreate_export, create_agent, or fleet_register_device are missing from the tool list, you need to set AVALA_MCP_ENABLE_MUTATIONS=true in the server environment. Add it to the env block in your MCP configuration file:
AVALA_MCP_ENABLE_MUTATIONS; reconnect after changing your credential or its scopes.
npx not found or wrong Node.js version
The MCP server requires Node.js 20 or later. If you see npx: command not found or module syntax errors, verify your Node.js version:
Stale cached MCP server
If you recently updated the@avala-ai/mcp-server package but still see old behavior or missing tools, npx may be serving a cached version. Force a fresh install:
API key invalid or expired
If tool calls return401 Unauthorized, your API key may be invalid, expired, or revoked. Generate a new key in Mission Control under Settings > Security and update your MCP configuration.