Skip to main content
Glama
Seedance 3.0 MCP Server

Seedance 3.0 MCP Server

by Anil-matcha
README.md
# Seedance 3.0 MCP Server

[![Powered by MuAPI](https://img.shields.io/badge/Powered%20by-MuAPI-6366f1?style=flat-square)](https://muapi.ai)
[![MCP compatible](https://img.shields.io/badge/MCP-compatible-green?style=flat-square)](https://modelcontextprotocol.io)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

A focused [Model Context Protocol](https://modelcontextprotocol.io) server for the **Seedance 3.0 API (Seedance 3 API)** through [MuAPI](https://muapi.ai/seedance-3). Generate Seedance 3.0 text-to-video, image-to-video and reference-to-video from Claude, Cursor, Windsurf and any MCP client. Get a key at [muapi.ai/access-keys](https://muapi.ai/access-keys).

## Included tools

| Tool | MuAPI endpoint | Purpose |
| --- | --- | --- |
| `seedance_3_text_to_video` | `seedance-3-text-to-video` | Video from a text prompt |
| `seedance_3_image_to_video` | `seedance-3-image-to-video` | Animate one image |
| `seedance_3_reference_to_video` | `seedance-3-reference-to-video` | Guide with image, video and audio references |
| `muapi_predict_result` | | Poll a prediction by `request_id` |
| `muapi_account_balance` | | Read MuAPI credit balance |

Endpoint IDs can be overridden with `SEEDANCE3_T2V_ENDPOINT`, `SEEDANCE3_I2V_ENDPOINT` and `SEEDANCE3_REF_ENDPOINT`.

## Quick start

```bash
git clone https://github.com/Anil-matcha/seedance-3-mcp.git
cd seedance-3-mcp
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
export MUAPI_API_KEY=your_muapi_key_here
python mcp_stdio.py
```

## Claude Code

```bash
claude mcp add seedance-3 -- python /absolute/path/to/seedance-3-mcp/mcp_stdio.py
```

## Cursor, Windsurf, Claude Desktop

Copy the `mcp.json` entry, replace the path, and keep the key in your client environment.

```json
{
  "mcpServers": {
    "seedance-3": {
      "command": "python",
      "args": ["/absolute/path/to/seedance-3-mcp/mcp_stdio.py"],
      "env": { "MUAPI_API_KEY": "${MUAPI_API_KEY}" }
    }
  }
}
```

## HTTP bridge

```bash
python mcp_server.py   # http://localhost:8000/docs

curl -X POST http://localhost:8000/mcp/tools/seedance_3_text_to_video/call \
  -H "Authorization: Bearer $MUAPI_API_KEY" -H "Content-Type: application/json" \
  -d '{"arguments": {"prompt": "A red paper boat drifting through a sunlit forest stream", "duration": 5, "aspect_ratio": "16:9", "resolution": "1080p"}}'
```

Poll with `GET /mcp/predictions/{request_id}` or stream at `/mcp/predictions/{request_id}/stream`. Upstream paths are allowlisted.

## Docker

```bash
docker build -t seedance-3-mcp .
docker run --rm -p 8000:8000 -e MUAPI_API_KEY="$MUAPI_API_KEY" seedance-3-mcp
```

## Development

```bash
python -m unittest discover -s tests -v
```

## Related projects

- [Seedance-3-API](https://github.com/Anil-matcha/Seedance-3-API) — Python SDK and developer guide
- [seedance3-comfyui](https://github.com/Anil-matcha/seedance3-comfyui) — ComfyUI nodes
- [n8n-nodes-seedance3](https://github.com/Anil-matcha/n8n-nodes-seedance3) — n8n nodes
- [awesome-seedance-3-api-prompts](https://github.com/SamurAIGPT/awesome-seedance-3-api-prompts) — prompt library
- [seedance-2.5-mcp](https://github.com/Anil-matcha/seedance-2.5-mcp) / [seedance-2-mcp](https://github.com/Anil-matcha/seedance-2-mcp) — earlier generations
- [Seedance-2.5-Spicy-API](https://github.com/Anil-matcha/Seedance-2.5-Spicy-API) — relaxed-moderation tier

> ⚠️ Output must comply with MuAPI's and the underlying provider's terms and applicable law.

<sub>Keywords: Seedance 3.0 MCP, Seedance 3 MCP server, Seedance 3.0 API, Seedance 3 API, Seedance 3.0 Claude, Seedance 3.0 Cursor, Seedance 3.0 API key.</sub>

## License

MIT. See [LICENSE](LICENSE).