
Avala
io.github.avala-ai由 GitHub 账号 avala-ai 发布v1.0.0更新于 Oct 24, 2026
Read Physical AI datasets, projects, fleet and quality data. Requires authorized Avala access.
概览
Avala 托管 MCP 服务器让助手通过租户隔离的 Avala API 读取 Physical AI 数据集、项目、设备、质量与员工运营数据。
- 可以做什么
- 列出并查看数据集、序列、帧、标定、采集健康、采集活动与提交,以及数据切片和导出(含创建标注导出)。列出并查看项目、自动化代理、Webhook 订阅、存储配置和组织及成员。查看质量目标、单次采集判定证据、活动验收产出与共识评分,并管理标注问题。管理设备、录制、事件、告警和规则,并在确认后解析不透明的媒体或导出句柄。运行设备健康、项目质量、工作区概览和标注流水线创建等组合工作流。仅限员工的工具提供受限的生产监控与基于提案的运营操作。
- 适用场景
- 当助手需要在不离开对话的情况下查看或汇报 Avala Physical AI 数据时使用,例如数据集与采集健康、质量与验收证据、设备状态或组织与项目结构。员工账号还可用它做受限的生产监控和基于提案的运营操作。
- 运行要求
- 远程 Streamable HTTP 端点 mcp.avala.ai/mcp,需通过 OAuth 登录 Avala 账号;可用范围取决于组织权限和 MCP 授权,员工工具需单独的员工权限。另有本地 npm 包(@avala-ai/mcp-server),需要 Node.js 20+ 和 AVALA_API_KEY 环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Avala,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.avala-ai%2Favala/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"avala": {
"type": "http",
"url": "https://mcp.avala.ai/mcp"
}
}
}README
@avala-ai/mcp-server
Model Context Protocol (MCP) server for the Avala API. It lets agents such as Claude and Codex manage the Avala Physical AI data loop through the same tenant-safe APIs used by the platform.
Connect to Avala's hosted MCP
Use https://mcp.avala.ai/mcp as a remote Streamable HTTP server in an
OAuth-capable MCP client. Sign in with your Avala account when prompted. Access
requires the corresponding Avala organization permissions and MCP grants; a
registry listing does not grant access. Staff tools require separate staff access.
Ask your Avala administrator if sign-in succeeds but the required tools are missing.
For VS Code, add this to .vscode/mcp.json, start the server, and complete sign-in:
Begin with a read, such as listing the projects available to your account. Tool availability follows your credential scopes and the deployed server version. The initial registry listing describes read capabilities; it does not promise proposal creation, approval, or execution. Never commit credentials to client configuration files. See the setup guide for additional clients and API-key configuration.
The hosted listing metadata lives in server.json. Its version
tracks registry metadata independently of the npm package and deployed image.
Installation
Requires Node.js 20+.
First-party operations skill
The source tree includes avala-physical-ai-operations
and packages its complete directory under skills/ in the MCP npm artifact.
It guides staff through bounded monitoring, exact-target inspection, independently
approved dispatch proposals, and separate execution/current-state verification.
It is not a customer QC approval skill and does not grant staff access or scopes.
Release availability: this is new package content, not present in the older
0.7.4 npm artifact. Use a reviewed release that contains skills/, or test the
locally built SDK and MCP tarballs together. Do not infer publication from a
source checkout or assume the hosted MCP runs the same version.
After installing that MCP package into a local npm project, explicitly copy the whole skill directory into your agent's skill location. For a repository-local Codex skill, run from the project root:
The existence checks stop a reinstall from overwriting a customized skill.
Review and back up an existing copy before replacing it. Preserve references/
and agents/, not just SKILL.md. npm installation itself does not install an
agent skill or change client configuration. Other skill-capable clients can use
the same complete directory in their documented skill location.
Connect the hosted MCP separately as described above. Start with: “Use $avala-physical-ai-operations to inspect the current dispatch state for this exact batch; report evidence gaps and propose next steps without changing it.” Inspect live tool metadata first: unavailable tools or scopes are a deployment or access gap. Skill installation does not establish hosted readiness, human approval, successful assignment, or the original customer QC acceptance flow.
For contributors, skills/ is the canonical source and travels with the SDK
mirror. Catalog tests run in both repositories; monorepo tests additionally
check the local discovery copy. bun run test:package builds both packages,
installs their actual npm tarballs outside the workspace, copies the complete
skill into a disposable agent directory, and checks content and overwrite refusal.
It does not publish or call the Avala API.
To check an already published stable release from a source checkout, run
bun run test:release X.Y.Z from this package directory, replacing X.Y.Z
with the exact reviewed version. Tags, ranges, prereleases and omitted versions
are refused; the command never selects latest, bumps a version or publishes.
It downloads that SDK/MCP pair from the public npm registry, installs only the
MCP tarball into an isolated consumer (so npm must resolve its actual SDK edge),
then checks matching package/protocol versions, the complete skill and default
read catalog. Registry skill bytes are compared with that downloaded artifact,
not potentially newer checkout files. The output records version, artifact
integrities and actual Node version. npm lifecycle scripts are disabled, inherited
credentials are excluded, and only owned temporary files are removed.
A nonzero exit is a failed release check, including a missing version, a broken
dependency, missing skill or unavailable registry. In particular, the old 0.7.4
artifact must not pass this operations-release check. Successful installation and
catalog discovery do not establish hosted authorization, provenance attestation,
API behavior or real Operations/customer-QC acceptance.
Setup
Set your API key:
Local stdio MCP exposes only reads unless you explicitly enable its legacy mutation catalog:
Claude Desktop
Add to your claude_desktop_config.json:
Claude Code
Direct Usage
Hosted mode (Streamable HTTP)
The package also ships a stateless Streamable HTTP entry, used by Avala's hosted deployment:
POST /mcp— the MCP endpoint. Every request carries eitherX-Avala-Api-Key: <key>, a 40-hex Avala key asAuthorization: Bearer, or an Auth0 OAuth token issued for the exact MCP resource. OAuth subject tokens are verified at this boundary and exchanged through RFC 8693; only the resulting API-audience token reaches Avala's REST API.GET /.well-known/oauth-protected-resource/mcp— public RFC 9728 protected-resource metadata. Authentication failures point clients here throughWWW-Authenticate, enabling OAuth-capable clients to discover Auth0 automatically.GET /— public endpoint/discovery summary.GET /healthz— unauthenticated liveness probe.- Dual protocol: current clients use the stateless 2026-07-28 request
envelope and
Mcp-Method/Mcp-Namerouting headers. The same factory retains the SDK's stateless 2025 compatibility path for existing clients. - Proposal-backed dispatch: use
list_workforce_assignment_candidates(workforce.writeORoperations.proposal.read), thencreate_operation_proposal,evaluate_operation_proposal,request_operation_approval,get_operation_proposal,execute_approved_operation,verify_operation, andlist_operation_events. Each lifecycle tool declares its exactoperations.*scope. Independent approval is available only through the returned same-origin Django adminapproval.reviewPath; MCP cannot approve, and the requester cannot self-approve. Any credential with one of the five proposal scopes is proposal-only for writes, including credentials that also carry legacy write scopes. Direct assignment/cancellation tools have been removed. Execution queues a backend task and does not prove success; preserve UID/version and verify all current observations. Historicalverifiedmay coexist with currentchanged, and productive activity remains unmeasured.reverse_operationonly records a BLOCKED child because progress observability is unavailable. - Read-first with an exact legacy action allowlist: hosted MCP ignores
AVALA_MCP_ENABLE_MUTATIONS. Its reviewed writes arechange_workforce_group_membership,change_workforce_batch_allocation,create_workforce_batch,set_workforce_batch_priority,set_workforce_batch_status,set_workforce_sequence_status, visible only to a staff-privileged credential carryingworkforce.writeand none of the proposal scopes. Each action requires MCP elicitation, encrypted confirmation state bound to the exact tool, arguments, credential, expiry and idempotency key, exact expected state, and provider-side MCP audit provenance. Every successful response includes an immutableoperationEventUid; preserve it and callget_workforce_operation_eventbefore reporting the effect as verified. When a receipt UID is unknown,list_workforce_operation_eventssearches a bounded past window with explicit per-ledger storage coverage. Both receipt reads return only opaque targets, fixed before/after effects, provenance-presence booleans, and an explicitcomplete,partial, orunavailableverification status—never actor identity, reason/client text, raw changes, names, URLs, payloads, pay, rankings, or composite scores. Batch creation accepts only a bounded sequence-scoped unit plan, defaults to explicit allocated staffing, and always starts unavailable; the server derives coworker routes and rejects arbitrary URLs or configuration. Sequence inspection returns only opaque IDs, workflow state, observation tokens, and authorized next edges—never sequence contents or workflow definitions. Current dispatch health reports only present released-to-claimable state and includes an exact receipt for its sampled server observation; an unavailable receipt leaves the live snapshot usable but prevents claiming it was durably recorded. Historical dispatch observations expose those recorded states over bounded windows without pretending sparse, read-triggered samples are continuous telemetry; absent rows do not prove health or unchanged state, and current context is not historical context. Historical dispatch outcomes separately report first database-observed release, first recorded anonymous server-generated queue visibility, and earliest recorded post-release claim, with explicit release and queue-storage gaps. Queue evidence proves neither client receipt nor earliest possible visibility, and historical blocker attribution is never inferred from current state. The exact-journey training-cohort read joins current stored enrollment/completion and latest durable completed-step evidence to current qualifying production-result state. Learning enrollment, progress, and practice data remains authoritative atlearning.avala.ai(Vercel/Supabase); Django only supplies the bounded join to production evidence. For returned members without observed current qualifying output, the same read includes per-exercise current-curriculum outcome counts and positive load-failure diagnostics. Failure without pass is unresolved recorded evidence—not causal dropoff, actual stall, skill, intent, or ranking—and absence of a load-failure row does not prove success. Aggregate stable exercise step UIDs across every unchanged cursor page before any global practice claim. The read explicitly excludes deleted/overwritten enrollment and practice-row history, historical payouts, sequence results, prompts, answers, scores, raw payloads, and browser/build labels. Its page summaries are never presented as global unless the provider marks reconciliation complete. The exact-coworker journey read joins account readiness, Learning, task access, and non-practice production only for a caller-supplied coworker UID; it exposes a safe label and evidence-backed diagnosis while excluding contacts, provider identities, KYC, pay, and customer payloads, and it propagates joined-provider failures instead of manufacturing zeroes. Unit inspection never exposes coworker identity; write-scoped group discovery returns stable group UIDs, internal labels, and aggregate membership readiness without member rows or live-capacity claims. The separate member roster returns only opaque coworker UIDs, safe first-name/fallback labels, and active, approved, and active-work booleans—never contact/profile data, permissions, pay, performance, customer payloads, or work details. Exact-batch activity monitoring returns opaque coworker IDs plus current assignment state and raw bounded activity only; it never exposes identity fields, work details, rankings, rates, or a composite performance score.change_workforce_group_membershiprequires every exact field frompreview_workforce_group_membership_impact, two explicit global/capability acknowledgements, and separate human approval; it refuses known no-ops and removals blocked by active target-group work. Global group membership may affect work eligibility and platform capabilities beyond the listed production lines. Batch allocation is the narrower scheduling control: the staffing roster and impact preview expose only opaque IDs, readiness, fixed counts, and raw organization-scoped outcomes, andchange_workforce_batch_allocationnever changes global group qualification. Candidate discovery never returns a ranking, composite score, profile, customer payload, or pay data. - Session and station monitoring:
get_workforce_session_monitoringandget_workforce_station_monitoringrequire staff access plusworkforce.read. Session monitoring acceptsendedFrom/endedBeforeas a past half-open window of at most 31 days and counts endings byended_at; missing historical end times stay unknown. Its definition counts span all projects and sample at most 1000 newest-created rows per status; falsestatusCountsCompletemeans lower bounds, and window completeness requires both terminal statuses complete. Station monitoring counts only retained SessionTask links: recovery can delete links, historical coverage is incomplete, and cross-station counts are not additive. Station reads sample at most 1000 links; falsecountsCompletemeans lower bounds, andunknownStatusTaskLinkspreserves sampled unknown statuses. Both use bounded UID pages (limit1–10, default 5; preserve filters withnextCursor). Neither establishes completed annotation throughput, upload/acceptance, billing, safe reassignment, Redis queue visibility, or infrastructure health. - Coworker queue-output evidence:
get_workforce_coworker_reliabilityis a pseudonymous,workforce.write-scoped staff read. It separates sampled no-work observations from sampled work-available/no-output observations, refuses incomplete storage windows, and explicitly does not claim complete attendance, scheduled availability, intent, or deliberate idleness. - Asset handles: reads return short-lived opaque handles instead of provider-signed media and export URLs.
resolve_asset_handleuses MCP elicitation, verifies a short-lived server-issued confirmation challenge bound to the exact handle, then re-fetches the resource with the current credential. Unsupported, declined, forged, or cross-handle replayed confirmation releases no URL. - Browser
Originvalidation applies to/mcp; public liveness and discovery routes contain no credentialed functionality.
Hosted operators must configure AVALA_MCP_INTERNAL_CLIENT_SECRET, AVALA_MCP_OAUTH_RESOURCE, AVALA_MCP_OAUTH_ISSUER, AVALA_MCP_OAUTH_API_AUDIENCE, AVALA_MCP_OAUTH_CLIENT_ID, AVALA_MCP_OAUTH_CLIENT_SECRET, and the space-separated AVALA_MCP_OAUTH_SCOPES. For proposal-backed staff operations, advertise mcp.staff_access, workforce.read, operations.proposal.read, operations.proposal.create, operations.approval.request, operations.execution.request, and operations.verification.read. Auth0 still requires the admin-assigned role and Django still requires is_staff=True; advertising scopes never grants them to customers. Omitting a required scope makes its tools undiscoverable or causes 403 responses. workforce.read supplies bounded production monitoring and journey evidence; operations.proposal.read also permits assignment-candidate discovery without workforce.write.
Include workforce.write only for deployments supporting separate legacy staff credentials that need immutable operation receipts, internal group discovery, group and batch staffing rosters, exact-batch activity, impact previews, or the six reviewed group-membership, batch-allocation, batch-creation, batch-priority, batch-lifecycle and sequence-lifecycle actions. Proposal-bearing credentials cannot use those legacy writes even when they also carry workforce.write. Direct assignment/deassignment tools are removed. PORT, AVALA_BASE_URL, and comma-separated ALLOWED_ORIGINS remain optional. Confidential values belong in the deployment secret store, never environment templates or source control.
The pseudonymous queue-output comparison also requires workforce.write; omit that scope when a deployment should not expose person-level operational evidence.
Unlike stdio mode, no AVALA_API_KEY environment variable is read — the server is multi-tenant, one credential per request.
Available Tools
Documentation
License
MIT - see LICENSE for details.
For read-only application readiness, run python scripts/mcp_production_readiness.py --phase proposal-readiness --json from the monorepo with AVALA_MCP_PROPOSAL_BEARER_TOKEN and AVALA_MCP_CANARY_OPERATION_PROPOSAL_UID set through the normal environment. Use a staff proposal credential with workforce.read and all five proposal scopes, plus an existing executed proposal. The check inspects all eight lifecycle tools and calls only the three GET tools; it does not create, approve, execute or reverse anything and does not establish infrastructure/deployment readiness.
Proposal responses preserve snapshotCanonicalJson, the provider's exact frozen hash input. SHA-256 over its untouched UTF-8 bytes equals snapshotHash; do not reserialize the typed snapshot to reproduce the digest. The MCP boundary checks those bytes and their exact correspondence with the finite typed snapshot before returning them.
Recorded earnings and billing
Staff credentials with explicitly granted billing.read can call
get_billing_coworker_earnings and list_billing_organizations. Workforce grants
do not include financial access. Earnings select complete recorded payout periods
by their end timestamp in a past half-open window of at most 31 days. Preserve
currency and decimal-string precision; time is milliseconds. These reads do not
calculate pending earnings, verify settlement, expose invoices or attribute costs
to work batches. Organization status is stored data, not a live provider check.
来源:packages/mcp-server/README.md,提交 332b7ca
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分