Skip to main content
Glama

pixera-mcp

An MCP (Model Context Protocol) server for AV Stumpfl Pixera — a projection-mapping learning companion and marker-calibration advisor, with a live-hybrid view-cone marker recommender.

It speaks Pixera's Native API (JSON-RPC 2.0 over JSON/TCP(dl), the literal 0xPX delimiter) and exposes three layers to an LLM:

  1. Knowledge + validation + recommendation (offline) — teaches Pixera projection mapping, validates your parameters and tells you what is wrong for the workflow, and recommends calibration/warp strategy. Works with no Pixera connection.

  2. Live control + inspection — the subset Pixera's API actually exposes (transport, cues, blackout, calibration triggers, marker writes, MPCDI load, project load/save, reads).

  3. Live-hybrid view-cone recommender — reads a projector's pose live, then from a lens spec + mesh you supply, computes what that projector sees and recommends marker placement.

See pixera_mcp_feasibility.md for the full architecture, research, and risk report.

Why offline-first

Pixera's API exposes projector pose, transport/cues, calibration triggers and marker writes — but not soft-edge/blend parameters, live warp-grid editing, projector lens data, or mesh geometry. So the biggest value is knowledge + validation + recommendation, which need no connection. Soft-edge/warp tools are advisory (validate + guide), not actuating.

Related MCP server: mcp-for-maya

  1. Download pixera-mcp-<version>.mcpb from the latest release.

  2. Double-click it (or Claude Desktop > Settings > Extensions > Install extension).

  3. Fill in the Pixera host and port. The extension then shows up with an on/off toggle.

Updates: on every start the extension checks the latest GitHub release and, if it is newer, downloads the new code into a local cache (%LOCALAPPDATA%\pixera-mcp\releases). Offline it keeps using the cached or bundled copy. A release that changes dependencies is not applied automatically; the log then points to the new .mcpb. Switch updates off in the extension settings if a show machine must not change.

The extension needs no Python install (Claude Desktop runs it with uv). For pixera_describe and offline call validation, Pixera should be installed on the same machine, or set PIXERA_API_JSON.

Publishing a release (maintainers)

  1. Bump version in pyproject.toml, run the tests, commit and push.

  2. python tools/build_mcpb.py (needs Node.js for npx @anthropic-ai/mcpb).

  3. git tag v<version> && git push origin v<version>

  4. gh release create v<version> dist/pixera-mcp-<version>.mcpb --generate-notes

Running extensions pick up the release on their next start. Only code changes are applied automatically; if dependencies changed, teammates install the new .mcpb once.

Install (Python package)

pip install -e .            # core (mcp<2, numpy)
pip install -e ".[mesh]"    # + trimesh for FBX/GLTF/PLY/STL meshes (OBJ works without it)
pip install -e ".[dev]"     # + pytest

Configure Pixera (for live features)

In Pixera → Settings → API: add an API access port with protocol JSON/TCP(dl) on your chosen network adapter and port (default here: 1500). There is no auth in the protocol — run on a trusted/isolated show LAN and firewall the port.

If every call fails with {"code": -32602, "message": "Access is not authorized."}, switch off Restrict Web Access To Actions That Match Allowlist in Pixera's API settings (or allowlist the methods).

Tested live against Pixera 26.1 R39, API revision 481.

Environment variables

Var

Default

Meaning

PIXERA_HOST

127.0.0.1

Pixera host

PIXERA_PORT

1500

JSON/TCP(dl) port set in Pixera

PIXERA_API_JSON

local Pixera install

Pixera API JSON used by pixera_describe / pixera_call validation

PIXERA_PROTECTED_PREFIXES

LE_

Comma-separated timeline name prefixes that tools never remove or rename (empty = none)

PIXERA_TIMEOUT

5.0

per-request timeout (s)

PIXERA_AUTOCONNECT

true

connect on startup (offline tools still work if it fails)

See .env.example.

Connect it to an MCP client

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "pixera": {
      "command": "pixera-mcp",
      "env": { "PIXERA_HOST": "127.0.0.1", "PIXERA_PORT": "1500" }
    }
  }
}

Claude Code:

claude mcp add pixera --env PIXERA_HOST=127.0.0.1 --env PIXERA_PORT=1500 -- pixera-mcp

(pixera-mcp and python -m pixera_mcp are equivalent stdio entry points.)

Raw API access and show setup (rev 481)

  • pixera_describe(query) — offline lookup in Pixera's own API JSON. The file belongs to AV Stumpfl and is not shipped here: it is read from the local Pixera install (<Program Files>/AV Stumpfl/Pixera/*/data/api/ pixera_api.json), or from PIXERA_API_JSON. Without it, pixera_call skips offline validation and relies on getHasFunction. A full name returns the signature and doc; a prefix like Pixera.Timelines.Layer. lists methods; a substring searches.

  • pixera_call(method, params) — call any method. Before sending, it checks the method and params against the index (unknown names get "did you mean"), refuses destructive calls (remove/delete, load/save project, import mappings, engine stop) unless allow_destructive=true, never removes or renames protected timelines (name prefix from PIXERA_PROTECTED_PREFIXES, default LE_), and confirms the method with getHasFunction.

  • Inspect: pixera_list_screens_detailed (pose, scale, visibility), pixera_list_resources (folder tree with ids), pixera_find_resource, pixera_list_timelines_detailed (layers with resource, model, home screen, scale mode), pixera_get_layer_json. Resource folder paths start at a top-level folder: Media/Live Inputs.

  • Setup: pixera_set_screen_pose (Pixera-native metres/degrees, reads back), pixera_import_resource (file or directory; never removes), pixera_create_timeline, pixera_setup_layer (resource id, home screen, fill/fit, render only on home screen), pixera_set_live_input (stream mode + activate).

Method names follow rev 481: class methods are class-qualified and take handle, e.g. Pixera.Timelines.Timeline.setName {"handle": h, "name": "..."}. The test mock validates every request against the same index, so a wrong method string fails the tests.

Confirmed live (26.1): an imported OBJ becomes a 3DModel resource, and pixera_setup_layer(model_resource_id=...) puts it in the layer's model slot next to the media resource. Pixera is right-handed, Y-up, metres; pixera_set_screen_pose(convention="blender") converts Blender positions (x, y, z) to (x, z, -y). pixera_list_outputs / pixera_export_mappings / pixera_import_mappings back up and move projector mappings (warp, soft edge, colour) between outputs by idPath, e.g. {"1/1": "1/2"}.

Not possible over the API (rev 481): creating screens, projectors, LED walls, Art-Net/sACN outputs, feeds, fixtures or Live Input resources; mapping files cannot create Art-Net outputs or feeds. See docs/live_probes.md for probe results.

The headline feature: marker recommendation

pixera_recommend_markers_for_projector reads the projector pose live and culls your mesh to what the projector sees, then proposes markers. You supply the lens and mesh (the API can't):

// tool: pixera_recommend_markers_for_projector
{
  "projector_name": "Projector 1",
  "lens": { "throw_ratio": 1.2, "aspect": 1.7778, "shift_h": 0, "shift_v": 0, "resolution": [1920, 1080] },
  "mesh_path": "C:/show/object.obj",            // OBJ (built-in) or FBX/GLTF with [mesh] extra
  "mesh_transform": { "position": [0,0,0], "rotation": [0,0,0], "scale": [1,1,1] },
  "num_markers": 6,
  "grazing_deg": 75,
  "do_occlusion": false
}

Returns marker positions + ids, a VQI calibratability score, and warnings (too little visible / too oblique / near-coplanar). Then pixera_apply_markers(positions, marker_ids) pushes them into Pixera via Pixera.Calibration.setMarkerPositions (world space, no screen handle: it applies to the marker calibration open in Pixera; you trigger the solve / Calculate there).

Coordinate-frame note: Pixera returns rotation as Euler degrees with an unstated order. euler_order defaults to ZYX (forward +Z); if recommendations look mirrored/rotated, try a different order and check mesh_transform. pixera_score_projector_calibratability (visible-area %) is a quick sanity check.

Reading warp data from a project file (.avp)

Pixera's API can't read warp grids, and VWF export needs a VIOSO licence — but the project .avp show-file contains the warp. pixera_import_warp_context(avp_path) parses it offline and returns projectors (model + pose), FFD warp grids (dims + control points + bbox), marker calibration sets, and soft-edge presence. CLI: python -m pixera_mcp.avp project.avp. The .avp is a custom tagged-binary format; this reader is reverse-engineered and heuristic for Pixera build 26-1 (tags: 0x07 int32, 0x0d vec3, length-prefixed type names). Dev tools tools/avp_explore.py and tools/vwf_inspect.py help re-derive the layout on other builds.

What's inside

  • 47 tools — describe / call (raw rev481 API), show setup (screens, resources, timelines, layers, live input), validate_*, recommend_*, diagnose, plan_projection_mapping, import_warp_context (reads .avp); marker subsystem (recommend_markers_for_projector, score_projector_calibratability, apply_markers); live control + inspection.

  • Resources — pixera://guide/* (PM 101, warping, softedge, marker calibration, calibration algorithms, view-cone methodology, camera calibration), pixera://reference/* (parameters, glossary, api-capabilities), and live pixera://status|projectors|screens|timeline/{name}/time.

  • Prompts — marker-calibration walkthrough, calibration-strategy, projection-mapping setup, soft-edge setup, troubleshoot.

Testing (no Pixera needed)

On Windows, keep the virtualenv outside OneDrive (OneDrive locks files inside site-packages), e.g. uv venv ~/.venvs/pixera-mcp and uv pip install --python ~/.venvs/pixera-mcp/Scripts/python.exe -e ".[dev]".

python -m pytest -q                     # full suite (framing, geometry, validation, integration)
python tests/test_framing.py            # or run a file directly (no pytest needed)
python tests/mock_pixera.py             # standalone mock on 127.0.0.1:1500
npx @modelcontextprotocol/inspector python -m pixera_mcp   # drive the server live (against the mock)

The mock speaks the real 0xPX framing and canned responses, so the whole MCP↔TCP path is exercised offline — including the live-hybrid marker recommender and the setMarkerPositions write.

Project layout

src/pixera_mcp/
  client.py        0xPX framing, id-correlation, reconnect, handle + getHasFunction cache
  api_index.py     offline index of api/pixera_api_rev481.json (describe, call validation)
  tools_call.py    pixera_call guards (destructive, LE_ timelines, getHasFunction)
  tools_show.py    show setup: screens, resources, timelines, layers, live input
  geometry.py      frustum + cull pipeline + marker selection + VQI (numpy)
  meshio.py        mesh loader (trimesh / OBJ fallback)
  lens.py          LensSpec + FOV-from-throw
  validation.py    parameter rules ("what's wrong")
  tools_guidance.py  recommend_* / diagnose / plan (offline)
  tools_geometry.py  view-cone recommender (live-hybrid)
  tools_control.py / tools_inspect.py  live API tools
  resources.py / prompts.py / server.py  MCP wiring
  knowledge/*.md   bundled guides
tests/             framing, geometry, validation, integration, launcher + mock_pixera
mcpb/              Claude Desktop extension: manifest, self-updating launcher, icon
tools/build_mcpb.py  builds dist/pixera-mcp-<version>.mcpb

Security

Pixera's API has no authentication: anyone who can reach the port can control Pixera. Keep the API port on a trusted show network or VPN. The auto-update runs code from this repository's releases on every machine with the extension, so only trusted maintainers should be able to push tags.

License

MIT for this code. The Pixera API JSON (pixera_api.json) belongs to AV Stumpfl and is not included.

Available Tools

47 tools
pixera_apply_cueB

Fire a cue by index on a timeline by index (zero-based).

Inputs: cue_index (required), timeline_index (required). Returns: object

pixera_apply_cue_by_numberC

Fire a cue by its cue number on a timeline by index.

Inputs: cue_number (required), timeline_index (required). Returns: object

pixera_apply_markersB

Push world-space markers via Pixera.Calibration.setMarkerPositions (positions = flat x,y,z).

Applies to the marker calibration open in Pixera; the API takes no screen handle.

Inputs: positions (required), marker_ids (required), screen_name. Returns: object

pixera_callA

Call any Pixera API method, e.g. method='Pixera.Screens.Screen.setIsVisible', params={'handle': 123, 'isVisible': true}.

Checks first: method and params against the rev 481 index (validate=false skips), destructive calls (remove/delete, load/save project, import mappings, engine stop) need allow_destructive=true, protected timelines can never be removed or renamed, and getHasFunction must confirm the method. Returns {ok, result | errors, stage}.

Inputs: method (required), params, validate, allow_destructive. Returns: object

pixera_create_timelineB

Create and name a new timeline. Refuses existing names and protected prefixes.

Inputs: name (required). Returns: object

pixera_describeA

Look up Pixera API methods offline (rev 481 API JSON). No connection needed.

query: a full method name (returns signature + doc), a prefix such as 'Pixera.Timelines.Layer.' (lists methods), or a substring such as 'VideoStream'. Class methods take the object handle as params.handle. Use before pixera_call.

Inputs: query (required), limit. Returns: object

pixera_diagnoseA

Diagnose a projection-mapping symptom (e.g. 'visible seam', 'black output') -> cause + fix.

Inputs: symptom (required). Returns: object

pixera_export_mappingsB

Export the live system's projector mappings (warp, soft edge, color correction) to a folder: service_/mapping_NNN.axp plus original_output_structure.json.

Inputs: path (required), live_system. Returns: object

pixera_find_resourceA

Find one resource by folder name path and name; returns handle, id, type, file path.

Inputs: resource_name (required), folder_name_path (required). Returns: object

pixera_get_api_revisionA

Return the Pixera Native API revision (even=release, odd=beta).

Inputs: no named parameters. Returns: object

pixera_get_layer_jsonB

Return Layer.getLayerJsonDescrip for one layer (raw JSON string from Pixera).

Inputs: layer (required), timeline (required). Returns: object

pixera_get_paramB

Read a parameter value by instance path (e.g. 'Timeline 1.Layer 1.Opacity').

Inputs: path (required). Returns: object

pixera_get_projector_poseB

Get a projector's live position (m) and rotation (deg).

Inputs: name (required). Returns: object

pixera_get_timeline_timeB

Get a timeline's current playhead time in seconds.

Inputs: name (required). Returns: object

pixera_has_functionC

Probe whether the connected Pixera supports an API function.

Inputs: name (required). Returns: object

pixera_import_mappingsA

Import mappings exported by pixera_export_mappings. output_map retargets by output idPath, e.g. {"1/1": "1/2"} moves output 1/1's mappings to 1/2. Overwrites the target outputs' mappings, so allow_destructive=true is required. Cannot create Art-Net outputs or feeds.

Inputs: path (required), output_map, live_system, allow_destructive. Returns: object

pixera_import_resourceA

Import a file (or, with directory=true, every file in a folder) into a resource folder.

OBJ files become '3DModel' resources (confirmed live); assign them to a layer with pixera_setup_layer(model_resource_id=...).

Directory import never removes existing resources. Returns name, id and type of each new resource.

Inputs: path (required), folder_name_path (required), directory. Returns: object

pixera_import_warp_contextA

Parse a Pixera .avp show-file (offline) and summarize the mapping/warp context.

Returns projectors (model + pose), FFD warp modifiers (grid dims + control points), marker calibration sets, and soft-edge presence read straight from the project file - warp data the Native API cannot expose. Heuristic for Pixera build 26-1.

Inputs: avp_path (required). Returns: object

pixera_list_outputsA

Outputs of a live system (default: first) with idPath, resolution, assigned projectors and screens. idPath (e.g. '1/2') is used by pixera_import_mappings.

Inputs: live_system. Returns: object

pixera_list_projectorsA

List projector names in the current project.

Inputs: no named parameters. Returns: object

pixera_list_resourcesA

Resource folder tree with each resource's name, id and type.

folder_name_path (e.g. 'Media/Screens') starts at one folder. detailed adds file path and resolution. Use the id with pixera_setup_layer(resource_id=...).

Inputs: detailed, max_depth, folder_name_path. Returns: object

pixera_list_screensA

List screen names in the current project.

Inputs: no named parameters. Returns: object

pixera_list_screens_detailedB

All screens with handle, position (m), rotation (deg), scale, visible, blackout.

Inputs: no named parameters. Returns: object

pixera_list_timelinesA

List timelines (handles + count) in the current project.

Inputs: no named parameters. Returns: object

pixera_list_timelines_detailedB

Timelines with fps and transport mode; per layer: assigned resource, model resource, home screen, scale mode. Protected timelines (PIXERA_PROTECTED_PREFIXES, default LE_) are marked.

Inputs: include_layers. Returns: object

pixera_load_projectB

Load a Pixera project (replaces the current project; clears the handle cache).

Inputs: path (required). Returns: object

pixera_load_warp_fileC

Load a warp file (MPCDI by default) onto a screen.

Inputs: path (required), screen_name (required), mpcdi. Returns: object

pixera_pingA

Liveness check: API revision + noop round-trip.

Inputs: no named parameters. Returns: object

pixera_plan_projection_mappingC

Produce an ordered, scenario-tailored Pixera setup plan (Screens -> Mapping -> Compositing).

Inputs: curved, tracked, content_type, surface_type, +1 more. Returns: object

pixera_poll_monitoringB

Fetch Pixera monitoring data (alerts/heartbeat).

Inputs: no named parameters. Returns: object

pixera_recommend_calibration_methodC

Recommend a calibration approach (homography / PnP markers / VIOSO / MPCDI) for a scenario.

Inputs: surface_type (required), has_camera, time_budget, accuracy_need, +1 more. Returns: object

pixera_recommend_markers_for_projectorB

Read the projector pose live, cull the mesh to what it sees, and recommend marker placement.

lens: {throw_ratio | fov_h_deg, aspect, shift_h, shift_v, resolution:[w,h]}. mesh_path: OBJ/GLTF/... on disk. mesh_transform: optional {position, rotation, scale} to place the mesh in world coordinates. Requires a live Pixera connection.

Inputs: lens (required), mesh_path (required), projector_name (required), euler_order, +4 more. Returns: object

pixera_recommend_warp_methodC

Recommend a warp tool: FFD vs Vertex vs Polygonal vs Multi-Pos, with rationale.

Inputs: curved, tracked, has_3d_model, surface_type, +1 more. Returns: object

pixera_refresh_mappingC

Trigger a mapping refresh on a screen.

Inputs: screen_name (required). Returns: object

pixera_run_calibrationB

Launch a calibration tool for a screen (mode 'newCalib'|'autoRecalib', tool e.g. 'vioso').

Inputs: screen_name (required), mode, tool. Returns: object

pixera_save_projectB

Save the current Pixera project.

Inputs: no named parameters. Returns: object

pixera_score_projector_calibratabilityC

Score how calibratable a mesh is from a projector (VQI + breakdown). Requires a live connection.

Inputs: lens (required), mesh_path (required), projector_name (required), euler_order, +2 more. Returns: object

pixera_set_live_inputB

Set the stream mode of an existing Live Input resource and (de)activate its streams.

Without mode_index, only lists the available modes.

Inputs: resource_name (required), folder_name_path (required), activate, mode_index. Returns: object

pixera_set_projector_blackoutC

Blackout (or restore) a projector by name.

Inputs: on (required), projector_name (required). Returns: object

pixera_set_screen_poseA

Set screen position [x,y,z] (m), rotation [x,y,z] (deg) and/or scale; reads pose back.

Pixera is right-handed, Y-up, metres. convention='blender' converts a Blender Z-up position (x, y, z) to Pixera (x, z, -y); rotation is refused in that mode. Omitted vectors stay unchanged.

Inputs: screen_name (required), scale, position, rotation, +1 more. Returns: object

pixera_set_timeline_transportB

Play/Pause/Stop a timeline by index (action: 'play'|'pause'|'stop').

Inputs: action (required), timeline_index (required). Returns: object

pixera_set_timeline_transport_by_nameC

Play/Pause/Stop a timeline by name (action: 'play'|'pause'|'stop').

Inputs: action (required), timeline_name (required). Returns: object

pixera_setup_layerA

Find or create a layer, then set any of: media resource (id), 3D model resource (id of a '3DModel' resource, e.g. an imported OBJ), home screen, scale_mode ('fill' | 'fit' | 'stretch' | 'resource' | 'model_1to1'), render only on home screen. Refuses protected timelines.

Inputs: layer (required), timeline (required), create, scale_mode, +4 more. Returns: object

pixera_validate_canvas_resolutionC

Validate Canvas Resolution vs projector output (resolution + aspect).

Inputs: canvas_h (required), canvas_w (required), projector_h (required), projector_w (required), +1 more. Returns: object

pixera_validate_feed_modeB

Validate Feed Mode choice for a surface (e.g. 'None' only for 3D/non-continuous UV).

Inputs: feed_mode (required), surface_type (required), uv_continuous. Returns: object

pixera_validate_marker_calibrationC

Validate marker-calibration parameters (count, coplanarity, EDID/lens prereqs, error).

Inputs: marker_count (required), coplanar, edids_set, placement, +5 more. Returns: object

pixera_validate_softedgeC

Validate a soft-edge/blend setup and flag what is wrong for the workflow.

Inputs: projector_count (required), overlaps, feed_mode, surface_type, +3 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 47 tools

    Disambiguation4/5

    Most tools target clearly distinct actions and resources, and descriptions explain the differences. However, there are several near-duplicate variants (timeline transport by index vs by name, cue by index vs by number, list vs list_detailed) and multiple validate/recommend tools that could invite misselection.

    Naming Consistency5/5

    Every tool uses the same pixera_ prefix and a consistent snake_case verb_noun pattern, with predictable suffixes such as _by_name, _by_number, and _detailed. The naming is highly uniform throughout the set.

    Tool Count2/5

    With 47 tools, the server is far above the typical well-scoped range and many tools are thin wrappers around single API calls. The surface would benefit from consolidation, especially around timeline transport, cue firing, and calibration helpers.

    Completeness5/5

    The tool set covers the full Pixera projection-mapping workflow: project load/save, screens, projectors, calibration, mapping/warp, timelines, cues, resources, outputs, monitoring, and offline API discovery. The generic pixera_call tool also provides an escape hatch for any missing API method.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Gives LLM agents spatial awareness inside Autodesk Maya, enabling scene inspection and measurement, aesthetic and engineering audits, camera planning, checkpoint/rollback safety, asset import, and viewport or render previews. Agents can also execute arbitrary Python in Maya to build and verify 3D scenes against engineering rules instead of writing blind.
      25
      262 PyPI
      9
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects AI assistants to a running generative art studio over its HTTP API, letting them read live canvas state and parameters, move sliders, switch engines, save and apply presets, highlight controls, and capture PNG snapshots. It can also read and rewrite an engine's GLSL or TypeScript source so a new version hot-reloads into the canvas.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to control grandMA2 onPC or physical consoles through natural-language commands for live fixture control, cue and preset programming, macros, timecode automation, diagnostics, and live show administration.
      1
      MIT