Seedance Polza MCP Server
Generates videos using bytedance/seedance-2 models on Polza.ai, supporting text-to-video and image-to-video with polling for completion.
README
Seedance Polza MCP Server
mcp-name: io.github.ivanantigravity-lgtm/seedance-polza-mcp-server
MCP сервер для генерации видео через bytedance/seedance-2 (и другие Seedance-модели) на Polza.ai.
Что умеет
- text-to-video и image-to-video генерация
- чтение статуса генерации
- polling до готовности видео
- возвращает компактный результат (id, статус, url, usage, warnings)
Что нужно для установки
Claude DesktopилиClaude Codeuv- Python 3.11+
POLZA_AI_API_KEY— ключ берётся на polza.ai/dashboard/api-keys
Поставить uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
Установка за 2 минуты (через PyPI + uvx)
Claude Code / VS Code
Создай .mcp.json в корне проекта:
{
"mcpServers": {
"seedance-polza": {
"command": "uvx",
"args": ["seedance-polza-mcp-server@latest"],
"env": {
"POLZA_AI_API_KEY": "your-polza-api-key-here"
}
}
}
}
Перезапусти Claude Code.
Claude Desktop (macOS)
Файл ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"seedance-polza": {
"command": "uvx",
"args": ["seedance-polza-mcp-server@latest"],
"env": {
"POLZA_AI_API_KEY": "your-polza-api-key-here"
}
}
}
}
Claude Desktop (Windows)
Файл: %APPDATA%\Claude\claude_desktop_config.json. Содержимое идентичное.
Как проверить, что работает
После перезапуска Claude попроси:
Сделай через seedance короткое видео: закат над океаном, 16:9, 5 секунд
Claude должен вызвать seedance_create_video и дождаться готовности через seedance_wait_for_completion.
Tools
seedance_create_video— запустить генерациюseedance_get_status— проверить статус поidseedance_wait_for_completion— ждать polling-ом до готовностиseedance_model_guide— краткая памятка по параметрам
Дефолты
- модель:
bytedance/seedance-2 - polling interval:
8секунд - max wait:
900секунд
Переменные окружения
| Переменная | Обязательная | По умолчанию |
|---|---|---|
POLZA_AI_API_KEY |
да | — |
POLZA_BASE_URL |
нет | https://polza.ai/api/v1 |
SEEDANCE_MODEL |
нет | bytedance/seedance-2 |
SEEDANCE_POLL_INTERVAL |
нет | 8 |
SEEDANCE_MAX_WAIT |
нет | 900 |
LOG_LEVEL |
нет | INFO |
Поддерживаемые входные параметры
Базовые параметры под видео:
promptaspect_ratio(16:9,9:16,1:1,4:3,3:4,21:9и т.д.)resolution(480p,720p,1080p)duration(5s,10s,15s— зависит от модели)images— референсы для image-to-videovideos— референсы для video-to-videoseedasyncuser
Формат images / videos:
{ "type": "url", "data": "https://example.com/file.png" }
или
{ "type": "base64", "data": "data:image/png;base64,..." }
Что возвращает сервер
Сервер не делает лишней магии. Он возвращает:
idгенерацииstatusmodelusage(в том числеcost_rub)urlрезультата, если видео готовоwarnings/errorпри проблемах
Локальная разработка
git clone https://github.com/ivanantigravity-lgtm/seedance-polza-mcp-server.git
cd seedance-polza-mcp-server
uv sync
POLZA_AI_API_KEY=your_key uv run python -m seedance_polza_mcp_server.server
Важно
Этот сервер не гоняет live preview и не тратит токены сам по себе.
Генерация запускается только по явному вызову tool.
Лицензия
MIT.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.