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

Get your ticket
Back to agents

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 details
Agent
Codex
Vendor
OpenAI
Install
npm install -g @openai/codex
Start
codex
Skills mode
Agent-invoked

Quick start

  1. Install Codex.

  2. 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.

  3. Install and authenticate the Render CLI for plugin tasks that interact with the Render API:

  4. 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.

  5. Install Render's official skills manually only if you aren't using the plugin:

  6. Start Codex.

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

  8. Deploy a template. Try a prompt like "Deploy this project to Render and explain the Blueprint before applying it."

MCP configuration

Add this to ~/.codex/config.toml. Create the file if it doesn't exist.

MCP setup
Install command
Edit ~/.codex/config.toml
Config file
~/.codex/config.toml
OAuth
Not supported yet

The 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

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.

Database

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

View Render skills on GitHub

Common workflows

Deploy a project from a Blueprint

  • Ask Codex to read the project and propose a render.yaml Blueprint.
  • 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.yaml so Codex can review and update it safely.
  • Use Render skills with MCP for multi-step tasks like deploys and debugging.

Community

Other coding agents that pair well with Render.