Join us for Render's 6/18 conference in SF

Get your ticket
Back to agents

OpenCode + Render

Deploy and manage your Render apps from OpenCode.

OpenCode is an open-source terminal coding agent. Paired with Render, it can inspect services, fetch logs, update environment variables, create supported services, and manage deploy workflows from your shell.

Agent details
Agent
OpenCode
Install
curl -fsSL https://opencode.ai/install | bash
Start
opencode
Skills mode
Agent-invoked

Quick start

  1. Install OpenCode.

  2. Install the Render OpenCode plugin. To install the plugin, skills, commands, and @render subagent, run:

    To also add the optional Render MCP server, generate an API key in your account settings, set it as RENDER_API_KEY, and add --enable-mcp:

    The installer preserves existing opencode.json fields and skips an existing mcp.render entry unless you pass --force.

  3. Install and authenticate the Render CLI for Blueprint validation and live Render workflows:

  4. Start OpenCode.

  5. Set your Render workspace if you have multiple workspaces.

  6. Deploy a template. Try a prompt like "Deploy this project to Render and show me the plan before applying it."

MCP configuration

OpenCode reads plugin and MCP configuration from opencode.json in your project or ~/.config/opencode/opencode.json globally.

MCP setup
Install command
curl -fsSL https://raw.githubusercontent.com/render-oss/render-opencode-plugin/main/install.sh | bash -s -- --enable-mcp
Config file
~/.config/opencode/opencode.json
OAuth
Not supported yet

The Render MCP server currently uses API-key authentication. Generate a key in your account settings and set it as RENDER_API_KEY.

The prompts below can use a combination of MCP tools, Render skills, the Render CLI, and guided Dashboard or API steps.

Example prompts

Start with one of these prompts, then refine the plan with your agent.

Deploy

Deploy this project to Render.

Debug

Check the deploy logs for the last failed deploy and fix the error.

Blueprint

Create staging and production environments using a render.yaml Blueprint.

Workflow

Set up a Workflow to orchestrate my data pipeline with retries and subtasks.

Render skills

Render's official skills give OpenCode task-specific procedures for deploys, debugging, monitoring, databases, Blueprints, and more. The Render OpenCode plugin installs those skills with commands, a @render subagent, hooks, and a Blueprint validation tool.

Install skills

The Render OpenCode plugin is the preferred way to install skills, commands, and the @render agent:

Add --enable-mcp to also merge the Render MCP server into your OpenCode config:

Use the standalone skills installer if you don't want the full plugin:

Skills catalog

View Render skills on GitHub

Common workflows

Deploy from the terminal

  • Ask OpenCode to inspect the project and propose a Render deployment plan.
  • Review the generated Blueprint or service settings.
  • Let OpenCode apply supported changes with MCP or the Render CLI, or have it guide you through Dashboard or API steps.
  • Ask OpenCode to watch the first deploy.

Debug a failing deployment

  • Ask OpenCode to fetch recent deploy logs.
  • Have it identify the most likely root cause.
  • Apply the code or env-var fix, then verify the next deploy.

Add async processing

  • Ask OpenCode to add a background worker service definition.
  • Create a Render Key Value instance for the queue backend.
  • Add graceful shutdown handling to the worker code.

Tips for success

  • Keep Render config in the repository so OpenCode can inspect infrastructure changes.
  • Use MCP for live Render state instead of asking the agent to infer production details from code.
  • Ask for a plan before applying changes when adding services, databases, or workers.

Community

Other coding agents that pair well with Render.