Doubao MCP Server
MCP server that exposes tools for creating and querying Doubao generation tasks via the
doubao-seedance-1-0-pro-250528 model.
Prerequisites
- Python 3.10+
- Conda environment
doubao-mcp(or any environment with the dependencies installed) - Doubao Ark API key exported as
ARK_API_KEY
Installation
conda activate doubao-mcp
pip install -e .
Running the server
-
Set the API key before launching:
$env:ARK_API_KEY = "<your_api_key>"
-
Start the MCP server (stdio):
doubao-mcp-serveror run the module directly:
python -m doubao_mcp.server
Tool reference
create_viceo
| Parameter | Type | Description |
|---|---|---|
text |
str | Required text prompt describing the video storyline. |
ratio |
str? | Optional ratio (for example 16:9). |
resolution |
str? | Optional resolution such as 720p or 1080p. |
duration |
int? | Optional duration in seconds. |
frames_per_second |
int? | Optional frame rate. |
seed |
int? | Optional deterministic seed. |
Returns a structured payload containing the task id, the exact request JSON (only documented fields are sent), the raw Doubao response, plus formatted_request/formatted_response strings for easy viewing.
get_video_result
| Parameter | Type | Description |
|---|---|---|
task_id |
str | Doubao task id returned by create_viceo. |
Returns both the raw JSON payload from GET https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks/<task_id> and a formatted_response string.
Metadata
Release files for doubao-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| doubao_mcp-0.1.1.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| doubao_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / doubao_mcp-0.1.1.tar.gz
| Download URL | doubao_mcp-0.1.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac6b1dc71807a5779dcd48928d2d8ba508972f12784ef6c0d3c38c55b601dad3
|
|
BLAKE2b-256 checksum How to use checksums |
df191a40b53077744917a26d03ca055bdc50a967422512719ca1d7229faedb20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / doubao_mcp-0.1.1-py3-none-any.whl
| Download URL | doubao_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9e8fe6851e83c24b90b305a163e70ad47415741a31452e8bb25f51322b4d91a
|
|
BLAKE2b-256 checksum How to use checksums |
868cc1eeed12697c147c169f642b7384ec6eb650be55efd38425c9e876c7a91b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|