Convert files from VS Code

Copilot's agent mode in VS Code can call tools. Connect TeraConvert and one of them converts files, on your Mac, into a new file next to the original.

  • GitHub Copilot
VS Code
Convert recording.m4a to MP3

teraconvert_convert

{ "path": "/Users/you/podcast/recording.m4a", "to": "mp3" }

Done. recording.mp3 is saved next to recording.m4a. The original is untouched.

Convert recording.m4a to MP3
TeraConvert's card on the Mac: recording.mp3, saved next to the original.
Asked from VS Code, converted by TeraConvert on your Mac. The card is TeraConvert’s own.
  • Files stay on your Mac
  • No API key
  • Part of Pro, one payment

How to connect VS Code to TeraConvert

One click in the Mac app's settings. Shown here in TeraConvert on macOS.

  1. Step 1

    Get TeraConvert Pro on your Mac

    Download TeraConvert and sign in with Pro. AI agents are part of Pro, and the switch for them is already on.

    You find it in Settings > AI agents. Turn it off and no AI app can convert anything.

    TeraConvert Settings, AI agents, with the Let AI agents convert files switch highlighted.
  2. Step 2

    Click Connect beside VS Code

    Settings lists every file Connect will change before you click it. For VS Code, that is:

    • Adds the teraconvert server to ~/Library/Application Support/Code/User/mcp.json
    • Adds the TeraConvert skill to ~/.copilot/skills/teraconvert

    Disconnect takes out exactly that, and nothing else.

    The VS Code row in TeraConvert's AI agents settings, listing the files Connect changes, with the Connect button highlighted.
  3. Step 3

    Ask in plain words

    Ask VS Code the way you would ask a person: “Convert recording.m4a to MP3.” It checks what the file really is, then asks TeraConvert to convert it.

    A card appears on your Mac while it runs, naming the app that asked, with a button to cancel.

    The TeraConvert card showing a conversion in progress for VS Code.
  4. Step 4

    The new file is next to the original

    The AI app gets the path of the new file and tells you where it is. Show in Finder on the card opens the folder.

    Nothing is overwritten. If the name is taken, the new file becomes name_1.

    The TeraConvert card after the conversion: the new file, saved next to the original, with a Show in Finder button.

How VS Code reaches TeraConvert

Connect adds TeraConvert under servers in your user mcp.json, so it is available in every workspace, and puts a skill in ~/.copilot/skills.

VS Code allows comments in that file and standard JSON does not. If yours has comments, Connect leaves it untouched and says so, rather than rewriting a file it cannot read safely. Add the entry by hand in that case: the command is teraconvert with the argument mcp.

Things to ask VS Code

Audio to MP3

"Convert recording.m4a to MP3." The MP3 is saved next to the M4A.

Smaller screenshots

"Resize the PNGs in ./docs/img to 1600 pixels wide." One file at a time, each beside its source.

A spreadsheet to CSV

"Export sales.xlsx as CSV." Spreadsheets need LibreOffice. If it is missing, convert one in the TeraConvert window first and it offers to install it.

Markdown notes from a scan

"Read scan.png into Markdown." Built-in OCR, English out of the box.

Questions

Which part of VS Code uses it?

GitHub Copilot's agent mode, which is where VS Code runs MCP tools.

Connect says it cannot read my mcp.json. Why?

The file has comments or something else plain JSON does not allow, and TeraConvert will not rewrite a file it cannot parse. Add a server named teraconvert by hand with the command teraconvert and the argument mcp.

Is my file uploaded?

No. TeraConvert converts it on your Mac. The AI app sends TeraConvert a path and gets the new file's path back. The model sees those paths, file names included, and whatever you typed, but TeraConvert never hands it the file.

Do I need an API key?

No. TeraConvert never calls an AI service. Your AI app calls TeraConvert, with the sign-in it already has.

Is it free?

No, AI agents are part of Pro, a one-time purchase with a 14-day money-back guarantee. The free conversion in the Mac app is for a file you pick yourself; an agent never spends it.

Can an agent overwrite or delete my files?

No. Every conversion is a new file next to the original. A taken name becomes name_1, and nothing is ever replaced or deleted.

How do I know what an agent converted?

A card appears on screen for every conversion, naming the app that asked, with a button to cancel it. Settings > AI agents lists the recent ones until TeraConvert quits.

Does TeraConvert have to be open?

No. If it is not running, the first request starts it in the background, without opening a window.

How do I turn it off?

Switch off Let AI agents convert files in Settings > AI agents, or click Disconnect beside one app. Disconnect removes exactly what Connect added and nothing else.

The same converter, without an AI app

Drop a file in the window, pick a format from the wheel mid-drag, or rename it in Finder. Photos, video, audio and documents, all on your Mac.