vroid-files MCP server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| VROID_ALLOWED_ROOTS | No | Folders the server may read and write, separated by ';'. Recommended. Default: any absolute path. | any absolute path |
| VROID_LOCK_IDENTITY | No | Set to 1 to lock face, body, hair and skin parameters. Changing them then needs unlock_identity: true. Useful when only outfits should change. | |
| VROID_PROTECTED_NAMES | No | Comma-separated name parts that are never written, for example MY_BASE_MODEL. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read and patch VRoid Studio 2.x .vroid files. Writes always create a new .vroid next to or away from the source; the source is never changed and protected file names are never written. Typical loop: vroid_list_textures (compare_to the base file to see what an outfit added), vroid_export_layer, edit the PNG at the same size, vroid_replace_layer into a new file, vroid_set_item_colors for material colours, vroid_list_params and vroid_set_params for every slider, colour, flag and choice VRoid saves (face, body, hair, each garment), then open the new file in VRoid to check. When the identity lock is on, face, body, hair and skin parameters need unlock_identity=true. All paths must be absolute.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| vroid_infoB | Summary of a .vroid file: VRoid version, zip members, texture and layer counts. |
| vroid_list_texturesA | Every texture layer: texture_id, size, used_as (recipe slot names), layer_guid, layer_name, png_bytes. With compare_to (e.g. the base .vroid), each row also says whether its image is new or changed. |
| vroid_export_layerA | Save one layer's PNG (exact bytes) to out_png, which must end in .png. An existing file is never replaced unless overwrite is true. |
| vroid_export_texturesA | Save every layer PNG into out_dir (only new or changed ones when compare_to is given). Existing files are never replaced unless overwrite is true. |
| vroid_replace_layerB | Write a NEW file dst = src with one layer's image replaced by png_path (same width and height). Verifies the result by re-reading it. dst must not exist. |
| vroid_item_colorsB | Material colours (RGBA 0..1) of the clothing item whose main image is texture_id: MaterialColor, MaterialShadeColor, MaterialOutlineColor, OverlayColor (and Emission when present). |
| vroid_set_item_colorsA | Write a NEW file dst = src with item colours changed. colors maps a slot to a hex colour, e.g. {"MaterialShadeColor": "#CAB9C2", "MaterialOutlineColor": "#46172080"}. dst must not exist. |
| vroid_list_paramsA | Every recipe parameter VRoid saves, with its current value: sliders (the number shown in VRoid's panel), numbers, colours (RGBA 0..1), flags, choices (text), images and templates. Filter with contains (part of a name or group), kind (slider, number, color, flag, choice, image, template) or group (e.g. "Tops#2": the second template in the Tops stack). locked=true marks face, body, hair and skin parameters while the identity lock is on. |
| vroid_set_paramsA | Write a NEW file dst = src with parameters changed. changes: [{"name": "ArmShort", "group": "Tops#2", "value": 100}]; name may be the full name or its last part, group is needed when the name is not unique. Values: sliders and numbers a number, flags true/false, colours "#RRGGBB" or "#RRGGBBAA", choices text. With the identity lock on, face, body, hair and skin parameters need unlock_identity=true. The result is verified (same parameters, same value entries, same textures) before it is written. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each tool targets a distinct resource and action: info summary, texture listing/export/replace, item color read/write, and parameter read/write. The single-layer versus all-layer export pair is clearly distinguished by 'layer' vs 'textures'. No overlapping purposes.
All tools share a vroid_ prefix and mostly follow verb_noun (list_textures, export_layer, replace_layer, set_item_colors, list_params, set_params). Minor deviations are the noun-only vroid_info and vroid_item_colors, but the convention is still predictable overall.
Nine tools map cleanly onto the file's resource types (info, textures, colors, params), each earning its place with a read and write counterpart. Well within a sensible range.
Covers the core lifecycle: inspect, export, replace for textures plus read/write for colors and params, with safe new-file semantics. Minor gaps exist (no adding/removing layers or items, no deleting layers), but agents can accomplish the main editing workflows.