Live2D Automation MCP Server

Live2D Automation MCP Server

Enables the automatic generation of complete Live2D models from a single photo by automating segmentation, rigging, and physics configuration. It provides a full pipeline for creating layered art meshes and motion files through a suite of specialized animation tools.

Category
Visit Server

README

Live2D 自动化 MCP Server

从单张照片自动生成完整的 Live2D 模型。

功能特点

  • 🤖 AI 自动分割身体部位
  • 🎨 自动生成 Live2D 分层
  • 🔧 自动绑定骨骼和变形器
  • 🌊 自动配置物理效果
  • 🎬 自动生成多种动作
  • ⚡ 一键完整流水线

安装

cd live2d_automation
pip install -r requirements.txt

使用

方法 1:在 VS Code 中使用(推荐)

  1. 打开 VS Code 命令面板 (Ctrl+Shift+P)
  2. 运行 MCP: Add Server
  3. 选择 Command
  4. 输入: python -m live2d_automation.mcp_server.server

方法 2:直接运行

python -m live2d_automation.mcp_server.server

方法 3:使用完整流水线

# 一键生成 Live2D 模型
from live2d_automation.mcp_server.server import full_pipeline

result = await full_pipeline(
    image_path="path/to/photo.png",
    output_dir="output/",
    model_name="MyCharacter",
    motion_types=["idle", "tap", "move", "emotional"]
)

MCP Tools

工具 说明
analyze_photo 分析照片,检测人物姿态
generate_layers 生成 Live2D 分层
create_mesh 创建 ArtMesh 网格
setup_rigging 设置骨骼绑定
configure_physics 配置物理效果
generate_motions 生成动作文件
full_pipeline 一键完整流水线

输出文件结构

output/
└── [model_name]/
    ├── model3.json       # 模型配置文件
    ├── physics.json      # 物理配置文件
    ├── textures/         # 贴图目录
    │   ├── layer_head.png
│   ├── layer_body.png
│   └── ...
└── motions/            # 动作目录
    ├── Idle_Breath.motion3.json
    ├── Idle_Blink.motion3.json
    ├── Tap_Head.motion3.json
    └── ...

系统要求

  • Python 3.8+
  • NVIDIA GPU (推荐 8GB+ 显存)
  • CUDA 11.8+ (如果使用 GPU)

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured