Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENTOONZ_ROOTNoOpenToonz runtime root; the server seeds isolated SystemVar.ini and passes it as TOONZROOTworkspace root
OPENTOONZ_BUILD_DIRNoDirectory containing bin/tcomposer and bin/tconverter$WORKSPACE/toonz/build
OPENTOONZ_TCOMPOSERNoExplicit tcomposer path
OPENTOONZ_WORKSPACENoRoot directory that all paths must remain insidecurrent directory, or sibling ../opentoonz
OPENTOONZ_TCONVERTERNoExplicit tconverter path
OPENTOONZ_ARTIFACT_DIRNoDefault output directory for generated artifacts.mcp-artifacts inside workspace
OPENTOONZ_LIBRARY_PATHNoOptional native library path for build-tree binaries$BUILD_DIR/lib/opentoonz when present
OPENTOONZ_RUNTIME_HOMENoIsolated HOME, XDG config, and cache root for native subprocesses.mcp-artifacts/.runtime inside workspace
OPENTOONZ_MCP_TIMEOUT_MSNoDefault subprocess timeout120000
OPENTOONZ_MCP_MAX_OUTPUT_BYTESNoCaptured stdout/stderr limit per subprocess2000000
OPENTOONZ_MCP_MAX_SCAN_ENTRIESNoFilesystem discovery limit10000
OPENTOONZ_MCP_MAX_METADATA_BYTESNoMaximum project, scene, and scenes.xml metadata file size32000000
OPENTOONZ_MCP_MAX_INSPECT_CONCURRENCYNoMaximum concurrent metadata inspections4

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

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
workspace_manifestB

Return a live manifest of the configured workspace, discovered projects/scenes/levels, runtime paths, and available OpenToonz command-line capabilities.

list_projectsB

Discover OpenToonz project descriptors inside the workspace. Results are read-only and include project folders and parser warnings.

inspect_projectA

Parse one OpenToonz project descriptor and report its version, logical folder aliases, resolved in-workspace paths, and warnings.

list_scenesC

Discover .tnz and legacy .tab scenes. Optionally scope results to a project directory or descriptor.

inspect_sceneA

Read scene header metadata and extract serialized level/scanned-path references without loading or mutating scene resources.

validate_scene_resourcesA

Resolve scene path aliases and report missing or workspace-external level and scanned-image references. This is read-only.

list_level_filesB

List recognized OpenToonz drawing, vector, raster, palette-adjacent, and image level files under an optional workspace-relative directory.

list_artifactsA

List files produced by MCP render and conversion operations in the configured artifact directory.

render_previewB

Render one scene frame with tcomposer into a new .mcp-artifacts file. Existing files are never overwritten. Requires a built tcomposer executable.

render_sceneB

Render an image sequence or output file with tcomposer. The destination must be new and inside the configured workspace; no arbitrary shell commands are exposed.

convert_levelC

Convert a level with tconverter into a new destination. Existing files are refused to avoid interactive overwrite prompts and accidental data loss.

Prompts

Interactive templates invoked by user choice

NameDescription
review-scene-healthPrepare a focused prompt for checking scene metadata and missing resources.

Resources

Contextual data attached and managed by the client

NameDescription
workspace-manifestLive JSON manifest for the configured OpenToonz workspace.

TDQS

A3.5/5.0

Scored across 11 tools

Disambiguation4/5

Most tools target clearly distinct resources or actions: listing projects, scenes, levels, and artifacts is separate from inspecting and validating them. The main potential confusion is between render_preview and render_scene, and somewhat between workspace_manifest and the various list/inspect tools, though the descriptions clarify the intended boundaries.

Naming Consistency4/5

The set is mostly consistent snake_case with verb_noun patterns such as list_projects, inspect_scene, render_scene, and convert_level. The notable deviation is workspace_manifest, which is noun-based rather than following the verb_noun convention.

Tool Count5/5

Eleven tools is well within a reasonable range and each tool appears to earn its place by covering discovery, inspection, validation, rendering, conversion, or artifact listing. The surface is broad enough for the OpenToonz workflow without feeling excessive.

Completeness4/5

The server covers the core inspection and production lifecycle: discovering projects/scenes/levels, inspecting metadata, validating resources, rendering previews and sequences, converting levels, and listing artifacts. Minor gaps remain, such as direct inspection of individual level files or artifact management beyond listing, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo issues