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
- OpenCode
- Install
curl -fsSL https://opencode.ai/install | bash- Start
opencode- Skills mode
- Agent-invoked
Quick start
-
Install OpenCode.
-
Install the Render OpenCode plugin. To install the plugin, skills, commands, and
@rendersubagent, 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.jsonfields and skips an existingmcp.renderentry unless you pass--force. -
Install and authenticate the Render CLI for Blueprint validation and live Render workflows:
-
Start OpenCode.
-
Set your Render workspace if you have multiple workspaces.
-
Deploy a template. Try a prompt like "Deploy this project to Render and show me the plan before applying it."
Quick links
MCP configuration
OpenCode reads plugin and MCP configuration from opencode.json in your project or ~/.config/opencode/opencode.json globally.
curl -fsSL https://raw.githubusercontent.com/render-oss/render-opencode-plugin/main/install.sh | bash -s -- --enable-mcp~/.config/opencode/opencode.jsonThe 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 this project to Render.
Check the deploy logs for the last failed deploy and fix the error.
Create staging and production environments using a render.yaml Blueprint.
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
- render-deployDeploy applications to Render by analyzing codebases, generating render.yaml Blueprints, and providing Dashboard deeplinks.
- render-debugDebug failed Render deployments by analyzing logs, metrics, and database state.
- render-monitorMonitor Render services in real-time.
- render-blueprintsAuthors and validates render.yaml Blueprints for Render infrastructure.
- render-postgresSets up and optimizes Managed PostgreSQL on Render—connection strings (internal vs external), creation constraints, storage autoscaling, connection limits, high availability, read replicas, backups, and MCP inspection.
- render-keyvalueProvisions and configures Render Key Value (Redis-compatible Valkey 8) instances for caching, session storage, and job queues.
- render-workflowsSets up, develops, tests, and deploys Render Workflows.
- render-scalingScales Render services—configures autoscaling targets, chooses instance types, sets manual instance counts, and optimizes cost.
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
Related agents
- Claude Code + RenderSet up Claude Code with Render MCP and Render skills for terminal-first deploys, debugging, and infrastructure changes.
- Codex + RenderConnect OpenAI Codex to Render so it can inspect services, read deploy logs, draft Blueprints, and manage deploy workflows from the CLI.
- Cursor + RenderAdd Render MCP and skills to Cursor so your editor agent can inspect services, update env vars, read logs, and manage deploy workflows in context.