Skip to main content
Glama

SoraMCP

PyPI version PyPI downloads Python 3.10+ License: MIT MCP

AceDataCloud API를 통해 Sora를 사용하는 AI 비디오 생성용 Model Context Protocol (MCP) 서버입니다.

Claude, VS Code 또는 MCP 호환 클라이언트에서 직접 AI 비디오를 생성하세요.

주요 기능

  • 텍스트-비디오 - 텍스트 설명으로 비디오 생성

  • 이미지-비디오 - 이미지를 애니메이션화하고 참조 이미지로 비디오 생성

  • 캐릭터 비디오 - 서로 다른 장면에서 캐릭터 재사용

  • 비동기 생성 - 프로덕션 워크플로우를 위한 웹훅 콜백

  • 다양한 방향 - 가로 및 세로 비디오 지원

  • 작업 추적 - 생성 진행 상황 모니터링 및 결과 검색

Related MCP server: Sora2 MCP

도구 참조

도구

설명

sora_generate_video

Sora를 사용하여 텍스트 프롬프트에서 AI 비디오를 생성합니다.

sora_generate_video_from_image

Sora를 사용하여 참조 이미지에서 AI 비디오를 생성합니다 (이미지-비디오).

sora_generate_video_with_character

참조 비디오의 캐릭터를 포함하는 AI 비디오를 생성합니다.

sora_generate_video_async

콜백 알림과 함께 비동기적으로 AI 비디오를 생성합니다.

sora_generate_video_v2

Sora 버전 2(파트너 채널)를 사용하여 AI 비디오를 생성합니다.

sora_generate_video_v2_async

콜백과 함께 Sora 버전 2를 사용하여 비동기적으로 AI 비디오를 생성합니다.

sora_get_task

비디오 생성 작업의 상태와 결과를 조회합니다.

sora_get_tasks_batch

여러 비디오 생성 작업을 한 번에 조회합니다.

sora_list_models

사용 가능한 모든 Sora 모델과 기능을 나열합니다.

sora_list_actions

사용 가능한 모든 Sora API 작업과 해당 도구를 나열합니다.

빠른 시작

1. API 토큰 받기

  1. AceDataCloud 플랫폼에 가입하세요.

  2. API 문서 페이지로 이동하세요.

  3. **"Acquire"**를 클릭하여 API 토큰을 받으세요.

  4. 아래에서 사용할 토큰을 복사하세요.

2. 호스팅 서버 사용 (권장)

AceDataCloud는 관리형 MCP 서버를 호스팅하므로 별도의 로컬 설치가 필요하지 않습니다.

엔드포인트: https://sora.mcp.acedata.cloud/mcp

모든 요청에는 Bearer 토큰이 필요합니다. 1단계에서 받은 API 토큰을 사용하세요.

Claude.ai

OAuth를 사용하여 Claude.ai에 직접 연결하세요 (API 토큰 불필요):

  1. Claude.ai 설정 → 통합 → 더 추가하기로 이동하세요.

  2. 서버 URL 입력: https://sora.mcp.acedata.cloud/mcp

  3. OAuth 로그인 절차를 완료하세요.

  4. 대화에서 도구를 사용하기 시작하세요.

Claude Desktop

설정 파일에 추가하세요 (~/Library/Application Support/Claude/claude_desktop_config.json - macOS 기준):

