Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Moho Studio MCP

by SavasTanriverdiversion 3.0.0i★ 0iRuns on your computerRepository ↗

How to install

What it does

MCP server and Lua 5.4 plugin for live 2D animation, rigging, glTF, and CLI rendering in Moho 14.4

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Design, images & audio

Use together with

Skills that teach the AI this kind of work; they work alongside this one

impeccable

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

by pbakaus★ 116,8981 skills

Skill · How-to guide

diagram-design

Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 52 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.

by cathrynlavery★ 73,0411 skills

Skill · How-to guide

hallmark

Anti-AI-slop design skill for Claude Code, Cursor, and Codex.

by Nutlope★ 61,1021 skills

Skill · How-to guideKnow before you install

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Moho Studio MCP. Follow https://mcp.popnx.com/i/savastanriverdi-moho-studio-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 25, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Moho Studio MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "moho-studio": { "command": "npx", "args": [ "-y", "moho-studio-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Moho Studio MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "moho-studio": {
          "command": "npx",
          "args": [
            "-y",
            "moho-studio-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Moho Studio MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Moho Studio MCP or shows a Moho Studio MCP tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MOHO_STUDIO_IPC_DIR Optional override for the local IPC directory shared with the Moho Lua plugin (defaults to %TEMP%\moho-studio-mcp).

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Moho Studio MCP yet

Moho Studio MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Moho Studio MCP

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Design, images & audio that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Moho Studio MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user moho-studio -- npx -y moho-studio-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Moho Studio MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user moho-studio -- npx -y moho-studio-mcp
  4. Type /mcp in Claude Code

    You should see Moho Studio MCP listed as connected

  5. Try it

    Use Moho Studio MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Moho Studio MCP or shows a Moho Studio MCP tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MOHO_STUDIO_IPC_DIR Optional override for the local IPC directory shared with the Moho Lua plugin (defaults to %TEMP%\moho-studio-mcp).

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Moho Studio MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "moho-studio": { "command": "npx", "args": [ "-y", "moho-studio-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Moho Studio MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Moho Studio MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Moho Studio MCP or shows a Moho Studio MCP tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MOHO_STUDIO_IPC_DIR Optional override for the local IPC directory shared with the Moho Lua plugin (defaults to %TEMP%\moho-studio-mcp).

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Moho Studio MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "moho-studio": { "type": "stdio", "command": "npx", "args": [ "-y", "moho-studio-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Moho Studio MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Moho Studio MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Moho Studio MCP or shows a Moho Studio MCP tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • MOHO_STUDIO_IPC_DIR Optional override for the local IPC directory shared with the Moho Lua plugin (defaults to %TEMP%\moho-studio-mcp).

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Moho Studio MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user moho-studio -- npx -y moho-studio-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "moho-studio": {
      "command": "npx",
      "args": [
        "-y",
        "moho-studio-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "moho-studio": {
      "command": "npx",
      "args": [
        "-y",
        "moho-studio-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "moho-studio": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "moho-studio-mcp"
      ]
    }
  }
}

Values you fill in

  • MOHO_STUDIO_IPC_DIR env
    Optional override for the local IPC directory shared with the Moho Lua plugin (defaults to %TEMP%\moho-studio-mcp).

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.SavasTanriverdi/moho-studio-mcp
Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
3.0.0
Published to registryi
Nov 25, 2026
Code last changedi
Nov 25, 2026
Maker
SavasTanriverdi
Packages
npm: moho-studio-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account SavasTanriverdi, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for moho-studio-mcp@3.0.0

Checks only this package version, not every dependency · checked Nov 25, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/savastanriverdi-moho-studio-mcp.svg)](https://mcp.popnx.com/en/servers/savastanriverdi-moho-studio-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Design, images & audioi

  • More stars than 0% of the other 3732 servers in this category
  • Published to the registry more recently than 95% of the other 3732 servers in this category
  • Basic checks equal to or better than 99% of the other 3732 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Moho Studio MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (3.0.0) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: HyperFrames by HeyGen, Pascal 3D Editor, draw.io, Figma MCP Server, Remocn: Remotion MCP server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

HyperFrames by HeyGen

Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.

by heygen-comWidely used★ 90.1K Stars for the whole repoUpdated 8 days ago

Connect now (has URL) · sign-in✓ heygen.com

Pascal 3D Editor

Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.

by pascalorgWidely used↓ 1K/wk★ 25.8K Stars for the whole repoUpdated 8 days ago

Connect now (has URL) · sign-in✓ service owner · pascal.app

draw.io

Mermaid, PlantUML, CSV or XML in, editable draw.io diagrams out, live in chat. 10,000+ shapes.

by jgraphWidely used★ 5.9KUpdated 2 days ago

Connect now (has URL)4 tools · light✓ service owner · draw.ioTried by the PopNx team

Figma MCP Server

Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.

by figmaWidely used★ 2.2KUpdated 13 months ago

Connect now (has URL) · sign-in✓ service owner · mcp.figma.com

Remocn: Remotion MCP server

Hosted MCP for Remotion videos: search Remocn components, read docs, plan a video, preview it.

by RemocnGrowing★ 1.9KUpdated 16 days ago

Connect now (has URL)4 tools · light✓ service owner · remocn.dev
Compared with similar ones
This one
Moho Studio MCP
HyperFrames by HeyGenPascal 3D Editordraw.ioFigma MCP ServerRemocn: Remotion MCP server
Runs whereInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computerCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesNoNoYesNo
Basic checks3/34/45/55/54/44/4
LicenseMITApache-2.0MITApache-2.0–MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Moho Studio MCP

MCP server and Moho Pro 14.4 Lua 5.4 plugin for controlling Moho live over stdio.

It lets an MCP client (Claude Desktop, Cursor, VS Code, Codex, Antigravity, or any JSON-RPC stdio client) inspect and edit open Moho projects: creating vector geometry, saved styles, brushes, bone rigs, Smart Warps, Curvers, Liquid Shapes, Vitruvian Bones, masking setups, 360-degree Smart Bone Actions, keyframes, Frame-by-Frame switch layers, Layer Comps, glTF 2.0 exports, and headless CLI renders.

The server is written in Node.js ESM with zero npm runtime dependencies (src/), and the plugin is plain Lua 5.4 (moho-plugin/).

Demo

Scene built, rigged, animated, and rendered live inside Moho Pro 14.4 by an MCP agent using this server (79 editable layers, Liquid Shapes, Vitruvian weapon swap, Smart Bone expressions, baked 2D rigid-body shard physics, FBF impact frames, 4 Layer Comps, headless Moho.exe -r CLI render, and a 2.5 MB .glb glTF 2.0 export).

Rendered OutputLive Moho Pro 14.4 Project and Timeline

Full 1080p 24fps render: slime_knight_boss_fight_1080p.mp4

Requirements

  • Windows 10 or Windows 11 (x64). The background window wake and capture helpers use Win32 EnumWindows, PrintWindow, and PostMessage.
  • Moho Pro 14.4.
  • Node.js 20 or newer.
  • Python 3.11 or newer (only needed for scripts/install.py and scripts/check_hygiene.py).
  • FFmpeg (optional, useful for encoding PNG sequences from document_cliRender into MP4 or GIF when Moho's system video codecs are unavailable).

How It Works

Moho runs an embedded Lua 5.4 interpreter with no built-in stdio server. Instead of polling a socket from a blocking loop, this bridge uses atomic temp-and-rename JSON files in %TEMP%\moho-studio-mcp (overridable via MOHO_STUDIO_IPC_DIR):

  1. Each tool call writes req_ _ _ .json and waits for resp_ _ _ .json. Unique per-request IDs let multiple MCP clients talk to Moho without overwriting each other's files.
  2. Inside Moho, the Lua plugin scans the IPC folder with Moho's native moho:BeginFileListing() instead of spawning cmd.exe, executes each handler inside pcall, and wraps mutations in PrepUndo / UpdateUI.
  3. Normal edits run inside DrawMe. Document-lifecycle operations (document_new, document_open, document_close, document_exportGltf) are restricted to Moho's UI button handler (HandleMessage) via a dedicated "MCP Sync" button on the Poller tool, because switching or closing a document inside DrawMe, IsEnabled, or UpdateWidgets crashes Moho Pro 14.4.
  4. When Moho is idle or unfocused, src/ipc.mjs locates the Poller tool's teal-star icon using PrintWindow and clicks it via background PostMessage without moving the cursor or stealing focus.

See docs/ARCHITECTURE.md for protocol details and docs/MOHO_14_4_LUA_API_VERIFIED.md for the verified Moho 14.4 Lua API quirks behind the handlers.

Installation

1. Install the Moho Lua plugin

Preview what the installer will touch (dry run is the default):

python scripts/install.py --scope moho-plugin

Install into Moho's Program Files Scripts folder (requires an Administrator PowerShell), or point --moho-scripts-dir at your Moho Custom Content Folder (Preferences > General > Custom Content Folder) to install without admin rights:

# Option A: Moho Program Files (Administrator PowerShell)

python scripts/install.py --scope moho-plugin --apply

Option B: Moho Custom Content Folder (normal user)

python scripts/install.py --scope moho-plugin --moho-scripts-dir "C:\Path\To\MohoContent\Scripts" --apply

The installer backs up Tool/_tool_list.txt before editing and verifies every copied .lua and icon .png file byte-for-byte.

Start the plugin inside Moho Pro 14.4:

  1. Reload scripts (Ctrl+Shift+Alt+L) or restart Moho.
  2. Open Scripts > MohoStudioMCP > Start/Stop MohoStudioMCP Server.
2. Configure your MCP client
Claude Desktop, Cursor, VS Code, Antigravity, or any JSON MCP client

Add a moho entry pointing node at src/server.mjs:

{

"mcpServers": { "moho": { "command": "node", "args": ["C:/path/to/moho-studio-mcp/src/server.mjs"] } } }

Codex CLI (~/.codex/config.toml)
[mcp_servers.moho]

command = "node" args = ["C:/path/to/moho-studio-mcp/src/server.mjs"] startup_timeout_sec = 30 tool_timeout_sec = 60

If you use Codex or Antigravity, scripts/install.py can also patch existing configs with automatic backups and diff verification:

python scripts/install.py --scope user

python scripts/install.py --scope user --apply

Optional flags: --clients codex,antigravity, --node "C:\Path\To\node.exe", --ipc-dir "C:\Path\To\ipc". If MOHO_STUDIO_IPC_DIR is not set, both sides default to %TEMP%\moho-studio-mcp.

Tools and Resources

The server exposes 78 tools (75 live Lua RPCs and 3 Windows host tools) plus 2 MCP resources:

  • moho-studio://guide: short tool index and workflow notes.
  • moho-studio://playbook: 15 Moho Pro 14.4 rigging, shading, animation, and glTF rules for AI agents operating Moho.
CategoryCountTools
System and Live Lua4moho_status, moho_activatePoller, moho_apiInspect, lua_execute
Document, Render, glTF and Layer Comps18document_getInfo, document_new, document_open, document_save, document_saveAs, document_close, document_undo, document_setSettings, document_import, document_setFrame, document_renderFrame, document_renderRange, document_captureWindow, document_cliRender, document_exportGltf, rig_auditGltf, layercomp_list, layercomp_manage
Layers, Masking, Switch, FBF and Particles20layer_list, layer_getProperties, layer_create, layer_delete, layer_duplicate, layer_reparent, layer_select, layer_setProperties, layer_bindToBone, layer_setWarpLayer, layer_setMasking, layer_setLayerOrder, layer_convertType, layer_groupSelection, layer_followPath, layer_referenceManage, layer_renderImage, switch_setActive, fbf_manage, particle_configure
Bones, Vitruvian, Wind and 2D Physics13bone_list, bone_create, bone_delete, bone_setTransform, bone_setProperties, bone_setConstraints, bone_setDynamics, bone_mirror, bone_freezePose, bone_listGroups, bone_manageGroup, bone_setWind, physics_configure
Animation, Actions, Markers and Camera13animation_getKeyframes, animation_setKeyframes, animation_deleteKeyframe, animation_createCycle, animation_retime, animation_tween, timeline_markers, action_list, action_activate, action_createSmartBone, action_manage, camera_get, camera_setKeyframe
Vector, Smart Warp, Curver, Liquid Shapes and Styles9mesh_getData, mesh_createShape, mesh_editShape, mesh_editPoints, mesh_editTopology, mesh_createSmartWarp, mesh_setCurveProfile, mesh_liquidShapes, style_manage
Batch1batch_execute

Notable Moho 14.4 behaviors handled directly by the tools:

  • .svg files passed to document_import are routed headlessly through Moho 14's bundled SS_SVGImport script rather than the older FileImport path.
  • document_exportGltf drives Moho 14's bundled SS_glTFExport headlessly without opening a modal dialog; rig_auditGltf checks for point-animated vectors missing a Warp Layer, active bone dynamics, non-in-place Actions, and gltf_* tags beforehand.
  • action_createSmartBone with mode: "360" sets an unwrapped zeroAngle +/- 2*pi sweep (96 frames, linear bone keys, optional Frame 0 to end-frame mirroring) and restores Mainline when finished.
  • document_close with force: true saves dirty untitled documents to a temporary file before calling moho:FileClose() and deletes the temp file afterward so Moho never blocks on a native Save prompt.
  • batch_execute wraps multiple operations into a single Undo entry and one coalesced UpdateUI() pass.

Known Limitations and Security Notes

  • Windows only. The Lua plugin itself only uses Moho Lua APIs, but moho_activatePoller, document_captureWindow, and the keep-alive nudge in src/ipc.mjs rely on Win32 APIs via PowerShell.
  • document_cliRender calls Moho.exe -r in a background process. Direct MP4 and MOV output depends on the codecs installed on Windows; rendering a PNG sequence and encoding with ffmpeg works consistently across machines.
  • lua_execute evaluates arbitrary Lua 5.4 inside the Moho process (ScriptInterface). This server only listens on local stdio and reads local temp files; keep it bound to trusted local sessions and do not expose it over a network tunnel.
  • Viewport screenshots (document_captureWindow) do not always show final Masks, Layer Outlines, Point Colors, Merged-Alpha brushes, Soft Edge, or unsolved mid-timeline Bone Dynamics. Use document_renderFrame or document_cliRender when checking visual output.

Repository Layout

  • src/: Node.js stdio MCP server (server.mjs), JSON Schemas (tools.mjs), IPC client, Win32 helpers, and CLI render runner (ipc.mjs), runtime config (config.mjs), and moho-studio://playbook (playbook.mjs).
  • moho-plugin/: Moho Pro 14.4 Menu script, Poller tool, toolbar icons (24x20 and 48x40), Lua JSON codec, Bowyer-Watson Delaunay triangulator, and modular tool handlers.
  • scripts/: Installer (install.py), offline hygiene and 1:1 RPC parity checker (check_hygiene.py), and SDF icon generator (generate_icons.py).
  • tests/: MCP stdio protocol tests (test_mcp_protocol.mjs) and concurrent dual-client mock IPC tests (test_ipc_mock.mjs).
  • docs/: Architecture notes (ARCHITECTURE.md) and verified Moho Pro 14.4 Lua API reference (MOHO_14_4_LUA_API_VERIFIED.md).
  • llms.txt: Compact index for AI coding assistants and crawlers.

Testing

python scripts/check_hygiene.py

npm test

check_hygiene.py verifies UTF-8/ASCII cleanliness, node --check on every .mjs file, Lua syntax balance, and 1:1 parity between rpcMethod entries in src/tools.mjs and handlers registered in moho-plugin/MohoStudioMCP_Server.lua.

License

MIT. See LICENSE.

Directory listing: Glama MCP Server Directory.