MCP Connector

Build with ChatGPT

Use ChatGPT to write formulas and Apps Script for Google Sheets.

ChatGPT writes formulas and Apps Script for your Google Sheets. You paste the code in yourself. BrilSheet's MCP connector works with Claude, not ChatGPT, so ChatGPT can't read or save your sheet's script directly.

Before you start: a ChatGPT account, edit access to the sheet, and a copy of the sheet to test on. Never paste passwords, API keys or private data.

How it works: 1. Open your sheet and ChatGPT side by side. 2. Tell ChatGPT your column names and a few sample rows, then describe what you want in one sentence. 3. Ask for the formula or the script. 4. Paste a formula into the cell. Paste a script into Extensions > Apps Script and click Save. 5. Run it. If there's an error, paste the error back into ChatGPT.

Running a script for the first time: Google asks you to authorise it. Click Review permissions, choose your account, then Allow. If it says "Google hasn't verified this app", click Advanced, then continue (it's your own script).

Schedules: a script that runs on a timer needs a trigger. In Apps Script, click Triggers (the clock icon) > Add Trigger, pick the function and the time.

Menus: a custom menu appears after you reload the sheet.

Undo: restore the sheet from File > Version history. Restore a script from Extensions > Apps Script > Project history, or keep a copy before pasting.

Want it done inside your sheet? With Claude and BrilSheet's free MCP connector, Claude reads and saves the script itself, with a backup before every change. See /build-with-ai?ai=claude.

Still stuck? Contact us

Your next step

Find your starting point

Choose your path and follow a few short setup steps.

Get started