# MCP for Codex in Windows

**URL:** <https://discuss.roboflow.com/t/mcp-for-codex-in-windows/12255>\
**Category:** 🛠️ Feature Reqs\
**Created:** [May 31, 2026, 3:04pm UTC](https://discuss.roboflow.com/t/mcp-for-codex-in-windows/12255 "2026-05-31T15:04:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Automatez](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/automatez/32/8971_2.png) [@Automatez](https://discuss.roboflow.com/u/Automatez)\
**Post date:** [May 31, 2026, 3:04pm UTC](https://discuss.roboflow.com/t/mcp-for-codex-in-windows/12255/1 "2026-05-31T15:04:29Z")

</div>

**Product feedback:**

In case anyone is setting up MCP, there is documentation at [mcp.roboflow.com](http://mcp.roboflow.com) but it didn’t quite work for me in its current state shown here.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/b/babd7840f9fc623c59d431ac4db353c486f7b2af.png)

Could just be something on my end that didn’t let the above code work, but I just worked with Codex for a sec to get to the updated code below. You still drop it in the .toml file, then restart Codex to use. Posting here in case it saves someone a couple minutes trying to figure out the same thing, at least until Roboflow updates the page (which I imagine will be real soon) with different code or further instructions. Be sure to insert your API key where shown below before saving.

[mcp\_servers.roboflow]  
url = “[https://mcp.roboflow.com/mcp](https://mcp.roboflow.com/mcp)”

[mcp\_servers.roboflow.http\_headers]  
x-api-key = “YOUR\_ROBOFLOW\_API\_KEY\_HERE”  
Accept = “application/json, text/event-stream”
