OpenCode does not provide one built-in MCP tool that generates video, PDFs, and images. It connects to external MCP servers; the server or provider supplies the actual generation tools. The OpenCode documentation reviewed for this guide explains how to connect those servers, but does not identify a single verified server that creates all three formats. Choose and verify a server’s tools before following format-specific generation instructions.
There is also an important distinction between asking an external tool to create a file and attaching an existing file for a model to inspect. In OpenCode’s documented V2 prompt path, supported image formats can be provided as model inputs, but PDF and video binaries are not directly included. A PDF page can be exported to PNG when the goal is to show its contents to a model.
What OpenCode MCP does—and does not do
OpenCode is the agent environment in this workflow. It connects to an MCP server and makes that server’s exposed tools available to the agent, subject to configuration and permissions. The external server or its underlying provider determines whether the available operation generates an image, renders a PDF, creates video, or does something else.
That means “generate media with OpenCode” is not one universal command. The exact tool name, arguments, credentials, output location, supported formats, cost, and limits depend on the particular server and provider. The official OpenCode material covered here establishes the connection mechanism, not a media-generation recipe for a named server. Don’t assume a tool exists because an MCP server connects successfully.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
- Generation or processing: an external MCP tool or provider creates or manipulates media.
- Inspection: OpenCode sends supported input to a model so it can analyze it. This is separate from generation.
- Ordinary file conversion: a local or external program converts a file, such as exporting a PDF page to PNG. That conversion is not automatically an MCP capability.
How to connect an MCP server to OpenCode
OpenCode supports local MCP servers launched as commands over stdio and remote MCP servers using Streamable HTTP. Configuration examples in the versioned OpenCode documentation place server entries under mcp.servers. A local entry can specify a command, working directory, and environment variables; a remote entry uses an absolute URL and can include headers or OAuth configuration.
Local server: command over stdio
For a local server, configure the command OpenCode should start and, if needed, its working directory and environment. The command and arguments are specific to the server you choose, so use that server’s own current installation documentation rather than copying an unverified package name or launch command. Keep API credentials in environment variables instead of writing secrets into a project configuration file.
Remote server: Streamable HTTP
For a remote server, configure its absolute MCP URL. OpenCode’s documentation says remote OAuth is enabled by default unless disabled. Its OAuth flow can use authorization-server discovery, PKCE, token refresh, and dynamic client registration when the server supports those mechanisms. If the remote server instead authenticates with an API key or another header credential, the documented pattern is to disable OAuth and supply the secret through an environment variable.
Use the current versioned OpenCode configuration reference for exact syntax: protocol and timeout options can vary by version, and the documentation describes startup, catalog, and execution timeouts as well as per-server overrides. Avoid assuming an older example’s settings are current.
Confirm that the tools are actually available
After connecting, inspect the tools exposed by the server and check that the relevant tools are permitted. OpenCode can expose tools directly or through its default Code Mode; permissions can hide or deny tools without disconnecting the server. Tool names are prefixed with the server name and normalized. MCP prompts, if provided, appear as named commands. A concise server name makes the resulting tool names easier to recognize.
- Pick an MCP server whose current documentation explicitly describes the media operation you need.
- Configure it locally over stdio or remotely over Streamable HTTP, following that server’s authentication requirements.
- Start or reload OpenCode, then inspect the exposed tools and permissions.
- Read the selected tool’s argument schema and output behavior before invoking it. Confirm whether it returns a file, a URL, text, or a job identifier.
- Run a small test using a non-sensitive prompt or input, then verify the resulting file and format outside the chat.
How do I generate images with an OpenCode MCP server?
Connect an image-generation MCP server or a server that exposes an image provider, then call the tool it actually exposes. OpenCode’s connection support alone does not identify a universal image tool or establish a prompt syntax. In particular, do not treat the ability to attach PNG or JPEG images for inspection as evidence that OpenCode can generate them.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Before relying on a server for image creation, verify its current documentation for:
- The exact tool name and required arguments, including prompt and any dimensions or style settings it documents.
- Whether the result is returned as image bytes, saved to a path, or made available through a URL or asynchronous job.
- The formats it actually returns and any size, resolution, content, or provider limits.
- Whether prompts and images are processed locally or sent to a remote provider, and what credentials and usage charges apply.
Once the tool is configured, invoke it through OpenCode using the schema shown for that server. Save or retrieve its result according to the server’s documented output path. If you want the model to inspect the generated image afterward, attach a supported image file separately; successful generation does not guarantee that the output is within the model provider’s input limits.
Free tools Windows power users keep installed
One-click scans. No signup required.
Can OpenCode generate videos?
It can only do so in a workflow where a connected external MCP server or provider exposes a video-generation operation. The OpenCode integration documentation covered here does not verify a specific video server, tool name, model, output format, duration limit, or price. Consequently, there is no evidence-based generic video-generation command to give for OpenCode.
For a server you are considering, check that its own current documentation explicitly covers video generation—not merely video analysis, playback, or file handling. Verify how it returns completed videos, whether generation is synchronous or job-based, and what provider limits and credentials apply. If the operation runs asynchronously, use the server’s documented polling or callback procedure rather than assuming the first tool response contains a finished video.
Can I create a PDF from OpenCode?
PDF creation likewise depends on an external tool or ordinary document-generation software. The OpenCode MCP connection feature does not itself establish a PDF-creation tool, and the reviewed official OpenCode sources do not provide a verified PDF-generation server or recipe. Confirm whether the server you select creates a PDF from text, a web page, or another source, and check how it saves or returns the file.
Keep PDF creation distinct from capturing a web page as a PDF. A screenshot service can capture a page and return a PDF, but that does not make it a general-purpose tool for composing arbitrary documents. For example, ScreenshotNeo is a website screenshot API and MCP server; its documented capability includes PDF capture. Use the service appropriate to the task, and verify that the specific output you need is supported.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Can OpenCode read an attached PDF or video?
Not as a PDF or video binary in the documented V2 prompt path. That path makes UTF-8 text, directory listings, and PNG, JPEG, GIF, and WebP images visible to the model. PDF, video, audio, and other unsupported binary files are not included in the documented model request. Renaming a file or changing its declared media type does not make its binary contents readable.
To show PDF content
Export the relevant page or pages to PNG, then attach the images. This lets the model inspect the rendered page image, but it is not equivalent to giving the model the original PDF’s searchable text or structure. For a long document, select the pages relevant to the question rather than assuming an entire PDF will fit within model or client limits.
To show a video
The documented attachment path does not include video binaries in the model request. If the task is visual inspection, extract representative frames as supported image files and provide those instead. If the task depends on dialogue or sound, extract a transcript or other text representation separately; audio binaries are also outside the documented supported inputs.
Image limits and provider constraints
OpenCode’s documented image-normalization defaults are automatic resizing enabled, a maximum width of 2,000 pixels, a maximum height of 2,000 pixels, and a maximum Base64-encoded size of 5,242,880 bytes. These are configurable positive-integer settings, not guarantees that every model provider will accept an image. Provider and model rules for format, dimensions, file count, and size still apply.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitchesThe built-in read tool recognizes PNG, JPEG, GIF, and WebP by content and reads up to 20 MiB of source image data. With resizing enabled, OpenCode preserves aspect ratio and may encode the smaller output as PNG or JPEG. If resizing is disabled and configured limits are exceeded, processing fails. The desktop file picker documents a 20 MiB total-selection limit; other interfaces may have lower client-side limits. These details describe the documented V2 behavior, not a universal limit across every client or provider.
Or skip the browser setup
If your actual task is taking a clean screenshot of a web page or capturing it as a PDF—not generating arbitrary video or documents—ScreenshotNeo provides a website screenshot API and MCP server. Its API accepts a URL in one GET request and can return PNG, JPEG, WebP, or PDF. See the ScreenshotNeo API documentation for setup and parameters.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Here is a one-request cURL example that saves a WebP screenshot:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
ScreenshotNeo accepts cookie or consent banners as a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each of those steps can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers report the page verdict and billing status. Its MCP server offers take_screenshot, get_page_info, and capture_pdf for AI agents. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Sign up for ScreenshotNeo’s free plan to try 1,000 screenshots a month without a card.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Troubleshooting an OpenCode media workflow
The server connects, but no generation tool appears
Check the server’s own tool list and connection logs, then inspect OpenCode permissions and tool exposure settings. A connected server does not guarantee that a particular tool is available, enabled, or named as expected. Confirm the server is the generation-capable product or configuration you intended to connect.
Authentication fails
Confirm whether the server expects OAuth or an API key/header. Remote OAuth is enabled by default in the documented configuration unless disabled; for key-based authentication, follow the server’s requirements and keep the key in an environment variable. Check that the variable is present in the environment OpenCode actually starts with, not only in an unrelated shell.
The server starts slowly or a tool times out
Check the server process, network reachability, and the relevant startup, catalog, or execution timeout. OpenCode documents timeout settings and per-server overrides, but the correct value depends on the server’s startup and task duration. Increase a timeout only when the server is expected to take longer; it will not fix a dead process, unreachable endpoint, or provider-side failure.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallThe model cannot inspect the generated file
Check the file’s actual contents and format rather than its extension. For the documented V2 prompt path, provide PNG, JPEG, GIF, or WebP; convert a PDF page to PNG, and use extracted frames rather than a video binary. If the image is supported but still rejected, check OpenCode normalization settings and the selected provider’s own size, dimension, and file-count limits.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
An image exceeds a size limit
With automatic resizing enabled, OpenCode may reduce an image while preserving its aspect ratio. If resizing is disabled, an image that exceeds configured limits fails processing. Reduce the source dimensions or adjust the documented positive-integer settings carefully, then check that the provider accepts the resulting image as well.
Automation and reliability notes
OpenCode’s serve command runs a headless HTTP server and exposes an OpenAPI 3.1 specification. Its documented endpoints include configuration and provider listing, MCP status, and dynamic MCP addition. Those are OpenCode automation and management APIs; they are not the external media-generation tools themselves.
For production workflows, treat media creation and subsequent model inspection as separate stages. Record which external server performed each operation, check whether its output is complete before passing it onward, and handle provider limits and errors at the stage where they occur. Do not infer billing, retry behavior, uptime, or output guarantees unless the chosen server or provider documents them.
Frequently Asked Questions
Does installing OpenCode automatically give me image, PDF, or video generation?
No. OpenCode connects to MCP servers; the connected server or provider must expose the relevant generation tool.
Can I attach a PDF after converting it to an image?
Yes. A PDF page exported as PNG is a supported image input in the documented V2 prompt path, subject to client and provider limits.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

