Requirements
Already set up Transform for the Codex CLI on this machine? You may already have it here, too. To check, switch to Codex using the top-left switcher of the ChatGPT desktop app. Then in the prompt box, enter/mcp to confirm unstructured-transform is listed. If so, skip ahead to parse your source files.
Otherwise, before you begin, you must have the following:
- A ChatGPT plan. To see if you have a plan, go to ChatGPT and click Log in. Sign up for ChatGPT.
- The ChatGPT desktop app, which includes Codex, installed on your local machine (macOS or Windows). Install the ChatGPT desktop app. If you already have the app, or the older, standalone Codex Desktop app, update to the latest version before continuing. These instructions assume the latest version, which includes Codex.
Install the Transform MCP server
To install and authenticate the Transform MCP server, use one of the following methods:- Ask Codex
- Terminal command
- ChatGPT desktop app
Ask Codex to install the Transform MCP server for you:During this process, Codex will open a browser window where you sign in to Transform to complete authentication. If you do not have a Transform account, click Register and then follow the on-screen directions to finish authenticating. Once authenticated, close the browser and return to Codex.You’re ready to ask Codex to parse your source files using the Transform MCP server.
Parse your source files
Parsing requests have the following limits:- Each file must be of a supported file type.
- Each file must be 50 MB or less in size.
- Each request must have 10 files or fewer.
- Only 5 requests can be running at a time.
- After you install the Transform MCP server, switch to Codex using the top-left switcher in the ChatGPT desktop app. Then select the project containing the folder that stores the files you want Transform to parse.
-
In the Do anything box, enter the following prompt:
As needed, adapt the phrase
in this projectin the preceding prompt to indicate a more specific project folder. Also, as needed, guide Codex as to where to write Transform’s output into the project. Transform parses your input files and delivers its results to you as a set of output files, one output file per input file.
Extract structured data
If you want to pull specific fields from your files, instead of converting the files in full, ask for an extraction. To determine what structured data Transform can extract from your files, use a prompt similar to the following:Troubleshooting
Streamable HTTP isn't available as a Type option
Streamable HTTP isn't available as a Type option
Issue: When adding an MCP server in the ChatGPT desktop app, Streamable HTTP isn’t available as a Type option.Cause: This indicates you have the older, standalone Codex Desktop app instead of the latest version of the ChatGPT desktop app.Solution: Update to the latest ChatGPT desktop app. If you cannot update, follow these steps to use the legacy STDIO bridge with
mcp-remote. The older, standalone Codex Desktop app only supports local STDIO connections; mcp-remote lets it reach the Transform MCP server over HTTP. This requires Node.js. To see if it is installed, in your terminal, run node -v or node --version. Install Node.js.- Start Codex Desktop.
- On the sidebar, click your user icon, and then click Settings.
- On the sidebar, under Integrations, click MCP servers.
- Click Add server.
-
For Name, enter
unstructured-transform - Leave STDIO selected.
-
For Command to launch, enter
npx -
For Arguments, enter the following arguments, one at a time, clicking Add argument to add the next argument in sequence:
a.
-y
b.mcp-remote
c.https://mcp.transform.unstructured.io
- Leave all of the other settings untouched, and then click Save.
- Stop Codex Desktop.
-
In your terminal, authenticate with the Transform MCP server:
A web browser tab appears, prompting you to authenticate with Transform. If you do not have a Transform account, click Register and then follow the on-screen directions to finish authenticating.
-
After you authenticate, back in your terminal, press
Ctrl + Cto exit and return to your terminal prompt. - Restart Codex Desktop.
- The Transform MCP server is ready for you to start using. Go to parse your source files to continue.
Transform requires authentication again
Transform requires authentication again
Issue: Codex will open a browser window where you sign in to Transform to complete authentication. If you do not have a Transform account, click Register and then follow the on-screen directions to finish authenticating.
/mcp shows unstructured-transform as not connected, or you were never prompted to sign in.Cause: Your Transform session expired, or the server was added without completing the browser sign-in, for example, if you configured it from a terminal.Solution: The Servers list shows an Authenticate action next to unstructured-transform whenever sign-in is needed:- Switch to Codex using the top-left switcher.
- Click your user icon, and then click Settings.
- On the sidebar, under Integrations, click Plugins.
- Click the MCPs tab.
- Find
unstructured-transformin the Servers list, and then click Authenticate. - Follow the on-screen directions to finish authenticating in your browser. If you do not have a Transform account, click Register to create one, and then complete authentication.
- In the prompt box, enter
/mcpto confirm the server is connected.
Server doesn't appear after adding it
Server doesn't appear after adding it
Issue: You added
unstructured-transform, but it doesn’t appear in /mcp or in the Codex CLI.Cause: The ChatGPT desktop app only picks up a newly added MCP server after a restart.Solution: Restart the ChatGPT desktop app. Then switch to Codex using the top-left switcher, and in the prompt box, enter /mcp to confirm the server is listed.Tool calls fail with an authentication error
Tool calls fail with an authentication error
Issue:
unstructured-transform shows as connected, but tool calls return a 401 or 403 error.Cause: Your Transform access token expired or was revoked, even though the connection itself still shows as active.Solution: Re-authenticate using the steps in Transform requires authentication again above, then retry the tool call.mcp-remote fails to run
mcp-remote fails to run
Issue: Running
npx -y mcp-remote https://mcp.transform.unstructured.io does not open a browser window, or the command fails.Cause: Node.js is missing, or an outdated version is installed.Solution: Run node -v or node --version to check your Node.js version. Install Node.js or update to a current version, then rerun the command.Codex CLI and Codex ChatGPT Desktop show different servers
Codex CLI and Codex ChatGPT Desktop show different servers
Issue: A server you added in one Codex client doesn’t appear in another. Codex mode in the ChatGPT desktop app and the Codex CLI share MCP configuration on the same machine, so this is unexpected.Cause: Each client only picks up configuration changes made by another client after that client restarts.Solution: Restart the client that isn’t showing the new server, then confirm with
/mcp.Inspect the server's configuration from the terminal
Inspect the server's configuration from the terminal
Use these commands to inspect the Transform MCP server’s configuration. These commands reveal information that’s also applicable to the ChatGPT desktop app.
codex mcp list: Shows all configured MCP servers.codex mcp get unstructured-transform: Shows the Transform MCP server’s configuration.codex mcp get unstructured-transform --json: Shows the same configuration as JSON.codex mcp --help: Shows all available MCP management commands.
/mcp in the prompt box.Next steps
- Control Transform file parsing output: Control how the Unstructured Transform MCP server instructs Transform to partition, enrich, chunk, and embed the data based on your files.
- Control Transform structured data extraction: Control how the Unstructured Transform MCP server extracts and formats structured data from your files.
- Control Transform generated sample code: Control how the Unstructured Transform MCP server generates sample curl or Python code that demonstrates how to use Transform to partition, enrich, chunk, and embed the data based on your files.
Questions? Need help?
- For technical support, request support.

