Roboflow + Codex

Run inference, build Workflows and manage datasets and models in Roboflow from Codex, with the Roboflow plugin and MCP server.

Codex is OpenAI's coding agent, in the Codex app and the Codex CLI. The Roboflow plugin connects it to Roboflow's hosted MCP server, which gives Codex hundreds of Roboflow tools and Skills, task guides it reads as it works.

Install the plugin, sign in to Roboflow, and ask in plain language. Codex can list your projects and models, run object detection and segmentation on your images, draw the results, build Workflows, and write Python code that calls your model through Roboflow's hosted API.

How to connect Codex to Roboflow

5 steps
  1. Open plugins in Codex

    In the Codex app, click the Plugins icon in the left pane. In the Codex CLI, run codex and enter /plugins.

  2. Install the Roboflow plugin

    Search for Roboflow and install it. In the CLI, press Space to enable it if it is installed but disabled.

  3. Start a new session and sign in

    Start a new Codex session. On the first Roboflow call, sign in with your Roboflow account and approve the permissions.

  4. Check the connection

    Send "@Roboflow List the projects in my workspace" and confirm Codex returns your projects.

  5. Ask Codex to build

    Ask Codex to run a model on your images, build a Workflow, or write the code to call your model from your app.

What teams build with Codex

  • Test a model on your own images

    Run detection or segmentation on files in your repo and see the annotated results.

  • Add vision to an app

    Have Codex write Python that calls your Roboflow model through the hosted API.

  • Build a Workflow from a description

    Describe the pipeline to Codex, then publish the Workflow and copy its deployment code.

Questions

No. Codex signs in with your Roboflow account. For headless servers where a browser sign-in isn't possible, you can connect with an API key instead.

No. The MCP server and Skills have no extra cost. You pay only for the Roboflow usage behind them on your plan.

Yes. Any MCP client that supports streamable HTTP can connect to https://mcp.roboflow.com/mcp.

Why are companies choosing Roboflow?

The end-to-end platform for vision AI: create datasets, train models and deploy to production.

  • Flexible deployment modes

    Move from a scalable cloud API to edge hardware like NVIDIA Jetson without managing complex dependencies.

  • Integrated workflow builder

    Combine multiple AI models, custom business logic and third-party integrations into one production-ready pipeline in a low-code editor.

  • Model monitoring and alerts

    Dashboards track confidence, inference time and request volume for your deployed models, and email alerts tell your team when confidence suddenly drops.

View all
Get started

Build on the Platform

For developers, engineers, and technical founders who want to get hands on. Try the free tier; the docs are open.

Bring it into your operation

For heads of AI, operations leaders, and enterprise teams. Bring a known problem, or work with us to find the first one worth taking on.