ShortGenius

OpenCode integration

Generate videos, images, and speech with ShortGenius in OpenCode

Add ShortGenius to OpenCode as a remote MCP server and the open-source terminal agent can draft scripts, render videos, generate images and speech, and manage your account from its TUI.

What is OpenCode?

OpenCode is an open-source terminal coding agent by Anomaly with a rich TUI that works with 75+ LLMs. Add the ShortGenius MCP server to its config and OpenCode can do real creative work: drafting scripts, generating videos, images, and speech, starting recurring series, and managing your library, whichever model you run it with.

Create in plain English

Describe the result and OpenCode drives ShortGenius for you — no clicking through screens, no glue code.

Real voices, styles, and music

OpenCode taps your voices, image styles, and soundtrack library, so every render is built from real assets.

Draft to render in one request

Chain scripting, generation, and publishing into a single turn instead of clicking through screens.

What you can do with OpenCode

Once OpenCode is connected, you can drive ShortGenius with plain-language prompts.

Draft video scripts from a topic, URL, or your own draft
Generate videos, images, and text-to-speech on demand
Start scheduled recurring video series
Browse your videos, voices, and music
Check your credit balance and publishing connections
Subscribe to lifecycle webhooks for media events

Connect ShortGenius to OpenCode

One config block, then authenticate.

One-step setup

Fastest path: paste this into OpenCode and it connects ShortGenius itself.

Fetch https://shortgenius.com/prompt.md
  1. 1

    Add the MCP server

    Merge this into opencode.json in your project root, or into ~/.config/opencode/opencode.json to enable it everywhere.

    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "shortgenius": {
          "type": "remote",
          "url": "https://app.shortgenius.com/api/mcp",
          "enabled": true
        }
      }
    }
  2. 2

    Authenticate

    Run this and complete the browser sign-in with your ShortGenius account.

    opencode mcp auth shortgenius
  3. 3

    Verify the connection

    Confirm shortgenius shows up as connected.

    opencode mcp list
  4. 4

    Try a prompt

    Open the OpenCode TUI and ask it to draft a script or generate media; the ShortGenius tools appear in its tool list.

Example prompts

Drop any of these into OpenCode after connecting.

Draft a 30-second video script about our new product launch from this blog URL

Generate a vertical video from that script and let me review it

Create a square image and a voiceover for my next TikTok

Start a recurring weekly series summarizing our release notes

Check my ShortGenius credit balance and which accounts are connected

Frequently Asked Questions

Add the ShortGenius MCP server to opencode.json (project root) or ~/.config/opencode/opencode.json as a remote server, then run "opencode mcp auth shortgenius" and complete the browser sign-in. Verify with "opencode mcp list".

More ways to connect

ShortGenius speaks MCP, REST, and webhooks.

Ready to connect OpenCode?

Create a free account and generate an API key to get started in minutes.