ChatGPT + Excel: the security view
Connecting ChatGPT to an Excel workbook with SpreadAPI takes a few steps, and we describe them in ChatGPT for Excel. This post is for the person who has to approve it: a developer, an IT lead, the owner of the pricing model. It answers four questions.
- What can ChatGPT see of the workbook?
- What can it change?
- Who else can reach the calculation?
- What is recorded, and where?
Everything here follows the SpreadAPI help centre. The articles are linked in each section.
The starting point: ChatGPT calls, the workbook calculates
You publish an Excel workbook as a service: you choose which cells are inputs and which are outputs. ChatGPT connects to it as a custom MCP server. When a user asks a question, ChatGPT sends input values, the workbook is calculated on SpreadAPI's servers, and the outputs come back.
That is different from uploading the file into a chat. With an upload the whole file, formulas and data included, becomes part of the conversation. With a service ChatGPT gets an interface.
How much that interface shows depends on which of two addresses you use.
Two addresses, two trust boundaries
The account address is for your own ChatGPT:
https://spreadapi.io/mcpYou add it in ChatGPT as a custom MCP server with OAuth as authentication. ChatGPT opens SpreadAPI in your browser, you sign in and confirm what it may do. The result is a connection to your account that you manage on the AI agents page.
The service address is for someone else's ChatGPT, for example a customer's:
https://spreadapi.io/api/mcp/service/{serviceId}It is an MCP server for exactly one service. Whoever adds it can calculate with that service and reaches nothing else: no other service, no workbook, no account.
The rule of thumb: an account connection for people who may work on your services, a service address for everyone who should only get results.
More: How AI assistants use a service, Connect ChatGPT.
What ChatGPT can see
Through a service address
- the name of the service and the texts you wrote under AI → Definition
- each input: name, title, type, required or optional, default, limits, allowed values, and the value the cell held when the service was published
- each output: name, title, type, format and an example value from publishing
- the results of its own calls
It does not see the workbook, the formulas, other cells, other sheets or your other services.
Two details are easy to miss. The value an input cell held at publishing and the example value of each output are visible, so publish with neutral sample values, not with a real customer's numbers. And the descriptions are yours: do not write a margin or an internal rule into a description that an outside assistant reads.
Through an account connection
That depends on the level of the connection:
- Use: the services it may reach, their descriptions, inputs and outputs, and the results of its calls.
- Edit: also the sheets, cell values and formulas of those services, because it needs them to create and change services.
- Full access: the same as Edit, and it may publish.
So the statement "ChatGPT never sees your formulas" is true for a service address and for the level Use. It is not true for Edit and Full access, and it is not meant to be: those levels exist so that an assistant can build services for you.
One more thing to check on the way in. The page where you allow access shows a summary line such as "Full access · all 4 services, including new ones". Click Change there to pick a lower level and to limit the connection to chosen services before you allow it.
The setting that hands out the workbook
With Allow Excel export switched on in the service settings, every answer carries a link to the filled-in workbook as a file. That file contains the whole workbook, formulas included, for every caller, AI assistants too. Leave it off when the logic is confidential.
More: Why answers are calculated, Service settings.
What ChatGPT can change
A calculation changes nothing. It sets the input values for this one call, reads the outputs and leaves the workbook and the service as they were. The tools of a service address are marked as read-only for the AI client.
Changing a service is possible only for an assistant connected to your account:
- with Edit it can create and change services and test drafts
- with Full access it can also publish
Even with Full access a connected assistant cannot unpublish or delete a service, and it cannot create or revoke service tokens. A service that is not on a connection's list does not exist for that connection.
Your controls, all on the AI agents page:
- the level, changeable at any time
- the services: all, or only the ones you tick
- an optional expiry date; access ends at the end of that day
- Revoke access, which ends one connection at once
- AI access to this account, one switch that turns all connections off without deleting anything
Rights and service access are checked on every call. A text in a prompt or in a workbook cannot widen them.
More: The AI agents page, Rights and limits of a connection.
Who else can reach the calculation
A published service is either public or protected by tokens. There is no separate switch: a service with at least one token is protected, a service without tokens is public.
- Public: anyone who has the address can calculate, with ChatGPT or with a plain HTTP call. That suits a price calculator that is on your website anyway.
- Protected: a caller needs a token you created under API → Access.
For a protected service address, ChatGPT asks for a sign-in. The person pastes the token and authorizes. That sign-in is valid for this one service and lasts 12 hours; then ChatGPT asks again.
What to do with tokens:
- Create one token per customer or person. Then you can revoke one without affecting the others, and the usage view shows who calls.
- Give tokens for temporary partners an expiry date.
- A token is shown once, when it is created. SpreadAPI does not keep it in readable form.
- Revoking the last token makes the service public again at once. To replace a token, create the new one first.
Your own ChatGPT on the account address needs no service token, also for protected services. The connection is the access.
More: Tokens and access, The MCP address of one service.
What is recorded, and where
At SpreadAPI, about calls to a service:
- that a call happened, when, and how long it took
- the channel: API, AI or web app
- who called: the name of the token or of the AI connection; calls without a token appear as public
- whether it worked or failed
- the latest 200 calls of a service, kept for 30 days
Input values and result values are not recorded. Neither the usage pages nor the call log show what a caller sent or what the service returned.
At SpreadAPI, about a connected AI: the activity list on the AI agents page covers the last 91 days and shows action, service and result, for example that a service was published or that a call was refused. It never shows calculated values.
At OpenAI: the conversation. What a user types into ChatGPT, the input values ChatGPT sends and the results it reads are part of that conversation and are handled under the terms of the user's ChatGPT account. SpreadAPI has no influence on that. If the inputs of your calculation are sensitive, for example a person's income, this is the part to look at, not the workbook.
More: Call log, Data and privacy.
Limits that protect a service
- A service answers at most 1,000 calls per minute, all callers together.
- An account connection makes at most 120 calls per minute.
- Calls made by an assistant count like any other call toward the calls of your plan. A public service that is called far more often than expected uses them up; a token keeps strangers out.
- An input can have a minimum, a maximum and a list of allowed values. A value outside them is refused before anything is calculated.
What SpreadAPI cannot guarantee
- That ChatGPT calls the service for every number. A good description and example questions make it reliable.
- That ChatGPT repeats a result correctly in its text. Ask it to show the values as returned if you need to be sure.
- That your model is right. SpreadAPI calculates what your formulas say.
And two things SpreadAPI does not have: it holds no SOC 2, ISO 27001 or HIPAA certification, and it keeps no audit trail of who changed which rule in a workbook. If the values of a calculation must not leave your own network at all, there is a runtime you operate yourself; a ChatGPT connected to a SpreadAPI account does not reach it. See On-premises runtime.
A checklist before you approve it
- Decide per assistant: account connection or service address.
- For an account connection, choose the lowest level that does the job. Use if it should only calculate.
- Limit the connection to the services it needs.
- Protect every service that is not meant for the public with a token, one per caller.
- Publish with neutral values in the input and output cells.
- Read your descriptions as an outsider would.
- Leave Allow Excel export off unless callers may have the workbook.
- Set limits on the inputs.
- Look at the usage view and the activity list from time to time.
FAQ
Can ChatGPT see my Excel formulas?
Not through the MCP address of a single service and not with an account connection of the level Use: it gets descriptions, inputs, outputs and results. With the level Edit or Full access, a ChatGPT connected to your own account can read sheets, cell values and formulas of the services it may reach.
Can ChatGPT change my workbook by answering a question?
No. A calculation is read-only: it sets the inputs for this one call and reads the outputs. Only an assistant connected to your account with the level Edit or Full access can create or change a service.
Does SpreadAPI store the values ChatGPT sends?
The usage view and the call log record that a call happened, by whom, when and whether it worked. Input values and result values are not recorded there. A result for identical inputs can be kept in a cache for up to 15 minutes to answer a repeated call faster.
Does my customer need a SpreadAPI account to use my service in ChatGPT?
No. You give them the MCP address of the service and, if the service is protected, a token. They add the address to ChatGPT as a custom MCP server and paste the token when ChatGPT asks for the sign-in.
How do I take access away again?
For your own ChatGPT, revoke the connection on the AI agents page; it loses access at once. For a customer, revoke their token under API → Access. Unpublishing the service switches its address off for everyone.