sora-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SORA_API_KEY | Yes | Your Sora API key from api.tu-zi.com |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_videoA | 使用 Sora 模型生成视频并保存到指定路径(异步任务模式)。 通过 api.tu-zi.com 官方格式接口调用 Sora 视频生成模型。 采用任务提交 → 轮询状态 → 下载视频的异步流程。 ⚠️ 重要提示:
Args: prompt: 视频生成提示词,描述越详细越好 output_path: 输出视频文件路径(.mp4) orientation: 视频方向,'portrait'(竖屏)或 'landscape'(横屏) model: Sora 模型名称,默认 'sora-2'(最新版本) ctx: MCP 上下文,用于日志记录 Returns: 包含生成结果的字典: - status: "ok" 或 "error" - output_path: 保存的视频文件路径(绝对路径) - file_size_bytes: 文件大小(字节) - prompt: 使用的提示词 - orientation: 视频方向 - model: 使用的模型名称 - task_id: 任务 ID - video_url: 视频下载 URL - size: 视频尺寸规格(如 "small") - seconds: 视频时长(秒) - created_at: 创建时间戳 - message: 错误信息(失败时) Examples: >>> # 生成竖屏视频(使用默认 sora-2 模型) >>> result = await generate_video( ... prompt="一只可爱的橘猫在阳光下缓慢行走", ... output_path="videos/cat_walking.mp4" ... ) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of overlap or mis-selection. The single tool's purpose is clearly defined a video generation.
The sole tool uses a clear snake_case verb_noun convention: generate_video. With no other tools there are no conflicting naming patterns to confuse an agent.
A single tool makes the server feel minimal and borderline thin for a video-generation service. However, the tool does encapsulate the full submit/poll/download workflow, so the count is not clearly inadequate.
The core video generation lifecycle is covered end-to-end within generate_video, including async polling and file saving. Minor gaps exist, such as no separate task-status or cancellation endpoint, but agents can still accomplish the primary use case without dead ends.