vnyan-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vnyan-mcp set my avatar's nose blush parameter to 0.8"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
vnyan-mcp
An MCP server for full-coverage control of VNyan (VTuber avatar software) from Claude or any other MCP client — parameters, triggers, blendshapes, bones, pendulums, props, colliders, node graphs, and more.
VNyan's own automation ports (REST/WebSocket/OSC) are fire-and-forget only — they can trigger things but never read state back. This project ships a small VNyan plugin that opens a real two-way bridge, plus an MCP server that talks to it, so an LLM can both drive your avatar and observe it.
What it covers
Parameters, dictionaries, triggers — get/set VNyan's runtime variables, call named triggers, watch recent trigger activity
Avatar — live blendshape values and overrides, humanoid bone read/write
Pendulum chains, stretch bones, colliders, props, Spout2 cameras — read the persisted config and drive them live
Node graphs — read, author, and export/import VNyan's visual node graphs; a generated "bridge graph" makes post-processing effects and lights controllable
Settings — read the full
settings.jsonconfig (tracking, output, graphics, audio, connections, misc) and write it with guardrailsVNyanNet, plugin inventory, native REST/WebSocket/OSC passthroughs
Full capability list and verified behavior: docs/VERIFIED.md.
Related MCP server: Blender Copilot MCP Server
Requirements
VNyan, with Allow Mods enabled (Settings → Misc)
Node.js ≥ 22
Windows (VNyan itself is Windows-only)
Install
Step 1 — the plugin
Download
VNyanMcp.dllfrom the latest release.Close VNyan if it's running.
Drop the DLL into
<your VNyan folder>\Items\Assemblies\.In VNyan, enable Allow Mods (Settings → Misc) if you haven't already.
Start VNyan.
Confirm it loaded: open
Player.login VNyan's profile directory (Settings → Misc → Open Log Folder, or%USERPROFILE%\AppData\LocalLow\Suvidriel\VNyan\Player.logby default) and look for[VNyanMcp] initialized.
Step 2 — the MCP server
With Claude Code:
claude mcp add vnyan -- npx -y github:seth-rah/vnyan-mcpFor Claude Desktop or another MCP client, add this to your MCP config:
{
"mcpServers": {
"vnyan": {
"command": "npx",
"args": ["-y", "github:seth-rah/vnyan-mcp"]
}
}
}No manual build step needed — npx installs and builds it on first run.
Verify
Ask your MCP client to call vnyan_status. All four reflection systems
(props, colliders, spout2, stretchbones) should report true, and
it will show which VNyan profile directory it resolved and how (see
Configuration below — nothing is hardcoded).
Configuration
Every path this server needs is resolved at runtime, not hardcoded. Env vars, all optional:
Variable | Purpose | Default |
| VNyan's profile directory (settings, colliders, node graphs) | Asked from the running plugin; falls back to the conventional |
| Where authored/exported node graphs are written |
|
| The plugin's HTTP bridge |
|
| VNyan's built-in REST API (native port passthrough) |
|
| VNyan's built-in WebSocket (native port passthrough) |
|
| VNyan's OSC receiver (native port passthrough) |
|
Security note
The plugin's bridge listens on 127.0.0.1:8071 — loopback-only, but
unauthenticated. Any process running as you on your own machine can
reach it and drive your avatar while VNyan is running. This is a
deliberate tradeoff (matching VNyan's own REST/WS/OSC ports, which have
the same property) rather than an oversight, but you should know about it
before installing.
What needs VNyan closed
Only settings.json writes (vnyan_settings_set, and the
Props/Chains/StretchBones/Gestures/Expressions writes that live inside it)
require closing VNyan — it rewrites that file on every save and would
silently clobber an external edit. Everything else, including node graph
authoring (which exports a file for live import via VNyan's own "Load
Graph" menu), works with VNyan running. Details:
vnyan_guide topic:'restart-policy'.
Known limits
See docs/VERIFIED.md for the full list. Highlights:
post-processing effects and lights are write-only at every tier (no
readback exists in VNyan); SunLightNode has an unexplained VNyan-side bug
that limits its bridge action to fixed defaults; reflection-backed
capabilities (props, colliders, Spout2, stretch bones) depend on internal
names that could change in a future VNyan update — vnyan_status is the
canary if something breaks.
Building the plugin yourself
cd plugin
dotnet build -c Release -p:VNyanPath="<your VNyan install folder>"The build fails with a clear error if VNyanPath is missing or doesn't
point at a real VNyan install. The bundled node-type schema
(src/graph/schema.json) and the reflection-backed capabilities were
generated against Unity 2022.3.62f3 — if a VNyan update changes node
types or breaks a reflected capability, vnyan_status will show it.
Regenerating the node-type schema
src/graph/schema.json describes all ~300 node types' socket layouts. To
regenerate it for a newer VNyan build:
dotnet tool install -g ilspycmd
ilspycmd -p -o /tmp/acs "<your VNyan>/VNyan_Data/Managed/Assembly-CSharp.dll"
python tools/extract-node-schema.py /tmp/acs \
--unity-version <see Player.log "Initialize engine version"> \
--graphs "<your VNyan>/Examples/*.json" \
-o src/graph/schema.jsonPassing --graphs matters: node values[] key names can't be read
reliably from the obfuscated assembly, so the script prefers names observed
in real VNyan-written graph files and flags the rest valuesUncertain.
License
MIT — see LICENSE.
Available Tools
30 toolsvnyan_api_fireFire VNyan REST API actionA
POSTs {action, payload} to VNyan's built-in REST API (http://localhost:8069) to trigger a matching API Message node in a node graph. Source: native port, no plugin required. Fire-and-forget: no return value, payload values must be strings (binds to Dictionary<string,string>).
Inputs: action (required), payload.
vnyan_avatarVNyan avatar statusA
Whether an avatar is currently loaded. Source: plugin (live, read-only).
Inputs: no named parameters.
vnyan_blendshapeVNyan blendshapesA
Read live blendshape values (all, or one by name) and set/clear override values that take priority over tracking - the same mechanism as the Blendshape node. Source: plugin (live, read+write).
Inputs: action (required), mode, name, value.
vnyan_boneVNyan bonesA
Read a humanoid bone's current position/rotation (the composed pose from tracking/other layers, before this plugin's own overrides), or set/clear a rotation override for it (Euler degrees). Bone names are UnityEngine.HumanBodyBones values, e.g. 'Head', 'LeftUpperArm', 'Spine'. Source: plugin (live, read+write). Note: reading a bone you just overrode still shows the pre-override value - it reflects the incoming pose, not your own pending change. Full valid bone-name list: vnyan_guide topic:'bone-names'.
Inputs: bone (required), action (required), x, y, +1 more.
vnyan_bridge_graphVNyan capability bridge graphA
The bridge graph is how post-processing effects and lights become controllable with no reflection: one TriggerNode per capability (namespaced 'mcp.*'), wired to the effect/light node, callable via vnyan_trigger or the vnyan_effect/vnyan_light convenience tools. 'preview' (disk, read-only) lists the actions it would install and checks for trigger-name collisions against every existing graph - triggers are global. 'install' (disk, write) by default EXPORTS the graph as a file - import it into a spare tab via VNyan's own 'Load Graph' menu, no restart needed. Pass 'slot' instead to write directly into that slot (REQUIRES VNyan closed, backs up the slot first). Refuses on any trigger-name collision either way.
Inputs: action (required), slot.
vnyan_colliderVNyan avatar collidersA
Read or set the current avatar's head/torso/hand collider size and offset - 'get'/'set' are live (plugin) and take effect immediately, VNyan re-applies these every frame. 'diskList' (disk, always readable) lists every per-avatar override file under colliders\, since the currently-loaded avatar's filename isn't otherwise exposed - compare against 'get' to see whether the running values match a saved override.
Inputs: action (required), handSize, headSize, torsoSize, +2 more.
vnyan_dictVNyan dictionariesB
Get/set/clear entries in VNyan's named dictionaries - the same store JsonDictionaryNode and GetDictionaryValueNode use in node graphs, and where the REST API's payload lands. Source: plugin (live, read+write).
Inputs: dict (required), action (required), key, value.
vnyan_effectFire a bridged post-processing effectA
Drives a post-processing effect (bloom/vignette) via the installed bridge graph's TriggerNode. REQUIRES vnyan_bridge_graph action 'install' to have been run once. Source: plugin trigger.call (live). This node type has no getter in VNyan at any tier - the MCP tracks the value it just sent, it does not read back the actual applied state.
Inputs: key (required), toggle, intensity.
vnyan_expressionVNyan expressionsA
Expression Mapper entries: input blendshape value windows (AND-gated, case-insensitive match) that force output blendshape values when all inputs are in range. 'list'/'read' (disk, always readable) read settings.json 'Expressions'. 'export' writes one entry out as a standalone .vnexp JSON file. 'import' reads a .vnexp file and adds/replaces it by name in settings.json - REQUIRES VNyan closed, same guard as vnyan_settings_set.
Inputs: action (required), name, path.
vnyan_gestureVNyan hand gesturesA
Lists configured hand gestures (settings.json 'Gestures' - recorded per-finger curl thresholds for each hand). Source: disk, read-only: gestures are recognized from hand tracking (GestureNode/FilterGestureNode read them) but nothing in VNyan's node system or plugin API can set/fire one programmatically.
Inputs: no named parameters.
vnyan_graph_listList VNyan node graphsA
Lists the node-graph tabs (redeems.json, redeems1.json, ...) with their name, active flag, and node count. Source: disk, always readable.
Inputs: no named parameters.
vnyan_graph_readRead a VNyan node graphA
Parses one graph slot and resolves every connection to (node type, socket role, index) pairs, decodes MessageBoxNode documentation text, and flags AES-encrypted local-file-path values instead of dumping their ciphertext. Also returns a 'warnings' array auditing the graph for mistakes VNyan accepts silently: a blendshape written twice on one execution path, a parameter read before the node that writes it (so it reads the previous tick), a float wired into BlendshapeNode's int value socket, and MathExpNode on a fast timer. Source: disk, always readable.
Inputs: slot (required).
vnyan_graph_writeAuthor a VNyan node graphA
Builds a node graph from a friendly spec (nodes with caller-chosen ids + literal values, exec/value connections referencing those ids). By default (no 'slot') it EXPORTS the graph as a plain JSON file - import it into VNyan live via its own 'Load Graph' menu (replaces the currently active tab, VNyan stays running, no restart). PREFER THAT even when VNyan is closed: the 'slot' path (redeemsN.json + its asredeemsN.json mirror) REQUIRES VNyan closed and is unreliable, because VNyan persists its own in-memory copy of a tab over the file - a verified slot write has been observed silently replaced by an older graph, surviving only in the asredeemsN.json mirror. If you use 'slot', re-verify after VNyan restarts. Returns a 'warnings' array of static-analysis findings when it spots one of the mistakes VNyan itself accepts silently (a blendshape written twice on one execution path, a parameter read before the node that writes it, a float wired into BlendshapeNode's int value socket, or MathExpNode on a fast timer) - the graph is still written, so read them. Most action nodes have zero execOut sockets (check vnyan_node_schema) - they are terminal, not links in a serial chain. To run several actions off one event/trigger, fan its single execOut out to each action's execIn directly, rather than chaining action-to-action. FAN-OUT EXECUTES IN CONNECTION ORDER within a single tick (multicast delegate), so terminal nodes CAN be sequenced by wiring order - a chain of ParamOpNodes each reading the previous one's parameter resolves in one tick, with no OrderedNode and no lag. You therefore do NOT need MathExpNode to avoid ordering problems, and reaching for it on a timer is a frame-rate disaster - see vnyan_guide topic:'graph-performance'. BlendshapeNode specifics: its wired value socket is cast to int (put a DecimalToNumberNode in front of any decimal source, or the write throws and vanishes), 'bsName' splits on ';' so one node can drive several shapes from one evaluation, and bsValue '0' REMOVES the override rather than writing zero - so never zero a shape and then write it in the same tick. Branching nodes (OrderedNode, every Filter*Node, CompareTextNode, RandomNode, ...) declare their exec outputs as an array sized by the Unity prefab, so vnyan_node_schema reports a floor rather than an exact count - wiring past that floor is allowed for those types, and the sockets are created as needed. Node-value file-path fields (sound/avatar files) can't be set as literals here since VNyan encrypts them - wire a SetTextParamNode/TextReplaceNode into that value socket instead, the same pattern VNyan's own Crowd Control example graph uses. VALUE SOCKETS ARE STRONGLY TYPED AT RUNTIME despite values[] always being strings in the saved JSON - wiring a raw int/text output straight into a float/bool input throws inside VNyan and silently aborts the whole call (see valueConnections.toIndex below). If writing directly to a slot, VNyan only EXECUTES slots covered by settings.json 'NodeGraphCount' - a graph placed beyond that count loads with no error but never runs; use vnyan_settings_get area:'misc' to check it first. If using the default export+Load-Graph workflow instead, note VNyan's live Load Graph updates the running graph immediately but only writes it to redeemsN.json on VNyan's own quit - vnyan_graph_read can lag behind what's actually loaded until then. Full cookbook: vnyan_guide topic:'node-authoring'.
Inputs: nodes (required), graphName (required), slot, connections, +2 more.
vnyan_guideVNyan MCP reference guideA
Long-form reference documentation for this MCP - node-authoring rules and the runtime type-safety gotcha, the full bone-name list, a live settings.json key index, pendulum physics semantics, the restart policy, and known limits. Omit 'topic' to list what's available. The same content is also published as MCP resources under vnyan://guide/.
Inputs: topic.
vnyan_lightFire a bridged lightA
Drives ambient light intensity via the installed bridge graph's TriggerNode - live-parametrized. 'sunLight' is fire-only: every value-socket wired into SunLightNode crashes VNyan's trigger processing (root cause not identified, looks like a VNyan-side bug specific to this node class), so firing it just turns the sun light on at fixed defaults - 'intensity'/'toggle' are ignored for it. REQUIRES vnyan_bridge_graph action 'install' to have been run once. Source: plugin trigger.call (live). No getter exists at any tier - the MCP tracks the value it just sent, it does not read back the actual applied state.
Inputs: key (required), toggle, intensity.
vnyan_node_schemaVNyan node type schemaA
Looks up a node type's socket layout (exec-in/out and value-in/out counts, field names in socket order, and the values[] keys VNyan writes by default) - or lists all known node types plus schema provenance when 'type' is omitted. Source: bundled reference data (offline, no VNyan connection needed). How much to trust each field: socket counts and valueInFields/valueOutFields are read from real declared C# fields and are reliable. dynamicSockets lists socket kinds whose real count comes from the Unity prefab or is built at runtime (array-typed socket fields, and every 'Flex' node) - for those the count shown is a FLOOR, not a ceiling, and vnyan_graph_write will let you wire past it; confirm the true count with vnyan_graph_read on a graph that already uses the node. valuesUncertain: true means the values[] key names came from a source heuristic rather than an observed VNyan-written graph - verify them before relying on them. valuesCountMismatch is a stronger warning: that entry's field count disagrees with VNyan's own help file, so its keys are probably WRONG - confirm with vnyan_graph_read against a graph already using the node before authoring with it. possiblyIncomplete: true means values[] is shorter than the valueIn count, usually because a value socket was wired in the sampled graph (VNyan drops a wired socket's key from values[]).
Inputs: type.
vnyan_osc_paramSet VNyan parameter via OSCA
Sends a UDP OSC message to 127.0.0.1:28569 to directly set a VNyan parameter (/VNyan/Param/Float or /VNyan/Param/String depending on the value type). Source: native port, no plugin required. Fire-and-forget, no graph node needed.
Inputs: name (required), value (required).
vnyan_paramVNyan parametersA
Get or set VNyan's numeric/text parameters and expand [bracketed] parameter references in a string. These are the same parameters SetParamNode/FilterParamNode read and write in node graphs. Source: plugin (live, read+write).
Inputs: action (required), name, text, value, +1 more.
vnyan_pendulumVNyan pendulum chainsA
'list' (disk, always readable) reads the pendulum chains configured in VNyan's UI (settings.json 'Chains') and reports every output target written more than once in 'sharedOutputTargets'. 'create'/'delete'/'setPosition'/'setRotation'/'chains' (plugin, live) manage a SEPARATE set of chains created at runtime via this API, addressed by the numeric handle 'create' returns - they are not the same chains as 'list' and don't persist across a VNyan restart. CRITICAL CONSTRAINT: only ONE pendulum may write a given output target directly. VNyan assigns rather than accumulates on all three output paths, so a second writer overwrites the first every frame and the motion cancels out - a routing problem no damping/elasticity tuning will fix. The granularity differs per kind: blendshapes key on NAME (and a name counts as written whether it appears as an output's 'blendshape' or its 'negative'); GameObjects key on (name, transform axis), so the same object on DIFFERENT axes does NOT clash; parameters key on name, so two outputs must never share a 'param'. To layer several pendulums on one target: clear the direct output field on each, give each output its own unique 'param', sum those in a node graph, and apply the total with a single node - ObjectRotNode for transforms (set all three axes together, it zeroes omitted ones), or for a SIGNED blendshape pair a FilterParamNode sign split into two BlendshapeNodes, since one BlendshapeNode cannot drive two different shapes. Read vnyan_guide topic:'pendulum-composition' for the verified recipe and the full field-by-field data model BEFORE changing a chain's outputs. See vnyan_guide topic:'pendulum-tuning' for the spring params.
Inputs: action (required), inert, value, handle, +4 more.
vnyan_plugin_listVNyan installed pluginsA
Lists DLLs in Items\Assemblies and reads their IVNyanPluginManifest metadata where present. Source: plugin, read-only. Read-only inventory - installing a plugin DLL stays a user action.
Inputs: no named parameters.
vnyan_propVNyan propsA
List configured props (disk, always readable), or set/toggle an existing prop's visibility by name (plugin, live - the same as the Toggle Prop node / a prop's Twitch redeem).
Inputs: action (required), name, active.
vnyan_settings_getRead VNyan settings.jsonA
Reads settings.json (tracking/output/graphics/audio/connections/misc). Source: disk, always readable regardless of whether VNyan is running. Secrets (OBS/Chaturbate/VNyanNet passwords) are redacted. Props/colliders/pendulums/stretch bones/gestures/expressions have their own dedicated tools and are not included here.
Inputs: area (required).
vnyan_settings_setWrite VNyan settings.jsonA
Patches specific keys in settings.json. Source: disk. REQUIRES VNyan to be closed - it triple-writes settings.json/.dat/_as.json on every save and would silently overwrite a live edit. Backs up settings.json to the backup\ folder before writing. Refuses unknown keys and keys that have a dedicated tool (props/colliders/pendulum/stretchbone/gesture/expression). settings.json is a single FLAT namespace of ~279 keys (no nesting) - call vnyan_settings_get first to see current values and exact key names for an area, or vnyan_guide topic:'settings-keys' for the full key-prefix index.
Inputs: patch (required).
vnyan_spoutVNyan Spout2 camerasA
List Spout2 output cameras, or add a new one. Source: plugin (live, read+write). There is no safe runtime way to remove a Spout2 camera - do that from VNyan's own Spout2 Cameras panel.
Inputs: action (required), name, posX, posY, +12 more.
vnyan_statusVNyan bridge statusA
Checks whether the VNyanMcp plugin bridge is reachable and reports per-system health (props/colliders/spout2/stretchbones), the full list of registered bridge RPC methods, which VNyan profile directory the disk-backed tools are reading (and how it was found - env var, the running plugin, or the conventional path), and the VNyan/Unity version the bundled node schema was generated from. No directory is hardcoded - this is the one place to confirm what this server actually resolved on your machine. Source: plugin + disk.
Inputs: no named parameters.
vnyan_stretchboneVNyan stretch bonesA
'list' (disk, always readable) reads the persisted stretch bones (settings.json 'StretchBones'). 'add' (plugin, live, write-only) adds one at runtime - there is no live read-back for these, only the persisted list. All clamp/scale/move/offset params are multipliers or local-space offsets on the stretch bone's transform, not absolute world positions. Any field you omit uses VNyanStretchBone's own default, listed on each param below.
Inputs: action (required), name, maxClampX, maxClampY, +26 more.
vnyan_triggerVNyan triggersA
Call, queue, or reset VNyan's named Triggers (global across all node graphs - a TriggerNode with this name fires), and read recently-observed trigger calls. Source: plugin (live, read+write). 'recent' only sees calls made since the plugin loaded.
Inputs: action (required), name, limit, queue, +7 more.
vnyan_uiVNyan UIA
Read the active color theme, or open a native load/save file dialog to resolve a real local file path (blocks until the user responds - use a generous timeout expectation). Source: plugin (live).
Inputs: action (required), header, extensions.
vnyan_vnyannetVNyanNet (multiplayer)A
Read connected players and their slot transform, send an RPC to the lobby, and read recently observed RPCs/connection events. Source: plugin (live, read+write). Returns empty results, not an error, when VNyanNet isn't configured (VNyanNetServerUrl unset).
Inputs: action (required), w, x, y, +12 more.
vnyan_ws_sendSend VNyan WebSocket commandA
Sends a plain-text ' ' frame to ws://127.0.0.1:8000/vnyan to trigger a matching WebSocket Command node. Source: native port, no plugin required. Fire-and-forget, no JSON.
Inputs: command (required), message.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 30 tools
Each tool maps to a distinct VNyan subsystem (params, dictionaries, triggers, blendshapes, bones, pendulum, prop, collider, spout, effects, lights, graphs, settings, expressions) with explicit source and write-semantics annotations in every description. The only mild ambiguities are within the graph-authoring family (vnyan_graph_write vs vnyan_bridge_graph both export graph files and accept a 'slot' option) and among the fire-and-forget senders (vnyan_api_fire, vnyan_ws_send, vnyan_osc_param), but the detailed descriptions delineate these clearly.
All tools share the vnyan_ prefix with uniform lowercase snake_case, providing a consistent subsystem-level pattern. However, action encoding is split: some tools bake the verb into the name (vnyan_graph_write, vnyan_settings_get, vnyan_plugin_list, vnyan_api_fire, vnyan_ws_send) while others are bare subsystem nouns that take action strings as their first argument (vnyan_pendulum, vnyan_collider, vnyan_expression, vnyan_bridge_graph, vnyan_prop). The convention is readable but not consistently applied.
30 tools sits above the threshold where tool counts start to feel bloated and presents a heavy selection surface for an agent. The count is nonetheless defensible because it tracks VNyan's genuine breadth of roughly 25 distinct subsystems, each tool covers a different subsystem with minimal overlap, and several tools bundle multiple sub-actions internally (pendulum, collider, expression, bridge_graph).
The surface covers the full lifecycle for most subsystems: graph authoring has list/read/write/schema, settings have guarded get/set, params/dicts/triggers/blendshapes/bones have live read-write, and pendulums have create/delete/reposition. Notable gaps are narrow — no way to delete expression entries or persisted pendulums/props, no persisted collider writes, and effect/light have no read-back — but these are mostly documented VNyan platform limitations rather than oversights.
Maintenance
Related MCP Connectors
AI voice generation: text-to-speech and voice cloning from any MCP client.
Build, deploy, and operate hosted web apps on VibeKit (vibekit.bot) from any MCP client.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides a bridge between AI assistants and VRChat, enabling AI-driven avatar control and interactions in virtual reality environments through the Model Context Protocol.1232MIT
- AlicenseCqualityCmaintenanceComprehensive MCP server for Blender with 308 tools across 25 modules, enabling AI-powered 3D creation and full VRChat avatar pipeline.2410014MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control a desktop virtual character (VRM) by playing animations, showing/hiding the character, and checking runtime status through the MCP protocol.2MIT
- AlicenseAqualityDmaintenanceEnables live operation of a patched Inochi Creator through MCP, providing tools for project management, node editing, parameter control, animation, and asset import.401MIT