config.example.yaml•1.8 kB
# Aseprite MCP Configuration Example
# Path to Aseprite executable (optional, will search PATH and common locations)
aseprite_path: null
# Lua script execution settings
lua:
timeout: 60 # Script execution timeout in seconds
max_script_size: 1048576 # Maximum script size in bytes (1MB)
enable_debug: false # Enable Lua debug output
# Export settings
export:
default_format: png # Default export format
max_scale: 10.0 # Maximum export scale factor
jpeg_quality: 85 # JPEG quality (1-100)
gif_optimize: true # Optimize GIF exports
# Canvas settings
canvas:
max_width: 10000 # Maximum canvas width
max_height: 10000 # Maximum canvas height
default_color_mode: RGBA # Default color mode (RGBA, RGB, INDEXED, GRAYSCALE)
# Batch processing settings
batch:
max_parallel_jobs: 4 # Maximum parallel processing jobs
continue_on_error: true # Continue processing on errors
progress_reporting: true # Enable progress reporting
# Security settings
security:
allow_path_traversal: false # Allow path traversal (dangerous!)
allowed_directories: null # Restrict to these directories (null = no restriction)
max_file_size: 104857600 # Maximum file size in bytes (100MB)
restricted_lua_functions: # Lua functions to restrict
- os.execute
- io.popen
- loadfile
- dofile
# Logging settings
log_level: INFO # Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
log_file: null # Log file path (null = console only)
log_format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
# Performance settings
cache_enabled: true # Enable caching
cache_ttl: 3600 # Cache TTL in seconds