MCP · OpenCode
Generate images and video from OpenCode with BrShot
Connect OpenCode to BrShot over MCP. The agent can list the models, quote a take in credits, run it and fetch the files, inside your daily limit.
Setup
- Add BrShot to opencode.json in your project (or to your global OpenCode config):
{ "$schema": "https://opencode.ai/config.json", "mcp": { "brshot": { "type": "remote", "url": "https://mcp.brshot.com/mcp", "enabled": true } } } - Sign in: run opencode mcp auth brshot. Your browser opens the BrShot sign-in (Continue with Google), then OpenCode prints Done.
- Check it with opencode mcp list: it shows brshot connected.
- In OpenCode each tool name starts with the server name, brshot. OpenCode does not ask before it runs generate, and generate spends credits: quote first if you want to see the price.
With an API key instead of the browser sign-in (ask your agent to create a BrShot API key), turn OAuth off and send the key as a bearer token (replace YOUR_API_KEY, or read it from an environment variable with OpenCode's env syntax):
"brshot": {
"type": "remote",
"url": "https://mcp.brshot.com/mcp",
"oauth": false,
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}An agent can also set itself up: point it at brshot.com/mcp/install.md.
Sign in with Google in your agent: 50 free credits a month. The MCP server is hosted: you connect with a URL and sign in, with nothing to install. The same account and credits work on brshot.com.
Things to ask
- “List the BrShot models and their prices.”
- “Quote a 16:9 FLUX still of a lighthouse at dusk.”
- “Put my mug from mug.jpg on a kitchen counter and tell me what it used.”
- “Make that take a 5-second clip with a slow dolly-in.”
The tools
Guarantees
- Credits are quoted and held before every run.
- Your daily limit is enforced on the server; agents cannot raise it.
- Sign-in is OAuth in your browser; the agent never sees a password.
Questions
- Do I install anything?
- No. BrShot runs the MCP server for you; your client connects to it with a URL.
- How does the agent sign in?
- With Google, in your browser (OAuth); the agent never sees a password. For CI, create an API key and send it as a bearer token.
- Can an agent overspend?
- Every run is quoted in credits and held before it starts. A call past your daily limit is refused with a clear error, and no tool can raise the limit.
- How do I get it?
- Sign in with Google in your agent: 50 free credits a month. The MCP server is hosted: you connect with a URL and sign in, with nothing to install. The same account and credits work on brshot.com.
Free credits every month
Sign in with Google and get 50 free credits every month. Unused credits do not roll over. Your credits also work in Claude Code, Codex and OpenCode through the BrShot MCP server.
Signing in shares your Google email address with BrShot; the privacy note says what we keep and for how long. Privacy note.