Google Sheets MCP Server: Secure AI Agent Access to Google Sheets
Connect Claude, ChatGPT, and Cursor to Google Sheets through PortEden's remote MCP server. 13 tools, OAuth, and a data firewall that controls every read and write.
Free tier · No credit card required
What is the Google Sheets MCP server?
The Google Sheets MCP server lets AI agents read and write your spreadsheets through the Model Context Protocol. Instead of pasting data into a chat or wiring up a brittle script, you connect a client like Claude, ChatGPT, or Cursor to one remote endpoint at https://mcp.porteden.com/google-sheets and the agent works with Sheets directly.
PortEden's server exposes all 13 Google Sheets tools, from range reads and searches to writes, appends, and new spreadsheet creation. What makes it different from a generic Google Sheets MCP is the data firewall in front of those tools: PortEden inspects every tool-call request, applies your access policy, and redacts sensitive cell values in the response before the agent ever sees them.
The result is secure Google Sheets access for AI agents. You decide whether a client gets read-only or read-write access, scope it to a single spreadsheet or range, mask sensitive columns, and review every call in an audit log. OAuth handles authentication, so there is no static key to leak.
All 13 Google Sheets MCP tools
Every tool can be allowed or denied per client. Access levels are enforced at the firewall on each call.
| Tool | Access | What it does |
|---|---|---|
google_sheets_read | read | Read a cell range from a spreadsheet, for example Sheet1!A1:D50. |
google_sheets_read_tab | read | Read every cell in a single named tab. |
google_sheets_read_all | read | Read all tabs in a spreadsheet in one call. |
google_sheets_get_metadata | read | Return spreadsheet metadata: tab names, IDs, dimensions, and properties. |
google_sheets_search | read | Find spreadsheets in the connected account by name. |
google_sheets_write | write | Write values into a specific range, overwriting existing cells. |
google_sheets_append | write | Append new rows to the end of a tab without overwriting existing data. |
google_sheets_rename | write | Rename a spreadsheet or a tab within it. |
google_sheets_add_tab | write | Add a new tab (worksheet) to an existing spreadsheet. |
google_sheets_create | create | Create a new spreadsheet in the connected Google account. |
google_sheets_copy | create | Duplicate an existing spreadsheet, or copy a tab into another file. |
google_sheets_delete_tab | delete | Delete a tab from a spreadsheet. |
google_sheets_delete | delete | Delete an entire spreadsheet from Drive. |
Connect Google Sheets to Claude, ChatGPT, Cursor, and more
Point any MCP-compatible client at the remote URL and sign in to PortEden once with OAuth.
# Claude Web or Desktop, then Settings, Connectors, Add custom connectorhttps://mcp.porteden.com/google-sheets # Authenticate to PortEden once with OAuth. Claude can now call the# Google Sheets tools under the access policy you set.Available on Claude Pro, Team, and Enterprise. The same flow works for Claude Cowork.
The security-first Google Sheets MCP
PortEden is the data firewall for AI.
Granular access control
Decide exactly what each AI client can do with Sheets. Allow reads but deny writes, or scope a connection to a single spreadsheet or even a named range, so an agent that asks for everything only ever receives what policy allows.
- Read-only by default: deny google_sheets_write, append, and delete for a research agent.
- Per-spreadsheet allow and deny: pin a client to one workbook and block the rest of the account.
- Per-range scoping: expose Sheet1!A:F to the agent and keep the salary columns out of reach.
Data redaction
PortEden runs a redaction pass on every tool response before it leaves the firewall. Sensitive cell values are replaced with stable placeholders, so the agent can reason over the data without the raw values entering the model's context.
- Strip PII, PAN (card numbers), and email patterns from cell values before the agent sees them.
- Mask a whole column (for example SSN or salary) while leaving the rest of the row readable.
- Round-trip writes are de-redacted server-side, so an update aimed at a placeholder lands on the right cell.
Audit trail
Every Google Sheets tool call is recorded: which client, which user, which tool, the arguments passed, the policy decision, and the redacted response. Export it or stream it to your SIEM for review.
- See exactly which ranges an agent read and which rows it wrote, with timestamps.
- Reconstruct any tool call: the request, the rule that fired, and the response returned.
- Stream to Splunk, Datadog, or S3 for retention and quarterly review.
RBAC and policy groups
Bind each MCP connection to a user or role with a scoped, revocable token. Group policies by team so a new hire inherits the right Sheets access on day one, and revocation is instant and server-side.
- Issue per-user tokens scoped to the verbs and spreadsheets that role needs.
- Apply one policy group across a team instead of editing rules client by client.
- Revoke a token server-side the moment a contract ends, with no Google account round-trip.
Set up the secure Google Sheets MCP in minutes
Add the connector
In your AI client, add a custom connector or HTTP MCP server pointing at https://mcp.porteden.com/google-sheets.
Authenticate with OAuth
Sign in to PortEden once and connect your Google account. The client never holds your Google refresh token.
Set your Sheets policy
Choose read-only or read-write, scope to specific spreadsheets or ranges, and turn on redaction for sensitive columns.
Verify in the audit log
Run a prompt, then watch the tool calls land in your PortEden audit log with the rule that fired on each one.
Google Sheets MCP FAQ
What is the Google Sheets MCP server?
How do I connect Claude to Google Sheets using MCP?
Is the Google Sheets MCP server secure?
Can I give an AI agent read-only access to Google Sheets?
Does redaction stop the agent from working with my data?
What Google Sheets tools does the MCP server expose?
Which AI clients work with the Google Sheets MCP server?
How is this different from connecting Google Sheets directly?
Does it cost anything to use the Google Sheets MCP server?
Keep Exploring
Connect Google Sheets to AI, without leaking the underlying data.
Five-minute setup over OAuth. The free tier covers 1,000 tool calls per month.