Google Sheets MCP Server
Pricing
Pay per event + usage
Google Sheets MCP Server
Google Sheets MCP Server provides seamless access to Google Sheets API, enabling AI assistants to create, read, update, and manage Google Spreadsheets programmatically.
Pricing
Pay per event + usage
Rating
5.0
(1)
Developer

PowerAI
Actor stats
1
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Google Sheets MCP Server
The Google Sheets MCP Server provides seamless access to Google Sheets API, enabling AI assistants to create, read, update, and manage Google Spreadsheets programmatically. It simplifies integration of Google Sheets data into AI workflows and development environments.
About this MCP Server: To understand how to connect to and utilize this MCP server, please refer to the official Model Context Protocol documentation at mcp.apify.com.
Connection URL
MCP clients can connect to this server at:
https://powerai--google-sheets-mcp-server.apify.actor/mcp
Client Configuration
To connect to this MCP server, use the following configuration in your MCP client:
{"mcpServers": {"google-sheets": {"url": "https://powerai--google-sheets-mcp-server.apify.actor/mcp","headers": {"Authorization": "Bearer YOUR_APIFY_TOKEN","X-Google-Client-Id": "your-google-client-id","X-Google-Client-Secret": "your-google-client-secret","X-Google-Refresh-Token": "your-google-refresh-token"}}}}
Headers 说明:
| Header | Description |
|---|---|
Authorization | Apify API token (required) |
X-Google-Client-Id | Google OAuth Client ID |
X-Google-Client-Secret | Google OAuth Client Secret |
X-Google-Refresh-Token | Google OAuth Refresh Token |
Note: The Google credentials (
X-Google-*headers) are stored per-session and used for all tool calls within that session. These headers are only required on the initial connection request.
Environment Variables
This MCP server requires the following environment variables:
| Variable | Description |
|---|---|
GOOGLE_CLIENT_ID | Google OAuth 2.0 Client ID |
GOOGLE_CLIENT_SECRET | Google OAuth 2.0 Client Secret |
GOOGLE_REFRESH_TOKEN | Google OAuth 2.0 Refresh Token |
Obtaining Google Credentials
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the Google Sheets API and Google Drive API
- Go to "Credentials" and create an OAuth 2.0 Client ID
- Set the redirect URI to
http://localhost - Generate a refresh token using the OAuth flow
Available Tools
References
To learn more about Apify and Actors, take a look at the following resources: