Moho Studio MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MOHO_STUDIO_IPC_DIR | No | Directory used for atomic temp-and-rename JSON IPC files. If not set, defaults to %TEMP%\moho-studio-mcp. | %TEMP%\moho-studio-mcp |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| moho_statusA | Check live Moho Pro 14.4 connectivity, plugin version, active document, active layer, frame, active action, Layer Comp count, and exporter path. |
| moho_activatePollerA | Locate the custom MohoStudioMCP Poller teal-star icon in Moho Pro 14.4's toolbar via PrintWindow and click it in the background (PostMessage) without moving the user's mouse cursor or stealing window focus. Also runs automatically if any live RPC stalls for >1.1s. |
| moho_apiInspectA | Inspect live Lua 5.4 classes, methods, tolua++ .get/.set properties, and constants exposed by Moho 14.4 (e.g. MOHO, LM, moho, document, layer, M_Bone, M_Mesh). |
| lua_executeB | Execute Lua 5.4 code live inside Moho Pro 14.4 with |
| document_getInfoA | Get open document metadata (name, path, dimensions, FPS, frame range, current frame, layer counts, Layer Comp count, active doc action, background color). |
| document_newB | Create a brand-new Moho document and optionally configure dimensions, FPS, frame range, and background color. |
| document_openB | Open an existing .moho project file from disk live inside Moho. |
| document_saveA | Save the currently open Moho document in place. |
| document_saveAsB | Save the currently open Moho document to a specific file path. |
| document_closeA | Close the currently active Moho document tab cleanly (auto-saves if it has a path to prevent blocking Save prompts). |
| document_undoB | Undo or Redo one or more steps in the open Moho document. |
| document_setSettingsC | Modify open document dimensions, FPS, start/end frames, background color (LM.rgb_color via verified SetBackCol), or Depth of Field. |
| document_importA | Import a PNG/JPG/WebP image directly as a live ImageLayer, import SVG headlessly through Moho 14.4 SS_SVGImport (with scaling/consolidation controls), or import PSD/Moho files via FileImport. |
| document_setFrameC | Move Moho's timeline to a specific frame number. |
| document_renderFrameB | Render a specific frame live via Moho's FileRender engine and return the PNG. |
| document_renderRangeB | Render a PNG frame sequence across a frame range live from the open Moho document (auto-creates outputDir). |
| document_captureWindowB | Capture the primary visible Moho Pro 14 application window (viewport, timeline, layers, toolbar) as PNG using Win32 EnumWindows. |
| document_cliRenderB | Run Moho Pro 14.4's multi-threaded, GPU-accelerated headless CLI renderer ( |
| document_exportGltfB | Headless Moho Pro 14.4 glTF 2.0 / GLB export wrapping Tool/ss_gltf_export.lua (bypasses SS_glTFExportDialog:DoModal safely). Run rig_auditGltf first to check for animated vectors without Warp Layers or non-in-place Actions. |
| rig_auditGltfA | Read-only pre-flight audit of the open Moho document for glTF 2.0 export readiness: detects animated vector layers missing Warp Layers, active bone dynamics needing fbf baking, non-in-place Actions, unsaved document state, and gltf_* layer userTags. |
| layercomp_listA | List all Layer Comps in the open document along with their member layers. |
| layercomp_manageC | Create, update layer membership, apply, rename, additively show/hide, snapshot visible layers, expose on timeline, or delete Layer Comps. |
| layer_listB | Return the full recursive layer tree with IDs, UUIDs, types, masking, warp/curver flags, bone counts, Vitruvian group counts, and active switch children. |
| layer_getPropertiesA | Inspect transform, opacity, visibility, blur, origin, blending mode, masking mode, bone parent, tags/comments, and image/warp info of a layer. |
| layer_createB | Create a new layer live inside Moho (vector, image, bone, group, switch, framebyframe, particle, patch, text, note, audio). For framebyframe, auto-creates an initial child vector frame unless createInitialFrame=false. |
| layer_deleteB | Delete a layer by ID, name, or UUID (undoable). |
| layer_duplicateA | Duplicate a layer (or create a live Moho Referenced Layer when asReference=true). |
| layer_reparentC | Move a layer into a Group/Bone/Switch/Particle layer or reorder it behind or in front of another layer. |
| layer_selectC | Make a layer the active selection in Moho. |
| layer_setPropertiesB | Modify layer transform, parallax Z (with preserveApparentSize), timingOffset, shownOnTimeline, immuneToDof, Layer FX (colorize/outline/shadow/shading), vectorNoise, opacity, blur, blendingMode, and metadata. |
| layer_bindToBoneA | Rigid-bind a layer to one bone ( |
| layer_setWarpLayerB | Link (or unlink when warpLayerId/Name omitted) a Smart Warp or Curver VectorLayer to a target layer. |
| layer_setMaskingC | Configure Group masking ( |
| layer_setLayerOrderB | Inspect or keyframe Animated Layer Order ( |
| layer_convertTypeA | Convert a Group, Bone, or Switch layer to another container type preserving children, transforms, animation channels, masking, Layer Order, and Layer Comp membership. |
| layer_groupSelectionC | Wrap multiple existing layers into a new Group, Bone, or Switch container preserving stacking order, with optional masking preset. |
| layer_followPathC | Attach/detach a layer along a VectorLayer curve with optional Alt-bend ( |
| layer_referenceManageC | Inspect status, break link, sync/update ( |
| layer_renderImageA | Render a single isolated layer directly to a transparent PNG via Moho 14.4 RenderLayerImage and return its world bounds and image. |
| switch_setActiveC | Inspect or keyframe active child layers on a SwitchLayer (lip-sync, hand/prop swaps, Frame-by-Frame mode, vector sub-layer interpolation). |
| fbf_manageA | Author Frame-by-Frame (FBF) animation on a SwitchLayer: list_timeline, add_blank_frame, duplicate_frame (new copy), clone_frame (reuse existing drawing), delete_frame, and push_frames (shift exposure timing). |
| particle_configureB | Inspect or configure Moho Pro ParticleLayer emission, velocity, direction, acceleration, damping, source dimensions, and simulation flags (read-only when no mutating fields are passed; returns full 18-field state). |
| bone_listB | List all bones in a BoneLayer with world head/tail positions, local transforms, parent links, IK targets, constraints, shy flag, and Moho 14 dynamics. |
| bone_createB | Create a new bone in a BoneLayer from world-space (headX/Y -> tailX/Y), geometry-snapped refs (headRef/tailRef), or parent-local (x/y, angleDeg, length). |
| bone_deleteB | Delete a bone by index or name from a BoneLayer. |
| bone_setTransformC | Set/keyframe a bone's position (x, y), angleDeg, scale, flipH/V, parentBoneId/Name, or targetBone/Name at a frame with optional interpolation. |
| bone_setPropertiesC | Update bone name, length (0 for Pin Bone), strength, offset, flipH/V, parentBoneId/Name, IK targetBone/Name, ignoredByIK, fixedAngle, shy, showLabel, or color tags. |
| bone_setConstraintsC | Configure bone angle limits, angle/pos/scale delayed control constraints (single bone or chainBoneIds/Names), squash&stretch, maxIKStretching, and arcSolver. |
| bone_setDynamicsC | Configure Moho Pro 14 Bone Dynamics physics (enabled, angle/pos/scale/wind flags, torque, spring, damping, 3-axis weights, plus optional global enableBoneDynamics). |
| bone_mirrorA | Duplicate and mirror a bone or bone subtree across an X/Y axis preserving hierarchy, constraints, dynamics, offsets, and remapped IK targets. |
| bone_freezePoseC | Freeze Pose (Ctrl+F) or Reset Pose at |
| bone_listGroupsC | List all Moho 14 Vitruvian Bone groups (M_BoneGroup) on a BoneLayer and their active bones. |
| bone_manageGroupC | Create, switch active sub-rig bone, add/remove bones, or delete Moho 14 Vitruvian Bone groups. |
| bone_setWindB | Configure Moho Pro 14 Wind and Gravity dynamics fields on a BoneLayer (supports UI percentage units via *Percent or raw internal units, plus keyframe interpolation). |
| physics_configureB | Inspect or configure Moho Pro 14 2D Physics on a Group/Bone layer ( |
| animation_getKeyframesB | Read all keyframes, interpolation, Bezier handles, color tags, and Separate Dimensions from layer, bone, wind/gravity, Vitruvian, switch, vector point/shape, layer order, follow-path, or camera channels. |
| animation_setKeyframesC | Batch-write multiple keyframes with Smooth/Linear/Ease/Step/Bezier (with handles)/Cycle/Bounce/Elastic/Stagger/Hold/ColorTag interpolation onto any supported Moho 14.4 animation channel (including Separate Dimensions). |
| animation_deleteKeyframeB | Delete a single keyframe (frame > 0) from any supported Moho 14.4 animation channel. |
| animation_createCycleB | Build a seamless multi-channel animation cycle across [startFrame, endFrame]: ensures boundary keys at start/end, copies startFrame to endFrame when needed, and sets Cycle interpolation targeting startFrame + 1 (Frame 2 when starting at Frame 1) to avoid the double-frame stutter. |
| animation_retimeB | Scoped keyframe retiming across explicit targets/channels (never accidentally shifts untouched scene layers): push_frames, scale_range (Alt+Drag), relative_offset, and clear_range (always protects frame 0). |
| animation_tweenB | Generate a weighted breakdown (0..1), anticipation (weight < 0), or overshoot (weight > 1) keyframe at |
| timeline_markersC | List, add, update, delete, or clear document-wide ( |
| action_listB | List Regular and Smart Bone Actions on a layer (including isSmartBone, angleSweepDeg, and is360SmartBone flags) and report the active layer/document action. |
| action_activateB | Enter or create an Action / Smart Bone Action on a layer (synced with SetCurrentDocAction; pass '' to return to Mainline). |
| action_createSmartBoneB | Create a standard or full +/-360-degree Smart Bone Action (exact unwrapped zeroAngle +/- 2*pi, 96-frame default duration, linear bone keys, optional Frame-0-to-end mirroring across child layers). |
| action_manageC | Insert (copy or reference), rename, delete, or blend Actions on a layer. |
| camera_getB | Read camera track, zoom, rollDeg, and panTiltDeg at a given frame. |
| camera_setKeyframeC | Set camera track, zoom, rollDeg, and/or panTiltDeg keyframes with optional interpolation. |
| mesh_getDataC | Inspect points (with width, opacity, colorDrift, curvature, Point Colors, worldPos, handles), curves (with segment visibility and stroke exposure), shapes (Soft Edge, Gradients, Styles, Brushes, Liquid Shape clusters), and warp/curver flags. |
| mesh_createShapeC | Create a vector shape from new |
| mesh_editShapeC | Edit, keyframe, restyle, reorder, or delete an existing vector shape (fill/stroke color & alpha, Soft Edge, Gradients + handles, Style 1/2, Brushes, stacking order). |
| mesh_editPointsC | Move/animate mesh points, adjust per-point width/opacity/colorDrift, curvature, Point Colors, asymmetric Bezier handles, or point bone bindings. |
| mesh_editTopologyC | Edit vector topology and curves: |
| mesh_createSmartWarpB | Create a live Moho 14 Smart Warp ( |
| mesh_setCurveProfileC | Attach, configure repeat/animated offset, or detach a Curve Profile on a VectorLayer curve (lm_curve_profile.lua). |
| mesh_liquidShapesB | Author Moho 14 Liquid Shapes boolean clusters: configure fComboMode ( |
| style_manageC | Manage document Saved Styles ( |
| batch_executeA | Execute up to 100 Moho Studio MCP operations atomically inside one IPC round-trip, one Undo step, and one coalesced UI refresh. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Moho Studio MCP Guide | Quick operational guide for live Moho Pro 14.4 automation (points to moho-studio://playbook) |
| Moho Pro 14.4 Master Playbook | 15 distilled Moho Pro 14.4 rigging, vector shading, animation, and glTF master rules plus Lua engine invariants |
TDQS
Scored across 78 tools
Prefix-grouped naming (layer_, bone_, mesh_, animation_) keeps most tools distinct, and the descriptions are detailed. But several clusters blur boundaries: layer_reparent vs layer_setLayerOrder vs layer_groupSelection vs layer_convertType, animation_setKeyframes vs animation_tween/retime/createCycle, and mesh_editShape vs mesh_setCurveProfile/liquidShapes all require careful reading to pick correctly.
Nearly all tools follow a consistent prefix_verbNoun pattern (layer_reparent, bone_create, camera_get, document_save), with multi-word nouns camelCased predictably. Minor inconsistencies like mesh_setCurveProfile vs pure-lowercase layer_reparent are readable but slightly uneven.
78 tools is very heavy even for a full animation package; many operations (e.g. the many bone_set* variants, animation_*, mesh_edit*) could be consolidated into parameterized tools. The grouping helps, but the surface is well beyond a typical 15-tool ceiling.
Coverage spans documents, layers, bones, mesh, animation, actions, camera, physics, particles, styles, rendering, export, and batch execution — thorough lifecycle support. Gaps like text-layer property editing, audio management, and dedicated switch-child manipulation are minor workarounds.