# OpenAI Codex for mechanical engineering: scripts and Archee MCP

> OpenAI Codex for mechanical engineering: a coding agent for CLI, IDE and cloud that can call Archee Studio over MCP for checked DXF/DWG sheets and reports.

Codex works on your code. Archee Studio drafts your design.

Codex works across the ChatGPT apps, a CLI, an IDE extension and a cloud sandbox, and it supports MCP servers over HTTP. It has no mechanical standards or drawing check of its own. Connect it to Archee Studio and it can call those.

Page: https://archee.studio/vs/openai-codex/

## What OpenAI Codex does well for mechanical engineers

Codex is OpenAI's coding agent. It works in a CLI, an IDE extension, the ChatGPT apps and a cloud sandbox, and it supports MCP servers over HTTP.

A mechanical team can give it the boring repository jobs. It can port a MATLAB sizing routine to Python, write tests that compare a gear-rating function with a worked example from a textbook, or tidy a script that exports a bill of materials.

The cloud sandbox suits a task you want to hand off and review later as a diff. That fits a long refactor of a calculation library, where you read the changes once it finishes and run the tests yourself.

## Where it falls short on real design work

Codex has no mechanical standards or drawing check of its own. It edits code well, and design sign-off needs more than code.

It can write scripts that produce drawing files. Nothing reopens a finished sheet and checks it against the numbers unless you write the step.

It needs a ChatGPT plan or API account, so it is not a free browser tool.

## A workflow that uses both

Use Codex for the thinking and Archee for the checked deliverable. An engineer reviews and signs.

- Add the server: codex mcp add archee --url https://mcp.archee.studio/mcp
- Sign in with codex mcp login archee and approve in the browser. You need an Archee account on a plan that includes MCP.
- Ask Codex: List the Archee calculations you can run, and confirm it calls search.
- Hand it the machine brief. The calculations run through Archee with their citations, and the DXF/DWG, report and check come from the same design record (TCVN today).
- Review the diff and the sheet, then an engineer signs.

## OpenAI Codex for CAD and AutoCAD drawings

If you ask Codex for a DXF, it writes a script, runs it in its sandbox and returns the file. The geometry is as good as the script and your prompt. Check drawings that must follow a standard against that standard.

It does not open AutoCAD or SolidWorks on your behalf. For a drawing that must agree with the calculation, call Archee. Archee is 2D only today: it drafts the A0 assembly and A3 details, not 3D models.

## Archee Studio vs OpenAI Codex

| Criterion | Archee Studio | OpenAI Codex |
| --- | --- | --- |
| Start by describing the work | Yes — Chat, plus documents, images, DXF or DWG | Yes — Plain-language tasks |
| Draws for you | Yes — Editable DXF and DWG | Partial — Writes scripts; you review each drawing |
| Does the calculations | Yes — Each step tied to its source | Partial — Can run code; you verify the method |
| Writes the report | Yes — From the same numbers as the drawing | Partial — Drafts text and files |
| Checks the drawing | Yes — Against TCVN and the numbers | No — Not built in; you write checks |
| Nothing to install | Yes — Web app, or your coding agent | Partial — Cloud and web surfaces; needs a ChatGPT plan |
| Hand drafting tools | No — Edit in your own CAD | No — Not a drafting tool |
| 3D modelling | No — 2D drawings today | Partial — Only through code you run |
| Any kind of drawing | Partial — Mechanical design first | Yes — Any task you can script |
| Open to everyone | Partial — Free plan, access by invite | Partial — Needs a ChatGPT plan or API account |

## Choose OpenAI Codex when

- You want an agent for code in the CLI, IDE or cloud
- You already use ChatGPT

## Choose Archee Studio when

- You need a checked DXF or DWG sheet and a report
- You want each calculation tied to its source

## Questions

### Can Codex do CAD?

It can write and run scripts that produce files, and you review each drawing. Connecting it to Archee Studio gives it calculations and drawing checks it does not have on its own.

### Can Codex use Archee Studio?

Yes. Run codex mcp add archee --url https://mcp.archee.studio/mcp, then codex mcp login archee and sign in in the browser. You need an Archee account on a plan that includes MCP.

### Can ChatGPT or Codex make CAD drawings?

Both can help write scripts for drawing programs, and results vary with the task. For the finished sheet with checks, Archee Studio is the more direct route.

### Can OpenAI Codex do engineering calculations?

It can write and run code for them, and you verify the method. Through Archee MCP, results come with their sources.

### Is Codex good for SolidWorks or CAD?

It can write macros and scripts. It does not drive SolidWorks directly.

### What is the best Codex alternative for mechanical drawings?

Connect Codex to Archee Studio. Archee drafts the DXF/DWG sheet and report and checks them, and Codex stays your code agent.

## Sources

- [Codex documentation](https://learn.chatgpt.com/docs)
- [Codex MCP servers](https://learn.chatgpt.com/docs/extend/mcp)
- [Archee MCP setup](https://docs.archee.studio/mcp/setup)

Competitor facts verified against their sources on 2026-11-01.
