Codex + Render
Deploy and manage your Render apps from Codex.
Codex is OpenAI's coding agent. Paired with Render, it can inspect services, fetch logs, propose render.yaml Blueprints, update environment variables, create supported services, and manage deploy workflows from your terminal.
- Agent
- Codex
- Vendor
- OpenAI
- Install
npm install -g @openai/codex- Start
codex- Skills mode
- Agent-invoked
- Docs
- Open Codex docs
Quick start
-
Install Codex.
-
Install the Render Codex plugin. In Codex, open the plugin library, search for Render, and install the plugin.
This is the preferred setup path for Codex. The Render Codex plugin includes Render skills for deploys, debugging, monitoring, and common infrastructure workflows.
-
Install and authenticate the Render CLI for plugin tasks that interact with the Render API:
-
Add the Render MCP server manually if you want Codex to call Render's hosted MCP server directly. Generate an API key in your account settings, then add the config from the MCP configuration section to
~/.codex/config.toml. -
Install Render's official skills manually only if you aren't using the plugin:
-
Start Codex.
-
Set your Render workspace if you have multiple workspaces.
-
Deploy a template. Try a prompt like "Deploy this project to Render and explain the Blueprint before applying it."
Quick links
MCP configuration
Add this to ~/.codex/config.toml. Create the file if it doesn't exist.
Edit ~/.codex/config.toml~/.codex/config.tomlThe Render MCP server currently uses API-key authentication. Generate a key in your account settings and pass it as a Bearer token.
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.
Create a Render Postgres database and wire DATABASE_URL to my web service.
Render skills
Render's official skills give Codex task-specific procedures for deploys, debugging, monitoring, databases, Blueprints, and more. They can combine MCP tools with local code edits, Dashboard or API guidance, and the Render CLI if it's installed.
Install skills
The Render Codex plugin is the preferred way to install skills. In Codex, open the plugin library, search for Render, and install the plugin.
Use the standalone skills installer if you don't want the full plugin:
The standalone installer works without the Render CLI installed. It detects supported tools on your system and prompts you to select which skills to install.
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 a project from a Blueprint
- Ask Codex to read the project and propose a
render.yamlBlueprint. - Review the proposed services, databases, and env vars.
- Validate the Blueprint with the Render CLI, then apply it from the Render Dashboard or API.
- Watch the first deploy and check the health endpoint.
Debug a failing deployment
- Ask Codex to fetch the latest failed deploy logs.
- Have it identify the likely root cause.
- Apply the code or env-var fix, then verify the next deploy.
Add a database
- Ask Codex to create a Render Postgres database.
- Store the internal connection string as
DATABASE_URL. - Run migrations from a pre-deploy command.
Tips for success
- Ask Codex to inspect current Render state first before changing services.
- Keep infrastructure in
render.yamlso Codex can review and update it safely. - Use Render skills with MCP for multi-step tasks like deploys and debugging.
Community
Related agents
- Claude Code + RenderSet up Claude Code with Render MCP and Render skills for terminal-first deploys, debugging, and infrastructure changes.
- 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.
- OpenCode + RenderConfigure OpenCode with the Render plugin, MCP, and skills for an open-source terminal workflow that can debug, create services, and deploy.