{
  "markdown": "# SeedanceMCP\n\n<!-- mcp-name: io.github.AceDataCloud/mcp-seedance -->\n\n[![PyPI version](https://img.shields.io/pypi/v/mcp-seedance.svg)](https://pypi.org/project/mcp-seedance/)\n[![PyPI downloads](https://img.shields.io/pypi/dm/mcp-seedance.svg)](https://pypi.org/project/mcp-seedance/)\n[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![MCP](https://img.shields.io/badge/MCP-Compatible-green.svg)](https://modelcontextprotocol.io)\n\nA [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server for AI video generation using [ByteDance Seedance](https://seedance.ai) through the [AceDataCloud API](https://platform.acedata.cloud).\n\nGenerate AI videos directly from Claude, VS Code, or any MCP-compatible client.\n\n## Features\n\n- **Text to Video** - Create AI-generated videos from text prompts\n- **Image to Video** - Animate images with first frame, last frame, and reference image control\n- **Multiple Models** - Support for Seedance 2.0 (incl. Fast/Mini, multimodal reference), 1.5 Pro, 1.0 Pro, 1.0 Pro Fast, 1.0 Lite T2V/I2V\n- **Multiple Resolutions** - 480p, 720p (default), 1080p, and 4k output (2.5 supports 1080p; 4k: `doubao-seedance-2-0-260128` only)\n- **Flexible Aspect Ratios** - 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, and adaptive\n- **Audio Generation** - Generate synchronized audio for videos (1.5 Pro and 2.0 series)\n- **Service Tiers** - Default (priority) and Flex (cost-effective) processing\n- **Task Tracking** - Monitor generation progress and retrieve results\n\n## Tool Reference\n\n| Tool | Description |\n|------|-------------|\n| `seedance_generate_video` | Generate AI video from a text prompt using ByteDance Seedance. |\n| `seedance_generate_video_from_image` | Generate AI video using reference images with ByteDance Seedance. |\n| `seedance_get_task` | Query the status and result of a video generation task. |\n| `seedance_get_tasks_batch` | Query multiple video generation tasks at once. |\n| `seedance_list_models` | List all available Seedance models with their capabilities and pricing. |\n| `seedance_list_resolutions` | List all available resolutions and aspect ratios for Seedance. |\n| `seedance_list_actions` | List all available Seedance API actions and corresponding tools. |\n\n## Quick Start\n\n### 1. Get Your API Token\n\n1. Sign up at [AceDataCloud Platform](https://platform.acedata.cloud)\n2. Go to the [API documentation page](https://platform.acedata.cloud/documents/seedance-videos)\n3. Click **\"Acquire\"** to get your API token\n4. Copy the token for use below\n\n### 2. Use the Hosted Server (Recommended)\n\nAceDataCloud hosts a managed MCP server — **no local installation required**.\n\n**Endpoint:** `https://seedance.mcp.acedata.cloud/mcp`\n\nAll requests require a Bearer token. Use the API token from Step 1.\n\n#### Claude.ai\n\nConnect directly on [Claude.ai](https://claude.ai) with OAuth — **no API token needed**:\n\n1. Go to Claude.ai **Settings → Integrations → Add More**\n2. Enter the server URL: `https://seedance.mcp.acedata.cloud/mcp`\n3. Complete the OAuth login flow\n4. Start using the tools in your conversation\n\n#### Claude Desktop\n\nAdd to your config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):\n\n```json\n{\n  \"mcpServers\": {\n    \"seedance\": {\n      \"type\": \"streamable-http\",\n      \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n      }\n    }\n  }\n}\n```\n\n#### Cursor / Windsurf\n\nAdd to your MCP config (`.cursor/mcp.json` or `.windsurf/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"seedance\": {\n      \"type\": \"streamable-http\",\n      \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n      }\n    }\n  }\n}\n```\n\n#### VS Code (Copilot)\n\nAdd to your VS Code MCP config (`.vscode/mcp.json`):\n\n```json\n{\n  \"servers\": {\n    \"seedance\": {\n      \"type\": \"streamable-http\",\n      \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n      }\n    }\n  }\n}\n```\n\nOr install the [Ace Data Cloud MCP extension](https://marketplace.visualstudio.com/items?itemName=acedatacloud.acedatacloud-mcp) for VS Code, which registers the hosted MCP servers with one-click setup.\n\n#### JetBrains IDEs\n\n1. Go to **Settings → Tools → AI Assistant → Model Context Protocol (MCP)**\n2. Click **Add** → **HTTP**\n3. Paste:\n\n```json\n{\n  \"mcpServers\": {\n    \"seedance\": {\n      \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n      }\n    }\n  }\n}\n```\n\n\n#### Claude Code\n\nClaude Code supports MCP servers natively:\n\n```bash\nclaude mcp add seedance --transport http https://seedance.mcp.acedata.cloud/mcp \\\n  -h \"Authorization: Bearer YOUR_API_TOKEN\"\n```\n\nOr add to your project's `.mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"seedance\": {\n      \"type\": \"streamable-http\",\n      \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n      }\n    }\n  }\n}\n```\n\n#### Cline\n\nAdd to Cline's MCP settings (`.cline/mcp_settings.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"seedance\": {\n      \"type\": \"streamable-http\",\n      \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n      }\n    }\n  }\n}\n```\n\n#### Amazon Q Developer\n\nAdd to your MCP configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"seedance\": {\n      \"type\": \"streamable-http\",\n      \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n      }\n    }\n  }\n}\n```\n\n#### Roo Code\n\nAdd to Roo Code MCP settings:\n\n```json\n{\n  \"mcpServers\": {\n    \"seedance\": {\n      \"type\": \"streamable-http\",\n      \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n      }\n    }\n  }\n}\n```\n\n#### Continue.dev\n\nAdd to `.continue/config.yaml`:\n\n```yaml\nmcpServers:\n  - name: seedance\n    type: streamable-http\n    url: https://seedance.mcp.acedata.cloud/mcp\n    headers:\n      Authorization: \"Bearer YOUR_API_TOKEN\"\n```\n\n#### Zed\n\nAdd to Zed's settings (`~/.config/zed/settings.json`):\n\n```json\n{\n  \"language_models\": {\n    \"mcp_servers\": {\n      \"seedance\": {\n        \"url\": \"https://seedance.mcp.acedata.cloud/mcp\",\n        \"headers\": {\n          \"Authorization\": \"Bearer YOUR_API_TOKEN\"\n        }\n      }\n    }\n  }\n}\n```\n\n#### cURL Test\n\n```bash\n# Health check (no auth required)\ncurl https://seedance.mcp.acedata.cloud/health\n\n# MCP initialize\ncurl -X POST https://seedance.mcp.acedata.cloud/mcp \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Accept: application/json\" \\\n  -H \"Authorization: Bearer YOUR_API_TOKEN\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-03-26\",\"capabilities\":{},\"clientInfo\":{\"name\":\"test\",\"version\":\"1.0\"}}}'\n```\n\n### 3. Or Run Locally (Alternative)\n\nIf you prefer to run the server on your own machine:\n\n```bash\n# Install from PyPI\npip install mcp-seedance\n# or\nuvx mcp-seedance\n\n# Set your API token\nexport ACEDATACLOUD_API_TOKEN=\"your_token_here\"\n\n# Run (stdio mode for Claude Desktop / local clients)\nmcp-seedance\n\n# Run (HTTP mode for remote access)\nmcp-seedance --transport http --port 8000\n```\n\n#### Claude Desktop (Local)\n\n```json\n{\n  \"mcpServers\": {\n    \"seedance\": {\n      \"command\": \"uvx\",\n      \"args\": [\"mcp-seedance\"],\n      \"env\": {\n        \"ACEDATACLOUD_API_TOKEN\": \"your_token_here\"\n      }\n    }\n  }\n}\n```\n\n#### Docker (Self-Hosting)\n\n```bash\ndocker pull ghcr.io/acedatacloud/mcp-seedance:latest\ndocker run -p 8000:8000 ghcr.io/acedatacloud/mcp-seedance:latest\n```\n\nClients connect with their own Bearer token — the server extracts the token from each request's `Authorization` header.\n\n## Available Tools\n\n### Video Generation\n\n| Tool                                 | Description                                     |\n| ------------------------------------ | ----------------------------------------------- |\n| `seedance_generate_video`            | Generate video from a text prompt               |\n| `seedance_generate_video_from_image` | Generate video using reference/start/end images |\n\n### Tasks\n\n| Tool                       | Description                  |\n| -------------------------- | ---------------------------- |\n| `seedance_get_task`        | Query a single task status   |\n| `seedance_get_tasks_batch` | Query multiple tasks at once |\n\n### Information\n\n| Tool                        | Description                       |\n| --------------------------- | --------------------------------- |\n| `seedance_list_models`      | List available Seedance models    |\n| `seedance_list_resolutions` | List available output resolutions |\n| `seedance_list_actions`     | List available API actions        |\n\n## Usage Examples\n\n### Generate Video from Prompt\n\n```\nUser: Create a video of a cat playing with a ball of yarn\n\nClaude: I'll generate a video for you.\n[Calls seedance_generate_video with prompt=\"A cute cat playfully batting a ball of yarn\"]\n```\n\n### Animate an Image\n\n```\nUser: Turn this image into a video: https://example.com/landscape.jpg\n\nClaude: I'll create a video from your image.\n[Calls seedance_generate_video_from_image with first_frame_url and appropriate prompt]\n```\n\n### Generate with Audio\n\n```\nUser: Create a video of rain falling with sound\n\nClaude: I'll generate a video with synchronized audio.\n[Calls seedance_generate_video with prompt=\"Rain falling on a quiet street\" and generate_audio=True, model=\"doubao-seedance-1-5-pro-251215\"]\n```\n\n## Available Models\n\n| Model                                 | Description       | Features                   |\n| ------------------------------------- | ----------------- | -------------------------- |\n| `doubao-seedance-2-5-260628`          | 2.5               | Up to 30s and 1080p, edit/extend, multimodal reference |\n| `doubao-seedance-2-0-fast-260128`     | 2.0 Fast          | Latest generation fast     |\n| `doubao-seedance-2-0-mini-260615`     | 2.0 Mini          | Latest generation, lightweight, cheapest 2.0 |\n| `doubao-seedance-1-5-pro-251215`      | 1.5 Pro           | Audio generation, T2V, I2V |\n| `doubao-seedance-1-0-pro-250528`      | 1.0 Pro           | High quality T2V, I2V      |\n| `doubao-seedance-1-0-pro-fast-251015` | 1.0 Pro Fast      | Faster generation          |\n| `doubao-seedance-1-0-lite-t2v-250428` | 1.0 Lite T2V      | Lightweight text-to-video  |\n| `doubao-seedance-1-0-lite-i2v-250428` | 1.0 Lite I2V      | Lightweight image-to-video |\n\n## Available Aspect Ratios\n\n| Aspect Ratio | Description          | Use Case                   |\n| ------------ | -------------------- | -------------------------- |\n| `16:9`       | Landscape (default)  | YouTube, TV, presentations |\n| `9:16`       | Portrait             | TikTok, Instagram Reels    |\n| `1:1`        | Square               | Instagram posts            |\n| `4:3`        | Traditional          | Classic video format       |\n| `3:4`        | Portrait traditional | Portrait content           |\n| `21:9`       | Ultrawide            | Cinematic content          |\n| `adaptive`   | Adaptive             | Auto-detect from image     |\n\n## Configuration\n\n### Environment Variables\n\n| Variable                      | Description                 | Default                          |\n| ----------------------------- | --------------------------- | -------------------------------- |\n| `ACEDATACLOUD_API_TOKEN`      | API token from AceDataCloud | **Required**                     |\n| `ACEDATACLOUD_API_BASE_URL`   | API base URL                | `https://api.acedata.cloud`      |\n| `ACEDATACLOUD_OAUTH_CLIENT_ID`  | OAuth client ID (hosted mode) | —                           |\n| `ACEDATACLOUD_PLATFORM_BASE_URL` | Platform base URL            | `https://platform.acedata.cloud` |\n| `SEEDANCE_DEFAULT_MODEL`      | Default model               | `doubao-seedance-2-0-260128` |\n| `SEEDANCE_DEFAULT_RESOLUTION` | Default resolution          | `720p`                           |\n| `SEEDANCE_DEFAULT_RATIO`      | Default aspect ratio        | `16:9`                           |\n| `SEEDANCE_DEFAULT_DURATION`   | Default duration (seconds)  | `5`                              |\n| `SEEDANCE_REQUEST_TIMEOUT`    | Request timeout in seconds  | `1800`                           |\n| `LOG_LEVEL`                   | Logging level               | `INFO`                           |\n\n### Command Line Options\n\n```bash\nmcp-seedance --help\n\nOptions:\n  --version          Show version\n  --transport        Transport mode: stdio (default) or http\n  --port             Port for HTTP transport (default: 8000)\n```\n\n## Development\n\n### Setup Development Environment\n\n```bash\n# Clone repository\ngit clone https://github.com/AceDataCloud/SeedanceMCP.git\ncd SeedanceMCP\n\n# Create virtual environment\npython -m venv .venv\nsource .venv/bin/activate  # or `.venv\\Scripts\\activate` on Windows\n\n# Install with dev dependencies\npip install -e \".[dev,test]\"\n```\n\n### Run Tests\n\n```bash\n# Run unit tests\npytest\n\n# Run with coverage\npytest --cov=core --cov=tools\n\n# Run integration tests (requires API token)\npytest tests/test_integration.py -m integration\n```\n\n### Code Quality\n\n```bash\n# Format code\nruff format .\n\n# Lint code\nruff check .\n\n# Type check\nmypy core tools\n```\n\n### Build & Publish\n\n```bash\n# Install build dependencies\npip install -e \".[release]\"\n\n# Build package\npython -m build\n\n# Upload to PyPI\ntwine upload dist/*\n```\n\n## Project Structure\n\n```\nSeedanceMCP/\n├── core/                   # Core modules\n│   ├── __init__.py\n│   ├── client.py          # HTTP client for Seedance API\n│   ├── config.py          # Configuration management\n│   ├── exceptions.py      # Custom exceptions\n│   ├── server.py          # MCP server initialization\n│   ├── types.py           # Type definitions\n│   └── utils.py           # Utility functions\n├── tools/                  # MCP tool definitions\n│   ├── __init__.py\n│   ├── video_tools.py     # Video generation tools\n│   ├── task_tools.py      # Task query tools\n│   └── info_tools.py      # Information tools\n├── prompts/                # MCP prompts\n│   └── __init__.py        # Prompt templates\n├── tests/                  # Test suite\n│   ├── conftest.py\n│   ├── test_client.py\n│   ├── test_config.py\n│   ├── test_integration.py\n│   └── test_utils.py\n├── deploy/                 # Deployment configs\n│   └── production/\n│       ├── deployment.yaml\n│       ├── ingress.yaml\n│       └── service.yaml\n├── .env.example           # Environment template\n├── .gitignore\n├── CHANGELOG.md\n├── Dockerfile             # Docker image for HTTP mode\n├── docker-compose.yaml    # Docker Compose config\n├── LICENSE\n├── main.py                # Entry point\n├── pyproject.toml         # Project configuration\n└── README.md\n```\n\n## API Reference\n\nThis server wraps the [AceDataCloud Seedance API](https://platform.acedata.cloud/documents/seedance-videos):\n\n- [Seedance Videos API](https://platform.acedata.cloud/documents/seedance-videos) - Video generation\n- [Seedance Tasks API](https://platform.acedata.cloud/documents/seedance-tasks) - Task queries\n\n## Contributing\n\nContributions are welcome! Please:\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing`)\n5. Open a Pull Request\n\n## Documentation\n\n<!-- canonical-documentation -->\n[Documentation](https://platform.acedata.cloud/documents/seedance-mcp)\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n## Links\n\n- [AceDataCloud Platform](https://platform.acedata.cloud)\n- [ByteDance Seedance](https://seedance.ai)\n- [Model Context Protocol](https://modelcontextprotocol.io)\n- [MCP Python SDK](https://github.com/modelcontextprotocol/python-sdk)\n\n---\n\nMade with love by [AceDataCloud](https://platform.acedata.cloud)\n",
  "bytes": 16052,
  "sha": "574cd869c6144fbb32f78b6af15c2f9bc47ebd8e8b59359d679affaa37674941",
  "repo_slug": "acedatacloud/seedancemcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_acedatacloud_mcp_seedance_b6d556fa/readme"
}