Requirements
This page describes how to use GitHub Copilot as your agent within Visual Studio Code. Before you begin, you must have the following:- Visual Studio Code. Install Visual Studio Code.
-
A GitHub Copilot account. To verify in Visual Studio Code, click the Copilot
icon in the status bar, and then sign in:
- If you already have a Copilot subscription for your account, Visual Studio Code will use that subscription.
- If you do not have a Copilot subscription yet, you will be signed up for the Copilot Free plan and get a monthly allowance of inline suggestions and AI credits. Learn more about the different Copilot plans.
-
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
If you were able to successfully install the Transform MCP server by using the preceding prompt, skip ahead to parse your source files.-
In the Visual Studio Code Command Palette (from the main menu, click View, then Command Palette), run the command
>MCP: Open User Configuration. You must begin the command with a>. -
In the
mcp.jsonfile’s code editor that appears, add the following entry to theserversobject. If there are existing entries in theserversobject, do not change or delete them: -
Save and close the
mcp.jsonfile. - Start Visual Studio Code. If Visual Studio Code is already running, quit and then restart it.
- 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.
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 or restart Visual Studio Code, use Visual Studio Code to open the folder that stores the files you want Transform to parse (from the main menu, click File, then Open Folder).
- If the Chat view is not visible, open it (from the main menu, click View, then Open View, then Chat).
-
In the Chat view’s Describe what to build box, enter the following prompt:
As needed, adapt the phrase
in this folderin the preceding prompt to indicate a more specific folder. Also, as needed, guide Visual Studio Code as to where to write Transform’s output into the folder. Transform parses your input files and delivers its results to you as a set of output files, one output file per input file. If Visual Studio Code cannot find the Transform MCP server, see the troubleshooter Cannot find Transform MCP server connection details.
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:Approve Transform tool calls automatically
Visual Studio Code asks for approval each time it calls a Transform MCP server tool that you have not already approved. To approve all Transform tools in advance:-
Open GitHub Copilot’s
permissions-config.jsonfile in your preferred code editor. The default location is:- For macOS and Linux:
~/.copilot/permissions-config.json - For Windows:
%USERPROFILE%\.copilot\permissions-config.json
- For macOS and Linux:
-
Add this
locationsobject at the top level ofpermissions-config.json. Replace</absolute/path/to/your/project/folder>with the full path to your project folder. Iflocationsalready exists, add the entry to it: -
Save and then close the
permissions-config.jsonfile.
Troubleshooting
Cannot find Transform MCP server connection details
Cannot find Transform MCP server connection details
Issue: When you prompt Visual Studio Code to use the Unstructured Transform MCP server, Visual Studio Code cannot find any of the MCP server’s connection details.Cause: Visual Studio Code attempts to find the
mcp.json file that contains these connection details in locations such as the current folder or locally cloned repositories. However, the default location for this mcp.json file is here instead:- For macOS:
~/Library/Application Support/Code/User/mcp.json - For Linux:
~/.config/Code/User/mcp.json - For Windows:
%APPDATA%\Code\User\mcp.json
mcp.json file that contains information about the Transform MCP server. For example, for macOS: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.

