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.

100 free credits a month · 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/full
Or paste this config
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "orshot": {
      "type": "remote",
      "url": "https://mcp.orshot.com/full",
      "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
Live from the MCP server

9 in 10 Orshot workspaces now render through an AI agent.

94% of workspaces that rendered in the last 30 days used an agent at least once. Our own accounts are left out.

Orshot
ImagesPDFsVideosSocial posts
17agent apps calling Orshot
215K+agent tool calls in the last 30 days
1.4smedian render when an agent asks
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
Browse agent skills

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
Generate, scale, post

From template to posted, in one ask to OpenCode.

Orshot generates images, PDFs and videos from your templates, renders as many as you need through the API, and posts them to 15+ social platforms. OpenCode runs the whole loop for you.

Your template#4821
Product launch template with a headline, product photo and price
  • headlineSound that moves you
  • photoheadphones.jpg
  • price$249
render
Renders×48 · 1 batch
48 rows from your sheet48 / 48
1:14:59:16MP4PDF
post
Posted
  • @acme.studio

    Today 9:00

    Published
  • @acme

    Fri 18:00

    Scheduled
  • Acme Studio

    Mon 8:30

    Scheduled
  • Acme Studio

    Waiting for you

    Draft
+11 more platforms
1

Generate from your template

Carousels, reels, ads and PDFs in your fonts, colors and logo. Never off-brand.

2

Scale it through the API

One render or a thousand, from a sheet, a feed or a list, in every size.

3

Post to 15+ platforms

Publish now, schedule for later or keep a draft. Every step is an API call too.

Social posting

Run your social accounts from the chat.

Connect an account, fill the week, post when your audience is online, then see what worked. OpenCode does each step with Orshot, from a single sentence.

Connect accounts in a minute

No account yet? OpenCode saves the post and hands you a sign-in link. Instagram, TikTok, LinkedIn, YouTube and 11 more.

Post this to our Instagram.

OpenCode

Your post is saved. Connect Instagram and it goes out.

Connect Instagram@acme.studio
15 platforms

A week of posts from one ask

Ask for the week and every post lands on the calendar, scheduled for the days and times you name, with drafts held for your review.

Plan next week from the drop template. Hold Saturday as a draft.

Mon
9:00
Tue
12:30
Wed
Thu
18:00
20:00
Fri
17:00
Sat
10:00
Sun
PublishedScheduledDraft

Post at your best time

Orshot learns when your audience engages from your own posting history, so scheduled posts go out when people are there.

6a9a12p3p6p9p
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Best time: Thu 6 PMfrom your own posts

See what worked, make more of it

Views, engagement and follower growth per post and per account. Ask which post won and render the next one in its style.

Views48.2k+20% this week
Engagement5.4%+0.8 pts
Clicks1,236+14%
Followers · 14 days+412

Top post this week

12.4k views · 6.1% engagement

The social tools OpenCode gets on connection

Connect
  • Connect Social Accountorshot_connect_social_account
  • List Social Accountsorshot_list_social_accounts
Post
  • Publish or Draft a Social Postorshot_publish_social_post
  • Send a Held Social Postorshot_publish_social_draft
Schedule and revise
  • List Social Postsorshot_list_social_posts
  • Revise a Held Social Postorshot_update_social_post
  • Discard a Held Social Postorshot_discard_social_post
  • Get Best Time To Postorshot_get_best_time_to_post
Measure
  • Get Social Analyticsorshot_get_social_analytics
  • Get Analytics For One Postorshot_get_social_post_analytics
  • Get Social Follower Statsorshot_get_social_followers
Social tools OpenCode gets when it connects to Orshot.
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_render_template × 500
Customer review card
Team quote card
Motivation quote card
1 / 3
500 cards in 1m 52sSigned URLs · avg 220 ms per render
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.

Orshot turned content production from an hour-a-piece design exercise into something that runs off our existing workflow.

Consistent, on-brand, and fast enough that we actually ship daily.

Roshni Mahbubani, Growth Marketer, Cashew.sg
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 100 free credits a month 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. Connect the account from the sign-in link OpenCode gives you, or from your Orshot dashboard. OpenCode can then post now, schedule for the times you name or hold a draft, and read how each post did. Rendering works without any social account.

Give OpenCode your templates. 100 free credits every month to try.

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