Google Sheets MCP Server
Provides tools to read, write, append, and create Google Sheets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Sheets MCP ServerAppend the weekly sales data to the Sales sheet"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Sheets MCP Server
An MCP (Model Context Protocol) server that provides Google Sheets integration capabilities.
Features
read_sheet: Read data from a Google Sheet
write_sheet: Write data to a Google Sheet
append_sheet: Append data to a Google Sheet
create_sheet: Create a new Google Sheet
Related MCP server: gsheets-mcp
Setup
Install dependencies:
npm installAuthentication Setup (Shared with gmail_mcp):
This server uses the same OAuth2 credentials as
gmail_mcpMake sure you have already set up
gmail_mcpwith Google OAuth2 credentialsThe server will automatically use
../gmail_mcp/credentials.jsonand../gmail_mcp/token.json
Google Cloud Setup (if not done for gmail_mcp):
Create a project in Google Cloud Console
Enable the Google Sheets API (in addition to Gmail API)
Create OAuth2 credentials (not service account) and download as
credentials.jsonPlace
credentials.jsonin thegmail_mcpfolder
Build the server:
npm run build
Usage
Running the server
npm startDevelopment
npm run devMCP Client Configuration
Add this server to your MCP client configuration:
{
"mcpServers": {
"gsheets": {
"command": "node",
"args": ["/path/to/gsheets_mcp/dist/index.js"]
}
}
}Tools
read_sheet
Read data from a Google Sheet.
Parameters:
spreadsheetId(string): The ID of the Google Sheetrange(string): The range to read (e.g., 'Sheet1!A1:C10')
write_sheet
Write data to a Google Sheet.
Parameters:
spreadsheetId(string): The ID of the Google Sheetrange(string): The range to write to (e.g., 'Sheet1!A1')values(array): 2D array of values to write
append_sheet
Append data to a Google Sheet.
Parameters:
spreadsheetId(string): The ID of the Google Sheetrange(string): The range to append to (e.g., 'Sheet1!A:C')values(array): 2D array of values to append
create_sheet
Create a new Google Sheet.
Parameters:
title(string): Title of the new spreadsheet
Authentication
This server uses OAuth2 authentication shared with the gmail_mcp server. The authentication is handled automatically using the credentials from the gmail_mcp folder.
Required Scopes:
https://www.googleapis.com/auth/spreadsheets(for Sheets access)
Make sure the Google Sheets API is enabled in your Google Cloud project alongside the Gmail API.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceEnables AI assistants to interact with Google Sheets for reading, writing, and managing spreadsheets through a set of MCP tools.Last updatedMIT
- Alicense-qualityBmaintenanceMCP server for Google Sheets operations, enabling spreadsheet management including reading, writing, appending, creating, and searching sheets via natural language.Last updatedMIT
- Flicense-qualityBmaintenanceProvides read/write access to Google Sheets and Google Docs through MCP tools, enabling operations like reading sheets, appending rows, and editing documents.Last updated
- Alicense-qualityCmaintenanceProvides full programmatic access to Google Sheets, enabling CRUD operations, permission management, formatting, and spreadsheet discovery through a standardized MCP interface.Last updated937MIT
Related MCP Connectors
Google Docs MCP Pack — read, create, and edit Google Docs via OAuth.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Query your Google Sheets as structured JSON: list sheets and tabs, read schemas, filter rows.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jsyapps/gsheets-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server