
ttiimmaacc/cinema4d-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
ttiimmaacc/cinema4d-mcp — это кандидат на сервер MCP, импортированный из https://github.com/ttiimmaacc/cinema4d-mcp.
Обзор
ttiimmaacc/cinema4d-mcp — это кандидат на сервер MCP, импортированный из https://github.com/ttiimmaacc/cinema4d-mcp.
Обзор (машинный перевод)
Cinema4D MCP Server соединяет Cinema 4D с Claude, обеспечивая 3D-манипуляцию с подсказками.
Содержание
- Компоненты
- Предварительные требования
- Установка
- Настройка
- Использование
- Навык агента
- Разработка
- Устранение неполадок и отладка
- Структура файла
- Команды инструментов
- Руководство по использованию — практические советы, схемы извлечения и известные проблемы
Компоненты
- C4D Plugin: сокетный сервер, который прослушивает команды с MCP-сервера и выполняет их в среде Cinema 4D.
- MCP Server: Python-сервер, реализующий протокол MCP и предоставляющий инструменты для интеграции с Cinema 4D.
Предварительные требования
- Cinema 4D (рекомендуется R2024+)
- Python 3.10 или выше (для компонента MCP Server)
Установка
Чтобы установить проект, следуйте следующим шагам:
Клонировать Хранилище
Установите пакет сервера MCP
Сделать скрипт оболочки исполняемым
Подготовка
Настройка плагина Cinema 4D
Чтобы настроить плагин Cinema 4D, следуйте следующим шагам:
- Скопировать файл плагина: Скопировать файл
c4d_plugin/mcp_server_plugin.pypв папку плагинов Cinema 4D. Путь зависит от вашей операционной системы:
- macOS:
/Users/USERNAME/Library/Preferences/Maxon/Maxon Cinema 4D/plugins/
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Cinema4D MCP — Model Context Protocol (MCP) Server
Cinema4D MCP Server connects Cinema 4D to Claude, enabling prompt-assisted 3D manipulation.
Table of Contents
- Components
- Prerequisites
- Installation
- Setup
- Usage
- Agent Skill
- Development
- Troubleshooting & Debugging
- File Structure
- Tool Commands
- Usage Guide — practical tips, extraction patterns, and known issues
Components
- C4D Plugin: A socket server that listens for commands from the MCP server and executes them in the Cinema 4D environment.
- MCP Server: A Python server that implements the MCP protocol and provides tools for Cinema 4D integration.
Prerequisites
- Cinema 4D (R2024+ recommended)
- Python 3.10 or higher (for the MCP Server component)
Installation
To install the project, follow these steps:
Clone the Repository
git clone https://github.com/ttiimmaacc/cinema4d-mcp.git
cd cinema4d-mcp
Install the MCP Server Package
pip install -e .
Make the Wrapper Script Executable
chmod +x bin/cinema4d-mcp-wrapper
Setup
Cinema 4D Plugin Setup
To set up the Cinema 4D plugin, follow these steps:
-
Copy the Plugin File: Copy the
c4d_plugin/mcp_server_plugin.pypfile to Cinema 4D’s plugin folder. The path varies depending on your operating system:- macOS:
/Users/USERNAME/Library/Preferences/Maxon/Maxon Cinema 4D/plugins/ - Windows:
C:\Users\USERNAME\AppData\Roaming\Maxon\Maxon Cinema 4D\plugins\
- macOS:
-
Start the Socket Server:
- Open Cinema 4D.
- Go to Extensions > Socket Server Plugin
- You should see a Socket Server Control dialog window. Click Start Server.
Claude Desktop Configuration
To configure Claude Desktop, you need to modify its configuration file:
-
Open the Configuration File:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Alternatively, use the Settings menu in Claude Desktop (Settings > Developer > Edit Config).
- macOS:
-
Add MCP Server Configuration: For development/unpublished server, add the following configuration:
"mcpServers": { "cinema4d": { "command": "python3", "args": ["/Users/username/cinema4d-mcp/main.py"] } } -
Restart Claude Desktop after updating the configuration file.
Usage
- Ensure the Cinema 4D Socket Server is running.
- Open Claude Desktop and look for the hammer icon 🔨 in the input box, indicating MCP tools are available.
Установка
npx @modelcontextprotocol/inspector uv --directory /Users/username/cinema4d-mcp run cinema4d-mcpКонфигурация
"mcpServers": {
"cinema4d": {
"command": "python3",
"args": ["/Users/username/cinema4d-mcp/main.py"]
}
}