{
  "mcpServers": {
    "sora": {
      "type": "streamable-http",
      "url": "https://sora.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

Cursor / Windsurf

MCP 설정에 추가하세요 (.cursor/mcp.json 또는 .windsurf/mcp.json):

{
  "mcpServers": {
    "sora": {
      "type": "streamable-http",
      "url": "https://sora.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

VS Code (Copilot)

VS Code MCP 설정에 추가하세요 (.vscode/mcp.json):

{
  "servers": {
    "sora": {
      "type": "streamable-http",
      "url": "https://sora.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

또는 VS Code용 Ace Data Cloud MCP 확장 프로그램을 설치하세요. 15개의 모든 MCP 서버를 클릭 한 번으로 설정할 수 있습니다.

JetBrains IDEs

  1. **설정 → 도구 → AI Assistant → Model Context Protocol (MCP)**로 이동하세요.

  2. 추가 → HTTP를 클릭하세요.

  3. 다음을 붙여넣으세요:

{
  "mcpServers": {
    "sora": {
      "url": "https://sora.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

Claude Code

Claude Code는 MCP 서버를 기본적으로 지원합니다:

claude mcp add sora --transport http https://sora.mcp.acedata.cloud/mcp \
  -h "Authorization: Bearer YOUR_API_TOKEN"

또는 프로젝트의 .mcp.json에 추가하세요:

{
  "mcpServers": {
    "sora": {
      "type": "streamable-http",
      "url": "https://sora.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

Cline

Cline의 MCP 설정에 추가하세요 (.cline/mcp_settings.json):

{
  "mcpServers": {
    "sora": {
      "type": "streamable-http",
      "url": "https://sora.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

Amazon Q Developer

MCP 구성에 추가하세요:

{
  "mcpServers": {
    "sora": {
      "type": "streamable-http",
      "url": "https://sora.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

Roo Code

Roo Code MCP 설정에 추가하세요:

{
  "mcpServers": {
    "sora": {
      "type": "streamable-http",
      "url": "https://sora.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_TOKEN"
      }
    }
  }
}

Continue.dev

.continue/config.yaml에 추가하세요:

mcpServers:
  - name: sora
    type: streamable-http
    url: https://sora.mcp.acedata.cloud/mcp
    headers:
      Authorization: "Bearer YOUR_API_TOKEN"

Zed

Zed 설정에 추가하세요 (~/.config/zed/settings.json):

{
  "language_models": {
    "mcp_servers": {
      "sora": {
        "url": "https://sora.mcp.acedata.cloud/mcp",
        "headers": {
          "Authorization": "Bearer YOUR_API_TOKEN"
        }
      }
    }
  }
}

cURL 테스트

# Health check (no auth required)
curl https://sora.mcp.acedata.cloud/health

# MCP initialize
curl -X POST https://sora.mcp.acedata.cloud/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'

3. 로컬 실행 (대안)

자신의 컴퓨터에서 서버를 실행하려면:

# Install from PyPI
pip install mcp-sora
# or
uvx mcp-sora

# Set your API token
export ACEDATACLOUD_API_TOKEN="your_token_here"

# Run (stdio mode for Claude Desktop / local clients)
mcp-sora

# Run (HTTP mode for remote access)
mcp-sora --transport http --port 8000

Claude Desktop (로컬)

{
  "mcpServers": {
    "sora": {
      "command": "uvx",
      "args": ["mcp-sora"],
      "env": {
        "ACEDATACLOUD_API_TOKEN": "your_token_here"
      }
    }
  }
}

Docker (셀프 호스팅)

docker pull ghcr.io/acedatacloud/mcp-sora:latest
docker run -p 8000:8000 ghcr.io/acedatacloud/mcp-sora:latest

클라이언트는 자신의 Bearer 토큰으로 연결하며, 서버는 각 요청의 Authorization 헤더에서 토큰을 추출합니다.

사용 가능한 도구

비디오 생성

도구

설명

sora_generate_video

텍스트 프롬프트에서 비디오 생성

sora_generate_video_from_image

참조 이미지에서 비디오 생성

sora_generate_video_with_character

참조 비디오의 캐릭터로 비디오 생성

sora_generate_video_async

콜백 알림과 함께 비디오 생성

작업

도구

설명

sora_get_task

단일 작업 상태 조회

sora_get_tasks_batch

여러 작업 한 번에 조회

정보

도구

설명

sora_list_models

사용 가능한 Sora 모델 나열

sora_list_actions

사용 가능한 API 작업 나열

사용 예시

프롬프트에서 비디오 생성

User: Create a video of a sunset over mountains

Claude: I'll generate a sunset video for you.
[Calls sora_generate_video with prompt="A beautiful sunset over mountains..."]

이미지에서 생성

User: Animate this image of a city skyline

Claude: I'll bring this image to life.
[Calls sora_generate_video_from_image with image_urls and prompt]

캐릭터 기반 비디오

User: Use the robot character in a new scene

Claude: I'll create a new scene with the robot character.
[Calls sora_generate_video_with_character with character_url and prompt]

사용 가능한 모델

모델

최대 지속 시간

품질

기능

sora-2

15초

좋음

표준 생성

sora-2-pro

25초

최고

더 높은 품질, 더 긴 비디오

비디오 옵션

크기:

  • small - 낮은 해상도, 빠른 생성

  • large - 높은 해상도 (권장)

방향:

  • landscape - 16:9 (YouTube, 프레젠테이션)

  • portrait - 9:16 (TikTok, Instagram Stories)

지속 시간:

  • 10초 - 모든 모델

  • 15초 - 모든 모델

  • 25초 - sora-2-pro 전용

구성

환경 변수

변수

설명

기본값

ACEDATACLOUD_API_TOKEN

AceDataCloud API 토큰

필수

ACEDATACLOUD_API_BASE_URL

API 기본 URL

https://api.acedata.cloud

ACEDATACLOUD_OAUTH_CLIENT_ID

OAuth 클라이언트 ID (호스팅 모드)

—

ACEDATACLOUD_PLATFORM_BASE_URL

플랫폼 기본 URL

https://platform.acedata.cloud

SORA_DEFAULT_MODEL

기본 모델

sora-2

SORA_DEFAULT_SIZE

기본 비디오 크기

large

SORA_DEFAULT_DURATION

기본 지속 시간 (초)

15

SORA_DEFAULT_ORIENTATION

기본 방향

landscape

SORA_REQUEST_TIMEOUT

요청 타임아웃 (초)

3600

LOG_LEVEL

로깅 레벨

INFO

명령줄 옵션

mcp-sora --help

Options:
  --version          Show version
  --transport        Transport mode: stdio (default) or http
  --port             Port for HTTP transport (default: 8000)

개발

개발 환경 설정

# Clone repository
git clone https://github.com/AceDataCloud/SoraMCP.git
cd SoraMCP

# Create virtual environment
python -m venv .venv
source .venv/bin/activate  # or `.venv\Scripts\activate` on Windows

# Install with dev dependencies
pip install -e ".[dev,test]"

테스트 실행

# Run unit tests
pytest

# Run with coverage
pytest --cov=core --cov=tools

# Run integration tests (requires API token)
pytest tests/test_integration.py -m integration

코드 품질

# Format code
ruff format .

# Lint code
ruff check .

# Type check
mypy core tools

빌드 및 배포

# Install build dependencies
pip install -e ".[release]"

# Build package
python -m build

# Upload to PyPI
twine upload dist/*

프로젝트 구조

SoraMCP/
├── core/                   # Core modules
│   ├── __init__.py
│   ├── client.py          # HTTP client for Sora API
│   ├── config.py          # Configuration management
│   ├── exceptions.py      # Custom exceptions
│   ├── server.py          # MCP server initialization
│   ├── types.py           # Type definitions
│   └── utils.py           # Utility functions
├── tools/                  # MCP tool definitions
│   ├── __init__.py
│   ├── video_tools.py     # Video generation tools
│   ├── task_tools.py      # Task query tools
│   └── info_tools.py      # Information tools
├── prompts/                # MCP prompt templates
│   └── __init__.py
├── tests/                  # Test suite
│   ├── conftest.py
│   ├── test_client.py
│   ├── test_config.py
│   ├── test_integration.py
│   └── test_utils.py
├── deploy/                 # Deployment configs
│   └── production/
│       ├── deployment.yaml
│       ├── ingress.yaml
│       └── service.yaml
├── .env.example           # Environment template
├── .gitignore
├── CHANGELOG.md
├── Dockerfile             # Docker image for HTTP mode
├── docker-compose.yaml    # Docker Compose config
├── LICENSE
├── main.py                # Entry point
├── pyproject.toml         # Project configuration
└── README.md

API 참조

이 서버는 AceDataCloud Sora API를 래핑합니다:

기여

기여를 환영합니다! 다음 단계를 따라주세요:

  1. 저장소를 포크하세요.

  2. 기능 브랜치를 만드세요 (git checkout -b feature/amazing).

  3. 변경 사항을 커밋하세요 (git commit -m 'Add amazing feature').

  4. 브랜치에 푸시하세요 (git push origin feature/amazing).

  5. 풀 리퀘스트를 여세요.

라이선스

MIT 라이선스 - 자세한 내용은 LICENSE를 참조하세요.

링크


AceDataCloud에서 사랑을 담아 제작함

Available Tools

10 tools
sora_generate_videoAInspect

Generate an AI video from a text prompt using Sora.

This is the primary way to create videos - describe what you want and Sora
will generate a video matching your description.

Use this when:
- You want to generate a video from a text description
- You don't have reference images
- You want creative AI-generated video content

For image-to-video generation, use sora_generate_video_from_image instead.
For character-based video generation, use sora_generate_video_with_character.

Returns:
    Task ID and generated video information including URLs and state.

Inputs: prompt (required), size, model, duration, +1 more. Returns: result

sora_generate_video_asyncAInspect

Generate an AI video asynchronously with callback notification.

This is useful for long-running video generation tasks. Instead of waiting
for the video to complete, you'll receive a callback at your specified URL
when the generation is finished.

Use this when:
- You don't want to wait for the generation to complete
- You have a webhook endpoint to receive results
- You're integrating with an async workflow

The callback will receive a POST request with the same response format
as the synchronous generation tools.

Returns:
    Task ID that you can use to correlate with the callback.

Inputs: prompt (required), callback_url (required), size, model, +3 more. Returns: result

sora_generate_video_from_imageAInspect

Generate an AI video from reference images using Sora (Image-to-Video).

This allows you to animate or create videos based on provided images.
The AI will use the images as visual references for the generated video.

Use this when:
- You have reference images you want to animate
- You want the video to match a specific visual style
- You want to bring static images to life

Returns:
    Task ID and generated video information including URLs and state.

Inputs: prompt (required), image_urls (required), size, model, +2 more. Returns: result

sora_generate_video_v2AInspect

Generate an AI video using Sora Version 2 (partner channel).

Version 2 offers shorter video durations (4/8/12 seconds) with
precise pixel-based resolution control. This is ideal for quick
video generation with specific resolution requirements.

Use this when:
- You need precise pixel resolution control (e.g., 1280x720)
- You want shorter videos (4, 8, or 12 seconds)
- You want to use the partner channel for generation

For longer videos (10-25 seconds) or character-based generation,
use the version 1 tools (sora_generate_video, etc.) instead.

Returns:
    Task ID and generated video information including URLs and state.

Inputs: prompt (required), size, model, duration, +1 more. Returns: result

sora_generate_video_v2_asyncAInspect

Generate an AI video asynchronously using Sora Version 2 with callback.

Similar to sora_generate_video_v2 but returns immediately with a task ID.
The result will be POSTed to your callback URL when generation completes.

Use this when:
- You don't want to wait for the generation to complete
- You have a webhook endpoint to receive results
- You're integrating with an async workflow

Returns:
    Task ID that you can use to correlate with the callback.

Inputs: prompt (required), callback_url (required), size, model, +2 more. Returns: result

sora_generate_video_with_characterAInspect

Generate an AI video featuring a character from a reference video.

This allows you to create new videos featuring a specific character
extracted from another video. The character will be placed in the
new scene described by the prompt.

IMPORTANT: The reference video must NOT contain real people.
Only animated or digital characters are supported.

Use this when:
- You want to reuse a character in different scenes
- You're creating a series with the same character
- You want consistent character appearance across videos

Returns:
    Task ID and generated video information including URLs and state.

Inputs: prompt (required), character_url (required), size, model, +4 more. Returns: result

sora_get_taskAInspect

Query the status and result of a video generation task.

Use this to check if a generation is complete and retrieve the resulting
video URLs and metadata.

Use this when:
- You want to check if a generation has completed
- You need to retrieve video URLs from a previous generation
- You want to get the full details of a generated video

Task states:
- 'pending': Generation is still in progress
- 'succeeded': Generation finished successfully
- 'failed': Generation failed (check error message)

Returns:
    Task status and generated video information including URLs and state.

Inputs: task_id (required). Returns: result

sora_get_tasks_batchAInspect

Query multiple video generation tasks at once.

Efficiently check the status of multiple tasks in a single request.
More efficient than calling sora_get_task multiple times.

Use this when:
- You have multiple pending generations to check
- You want to get status of several videos at once
- You're tracking a batch of generations

Returns:
    Status and video information for all queried tasks.

Inputs: task_ids (required). Returns: result

sora_list_actionsAInspect

List all available Sora API actions and corresponding tools.

Reference guide for what each action does and which tool to use.
Helpful for understanding the full capabilities of the Sora MCP.

Returns:
    Categorized list of all actions and their corresponding tools.

Inputs: no named parameters. Returns: result

sora_list_modelsAInspect

List all available Sora models and their capabilities.

Shows all available model versions with their limits, features, and
recommended use cases. Use this to understand which model to choose
for your video generation.

Returns:
    Table of all models with their version, limits, and features.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each generation tool targets a distinct input method (text, image, character, v2) and synchronous/asynchronous modes are clearly separated. Descriptions explicitly note differences, so an agent can easily select the appropriate tool.

    Naming Consistency5/5

    All tools follow a consistent sora_verb_noun pattern in snake_case (e.g., sora_generate_video, sora_get_task). The version suffixes (_v2) are appended uniformly, maintaining predictability.

    Tool Count5/5

    With 10 tools, the set is well-scoped for a video generation service. It covers generation variants, status checks, and listing actions/models without being bloated or too sparse.

    Completeness4/5

    The tool surface covers generation, status retrieval (single and batch), and informational queries. A minor gap is the lack of a cancellation tool for pending tasks, but it's not critical for core workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers