AgentsOpenCode MCP

Generate images, PDFs and videos in OpenCode.

Add Orshot to OpenCode to render images, PDFs and videos from your templates, publish straight to social, and post at the best time to grow engagement.

30 free credits · no credit card · hosted MCP, no local install

What Orshot for Agents can do for you:

  • Generate on-brand templates
  • Render carousels, videos from your data
  • Manage your brand assets
  • Plug API, Automation Workflows
  • Post, draft, schedule social content
  • Analyze your social metrics
  • Tell your best time to post
  • See what gets engagement, what doesn't
  • Get every number you need to grow
OpenCode CLI
opencode mcp add orshot --url https://mcp.orshot.com/mcp
Or paste this config
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "orshot": {
      "type": "remote",
      "url": "https://mcp.orshot.com/mcp",
      "enabled": true
    }
  }
}

Paste into opencode.json.

No client ID to paste. OpenCode sees the 401, registers itself over dynamic client registration and opens your browser. Re-authenticate any time with `opencode mcp auth orshot`.

Full docs
Right in your workflow

One prompt, assets in your build.

OpenCode calls the Orshot tools inline, renders from your templates, and hands back URLs you can drop straight into your code, CI or CDN.

  • Generate certificates, invoices and receipts as PDFs
  • Batch-render assets from a CSV or database, one per row
  • Pipe every render straight into your own S3 or CDN
  • Render an OG image and reference it in your meta tags
See all agent capabilities

Render this week's quote graphic from my template and post it to LinkedIn.

Rendered and posted to LinkedIn · OpenCode replies with the links
Interactive previews

Every render comes back ready to ship.

In OpenCode, renders come back as links you can open. In the Claude and ChatGPT apps, the same results come back as interactive cards you can flip through.

  • Every render comes back as a link OpenCode can open
  • The same Orshot tools, whatever your MCP client
  • Interactive cards in the Claude and ChatGPT desktop and web apps
Bali travel poster variant
Kyoto travel poster variant
New York travel poster variant
1 / 3
Launch poster · 3 variantsRendered from your template + data
Create

On-brand carousels, documents and reels, from a prompt.

Describe the piece and OpenCode builds it from your templates: a LinkedIn carousel, a one-page document, a reel cover, already in your fonts and colors.

Add a discount-badge parameter to my sale-banner template.

Create an Instagram post template with a headline, subtitle and product image.

Agent session
Completed
You

Build a carousel for this week's drops: the Amber Haze restock, the graphic tee and the site launch, CTA on the last slide.

Agent
orshot_create_template_design
Amber Haze restock slide
Graphic tee drop slide
Website launch slide
1 / 3
Template #4821 · Drops carouselBrand fonts + colors from Acme's kit
Render

Render images, video and PDFs from your data source.

Point OpenCode at a Google Sheet, an Airtable or a list of rows and it renders one asset per record from a template you designed once: product shots, certificates, thumbnails, the lot.

Turn my product template into a short MP4 with the hero video swapped in.

Render the launch template as a 1080×1920 story and a 1200×630 OG image.

Agent session
Completed
You

Render a quote card for every review in rows A1–A500: quote, name and photo.

Agent
orshot_generate_image × 500
Customer review card
Team quote card
Motivation quote card
1 / 3
500 cards in 1m 52sSigned URLs · avg 220 ms per render
Publish

Post to 15+ social platforms, via OpenCode and API.

OpenCode posts to the accounts you have connected, holds a draft for you to read first, or schedules a whole week for the times and timezone you name. Every one of those actions is an API call too.

Render this post and publish it to Instagram and LinkedIn.

Render the announcement and save it as a draft to all my connected accounts.

Agent session
Completed
You

Render the Employee of the Month post for Marcus and publish it to our Instagram and LinkedIn.

Agent
orshot_list_social_accounts
orshot_generate_image
orshot_publish_social_post
Employee of the month postinstagram+412reachlinkedin+38%engagement
Live
Posted to Instagram + LinkedInLive now · caption and first comment set
Automate

Automate the loop, or drop the API into your codebase.

Have OpenCode wire up an Orshot Workflow that keeps running after the chat: a trigger, a data source, your template and a destination. Or skip OpenCode and call the REST API straight from your own app.

Set up a workflow that renders a fresh OG image whenever I add a blog row in Airtable.

Run my weekly-report workflow and show me the last run's outputs.

Agent session
Completed
You

Set up a workflow: every Friday, render a quote card from the newest review row and post it to our Slack.

Agent
orshot_list_workflow_nodes
orshot_create_workflow
orshot_run_workflow
New review row
Render quote card
Post to Slack
Live · next run Fri 09:00
Review cards → SlackTest run passed · scheduled Fridays
Security and data handling

Scoped by OAuth, nothing else touched.

OAuth 2.0, standards-compliant

Authorization code with PKCE and dynamic client registration, per the MCP Authorization spec. Tokens stay in your MCP client; the server does not store them.

Scoped to your workspace

Each connection accesses only the Orshot workspaces of the account that authorized it. Disconnect from your client at any time to end access.

Tool calls only

The server receives tool calls and their inputs, nothing else. It never reads your conversation, files or memory, and it only talks to Orshot's own API.

Annotated, permission-aware tools

Every tool declares read-only or write behavior, and destructive actions like delete and publish are marked so your client asks before running them.

Full details in the MCP server reference, the help center, the privacy policy and the terms of service. Questions from your security team? Write to hi@orshot.com.

FAQ

Using Orshot with OpenCode

Do I need an API key to use Orshot in OpenCode?

No. OpenCode detects that the Orshot server requires auth, registers itself over dynamic client registration and opens your browser to authorize. If you'd rather use a key, set oauth to false and pass an Orshot workspace API key in the Authorization header.

Where does OpenCode store the Orshot config?

Under the mcp block of your opencode.json, either at the project root or in your global config. Tokens are stored separately in ~/.local/share/opencode/mcp-auth.json.

Can I enable Orshot for only one OpenCode agent?

Yes. Disable it globally with an "orshot*": false entry under tools, then re-enable it under that agent's own tools block. Useful for keeping the tool surface small on agents that never touch visuals.

How do I debug a failed Orshot connection in OpenCode?

Run `opencode mcp debug orshot`. It reports auth status, tests HTTP connectivity and walks the OAuth discovery flow, which is usually enough to spot the problem.

What can OpenCode do with Orshot once connected?

You can ask OpenCode in plain language to render images, PDFs and video from your Orshot templates, resize one design to every social format, and publish the result to social. No image infrastructure to build.

Is the Orshot MCP server free to use?

Connecting is free. Renders draw from your Orshot plan, and every account starts with 30 free credits and no credit card.

What data can the Orshot MCP server access?

Only the Orshot workspaces of the account that authorized it, over OAuth 2.0 with PKCE. The server receives tool calls and their inputs, never your conversation or files, and every call goes to Orshot's own API. Disconnect from your client at any time to end access.

How are risky actions like delete or publish handled?

Every tool declares whether it reads or writes, and destructive actions carry an explicit annotation, so MCP clients ask for confirmation before running them. Read-only tools like listing templates can run without a prompt.

Can OpenCode post to my social accounts?

Yes, once you connect that account in your Orshot dashboard. After it is connected, OpenCode can draft, schedule or publish to it. Rendering and everything else works without connecting any social account.

Give OpenCode your templates. 30 free credits to try.

No credit card. Connect the hosted MCP server, then let OpenCode render images, PDFs and video from your Orshot templates.