Requirements
You will need:- The Gemini CLI installed on your local development machine. To see if it is, in your terminal, run
gemini --version. Install the Gemini CLI. - The Gemini CLI authenticated with a model, using either a Google account login or a Gemini API key. Get a Gemini API key.
- Node.js installed on your local development machine. To see if it is, in your terminal, run
node -vornode --version. Install Node.js.
Install the Transform MCP server
There are two ways to install the Transform MCP server into the Gemini CLI. Installing the Unstructured extension is recommended, because it also ships the guidance that helps the CLI drive the parsing flow correctly. If you would rather configure the server by hand, use the manual steps instead.Option 1: Install the Unstructured extension (recommended)
-
In a terminal window, install the extension from its GitHub repository:
If the CLI prompts you to acknowledge that you are installing a third-party extension, confirm the prompt to continue.
-
Authenticate with the Transform MCP server:
A browser tab appears, prompting you to authenticate with Transform. Follow the on-screen directions to finish authenticating. Your credentials are cached locally, so you only need to do this once.
-
After you authenticate, back in your terminal, press
Ctrl + Cto exit and return to your terminal prompt. -
Start a Gemini CLI session by running the
geminicommand. -
Confirm that the server is connected by running
/mcpin the session. Thetransformserver should show as connected and list four tools:request_file_upload_url,transform_files,check_transform_status, andget_transform_results.
Option 2: Configure the server manually
-
Open the Gemini CLI’s
settings.jsonsettings file in a text editor. This file is typically located at:- For macOS and Linux:
~/.gemini/settings.json - For Windows:
%USERPROFILE%\.gemini\settings.json
- For macOS and Linux:
-
Add the following entry to the
mcpServersobject: -
Save and close the
settings.jsonfile. -
In a terminal window, authenticate with the Transform MCP server:
A browser tab appears, prompting you to authenticate with Transform. Follow the on-screen directions to finish authenticating. Your credentials are cached locally, so you only need to do this once.
-
After you authenticate, back in your terminal, press
Ctrl + Cto exit and return to your terminal prompt. -
Start a Gemini CLI session by running the
geminicommand.
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 and start a Gemini CLI session, from your terminal, switch to the folder on your local machine that stores the files you want Transform to parse.
-
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 the Gemini CLI 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.
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 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.

