helix-mcp

v0.2.16-helix3.216
@hypersoniclabs/helix-mcp Checked 4 days ago Published 1 month ago

HELIX Instant MCP server — gives AI coding agents the platform contract: world recipes, manifest schema, validation, catalog discovery, and publishing.

The HELIX Instant MCP server gives AI coding agents the platform contract and tells them how to use the helix creator CLI. Resources expose the docs an agent reads before building; tool schemas route arguments into CLI commands. Login stays human (helix login once). Feature and operational logic, validation, file mutation, network behavior, and their tests belong in helix-creator-cli. This package contains only MCP transport, schemas, resources, instructions, and thin CLI delegation. Do not implement a platform feature here. Add to your MCP client config (Claude Desktop, Cursor, etc.):

Summary extracted from the README.

@hypersoniclabs/helix-mcp

The HELIX Instant MCP server gives AI coding agents the platform contract and tells them how to use the helix creator CLI. Resources expose the docs an agent reads before building; tool schemas route arguments into CLI commands. Login stays human (helix login once).

Architecture boundary

Feature and operational logic, validation, file mutation, network behavior, and their tests belong in helix-creator-cli. This package contains only MCP transport, schemas, resources, instructions, and thin CLI delegation. Do not implement a platform feature here.

Engine systems are ranges. Docs, recipes, skills and tool descriptions here say ^0.3-style ranges for helix.json systems; the CLI's validate/publish (and so validate_world/publish_world) refuse an exact engine pin unless a human passes --allow-exact-engine-pin "<reason>" (logged). To ship an engine fix to Worlds, promote it (POST /api/v1/instant-packages/<slug>/versions/<version>/rollout); do not pin.

Use it

Add to your MCP client config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "helix-instant": {
      "command": "npx",
      "args": ["-y", "@hypersoniclabs/helix-mcp@latest"]
    }
  }
}

Point it at a backend with the HELIX_API_URL env var (defaults to localhost); discovery tools work unauthenticated, publishing needs helix login (a client token).

Tools

World lifecycle: get_started, read_doc, whoami, validate_world, publish_world, list_my_worlds, list_systems, list_abilities, get_package_manifest, check_for_updates, and analyze_scene_performance. The performance analyzer reads the exact Scene resource closure and optional runtime receipt, reports authored and submitted costs separately, and returns specific fixes without predicting FPS from static counts. Measurement comes before pixels on every surface, so each pair is measure-then-look: inspect_world / capture_world_screenshot for layout, inspect_gesture / capture_gesture for poses, and inspect_npc / capture_npc for NPC behaviour — the latter runs the built world headlessly and reports distance walked vs gained, stuck windows, arrived edges and the state timelines, then films a captioned strip of it.

Continuum lifecycle: publish_continuum_source_map, publish_continuum_scratch_world, publish_continuum_package, publish_owned_item, dry_run_continuum_canary, publish_continuum_canary, and get_continuum_publication_receipt. These are thin Creator delegates; MCP does not compile Scenes, persist checkpoints, or grant public Listing authority. The canary tools call the bundled Creator library directly and accept only one descriptor path; public Listing confirmation remains exclusively human-operated CLI authority.

Early access: Device, Vehicle, Vehicle add-on, wearable/character add-on and any unlisted kind are labelled "Early access" (tool descriptions start [Early access]; get_started for that kind opens with the notice; World, Avatar, Home and Prop are stable). The kind list lives in @hypersoniclabs/helix-manifest (creation-stability).

Vehicle lifecycle: get_started({ kind: "vehicle" }) serves the helix-vehicles skill (the workflow), read_doc({ name: "vehicles" }) the HELIX Vehicle Contract (the rules), and read_skill the skill's references (source bridges for BeamNG, downloaded models, concepts and from-scratch builds; physics from real specs; audio; add-ons; publication; QA; a complete live reference package). New vehicle content follows the sealed Package workflow; the former vehicle Item-first MCP publisher routes are retired. visual_qa_item records advisory notes for a candidate packageVersion (never a gate). item_thumbnail requests a server re-render of a published item's catalog thumbnail (with force / dryRun) and returns the preview URL. The catalog card is rendered by HELIX; creators cannot override it (add images to the item page instead).

Avatar lifecycle: get_started({ kind: "avatar" }) serves the helix-avatars skill. A generated avatar ("make me an avatar of this character"; default visibility public, held until the platform check passes) is ONE blocking call, create_avatar, which executes the bundled CLI: Asset Generation job (a thin client of the platform's job driver: helix assets start character, then resume; the platform owns the visibility default, retries, the hosted-QA wait, the free retry on a BLOCK and the creator copy; a visibility is passed only when you give one), download of the GLB and raw rig, helix character check (check_avatar runs the same on any GLB: the platform's walk, run and idle clips beside Base Female with the hosted gate's asserts and a fixed inspection set), then a report of the platform's verdict. A failing assert has a row in the skill's fix table (fix_avatar_rig, import_character on the saved raw rig, or a regeneration) and a repaired GLB is sealed with publish_avatar_version, which refuses to seal anything that fails the check. Physics bones are off for generated avatars. Any other source (a VRM, a rigged game model, robot/CAD) takes the hand-built route: the helix-humanoid@1 contract and all-LOD budgets, rigging, optional helix/dynamics@1 physics bones, faces, publish and version moves. import_character takes boneMap, fit, bake, lockBorder, ktxMode and provenance; VRMs go through bridge_import.

read_skill serves any first-party skill in skills/ to agents that only have this server.

Device lifecycle: create_device, validate_device, test_device. These delegate to the bundled Creator CLI, which owns GLB/node validation and deterministic single-/two-client simulation. Device authoring is intentionally MCP/CLI-only; the website has no parallel Device workbench.

Vault lifecycle:

  • search_assets, get_asset, list_asset_versions, install_asset, track_asset, update_asset_metadata
  • list_voices for safe text-to-speech voice discovery and pagination
  • start_asset_generation, poll_asset_generation
  • convenience tools generate_asset (prop/character, with optional deterministic character reference sheet), generate_image, generate_material, generate_audio, generate_environment_splat, and the explicit generate_animation stub

Vault tools return commands for the environment-matched HELIX CLI. The CLI owns authentication, network calls, polling, checksum verification, installation receipts, mutation, and failure semantics; MCP does not carry a second implementation.

Call list_voices before text-to-speech generation; it returns selectable voice ids, supported languages, preview URLs, and default/recommended choices without exposing vendor credentials or voice administration. generate_audio executes that packaged CLI directly and supports the full shared audio route: sound_effect (default), music, and text_to_speech. The tool exposes the curated MP3 formats, mode-specific duration/model controls, and bounded TTS language, voice, seed, voice-settings, and unique pronunciation-dictionary fields. It allows up to 35 minutes for the CLI's durable generation, ingestion, and default-on Vault publication flow to finish, then returns the CLI's JSON receipt.

Resources

helix://docs/{continuum,character-world,world-recipe,scene-performance,sdk,items,purchases,manifest,publishing,catalog,vehicles} — the agent documentation, served from docs/.

Develop

npm install
npm run build   # tsc → dist/ (bin: dist/server.js)
npm test        # boots the server over stdio and asserts the tools register

The humanoid-character system, its abilities, and asset-packs are authored in helix-web-engine and published to the catalog the agent discovers.