Skip to main content

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:

Install the Transform MCP server

To install and authenticate the Transform MCP server, use one of the following methods:
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.
The Transform MCP server is designed to notify Codex about these limits. Because of this, Codex should notify you whenever it encounters a file that exceeds 50 MB in size. Also, Codex should formulate strategies to send requests that are 10 files or fewer and not cause more than 5 requests to be running at a time.
  1. 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.
  2. In the Do anything box, enter the following prompt:
    As needed, adapt the phrase in this project in 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:
Your tool parses each file first, then extracts the field values from the parsed element JSON; this is because the Transform MCP extraction tools read a file’s parsed output, rather than the raw file itself. Transform returns results as JSON matching the schema, wrapped with the source filename so you can tell a batch apart. If you know the specific fields you want, include them in your prompt to guide Transform in extracting just the information that’s important to you. For more information, including prompting patterns and performance considerations, see Structured data extraction.

Troubleshooting

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.
  1. Start Codex Desktop.
  2. On the sidebar, click your user icon, and then click Settings.
  3. On the sidebar, under Integrations, click MCP servers.
  4. Click Add server.
  5. For Name, enter unstructured-transform
  6. Leave STDIO selected.
  7. For Command to launch, enter npx
  8. 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
  9. Leave all of the other settings untouched, and then click Save.
  10. Stop Codex Desktop.
  11. 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.
  12. After you authenticate, back in your terminal, press Ctrl + C to exit and return to your terminal prompt.
  13. Restart Codex Desktop.
  14. The Transform MCP server is ready for you to start using. Go to parse your source files to continue.
Issue: /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:
  1. Switch to Codex using the top-left switcher.
  2. Click your user icon, and then click Settings.
  3. On the sidebar, under Integrations, click Plugins.
  4. Click the MCPs tab.
  5. Find unstructured-transform in the Servers list, and then click Authenticate.
  6. 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.
  7. In the prompt box, enter /mcp to confirm the server is connected.
If you prefer to authenticate from a terminal, run the following command instead:
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.
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.
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.
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.
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.
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.
These commands show the server’s configuration, not whether it’s actively connected. There’s no terminal command to check the live connection state. To confirm the connection, switch to Codex using the top-left switcher in the ChatGPT desktop app, and then enter /mcp in the prompt box.

Next steps

Questions? Need help?