Skip to main content
Glama
gpt-img-2
by gpt-img-2

OpenSora 2 Prompt MCP

A deterministic, read-only MCP server for designing video prompts and shot plans. It complements the independent resources at OpenSora2.com and does not generate videos, call model providers, access accounts, or spend credits.

Tools

  • build_video_prompt turns a rough idea into a structured prompt pack.

  • plan_shots creates a timed 1–6 shot sequence with continuity anchors.

  • diagnose_prompt finds missing motion, camera, lighting, and continuity controls.

  • get_resources returns canonical OpenSora2.com guides and workflow pages.

All tools are deterministic and declare read-only MCP annotations. No API key is required.

Related MCP server: Enhanced Multimedia Analysis MCP

Install

Run directly from GitHub:

{
  "mcpServers": {
    "opensora2": {
      "command": "npx",
      "args": ["-y", "github:gpt-img-2/opensora2-prompt-mcp"]
    }
  }
}

Or clone and run locally:

pnpm install
pnpm build
node dist/index.js

Optional environment variable:

  • OPENSORA2_APP_BASE_URL: changes the resource-link origin. Defaults to https://opensora2.com.

Example inputs

Build a prompt:

{
  "idea": "A red ceramic teapot steams on a rain-streaked cafe window",
  "workflow": "image-to-video",
  "camera": "slow 10 cm push-in",
  "motion": "steam curls upward while raindrops slide down the glass",
  "referenceConstraints": "teapot silhouette, glaze pattern, and window composition"
}

Plan shots:

{
  "idea": "A trail shoe crosses wet rock and lands in a shallow stream",
  "shotCount": 3,
  "totalDurationSeconds": 9,
  "continuityAnchor": "shoe color, laces, runner wardrobe, and travel direction"
}

OpenClaw Skill

The companion Skill is in openclaw/opensora-video-prompt-architect. It works as a text-only workflow without this MCP; connecting the MCP adds deterministic prompt-building and diagnostic tools.

Development

pnpm validate
pnpm test:smoke

This project is an independent prompt-design utility and is not the official Open-Sora project or an official model implementation.

License

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Find your AI agent's likely failure mode, get runtime settings, and clarify ambiguous prompts.

  • Build and run visual creative-production workflows from your AI agent.

  • Generate logos, social posts, app screenshots, comic panels & visual-novel assets from prompts.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gpt-img-2/opensora2-prompt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server