TokenToSeaMCP Hub
中文 Console

Google Sheets MCP Server

xing5

Create, read and modify spreadsheets in Google Drive through the Google Sheets API.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add google-sheets --env SERVICE_ACCOUNT_PATH='<SERVICE_ACCOUNT_PATH>' --env DRIVE_FOLDER_ID='<DRIVE_FOLDER_ID>' --env CREDENTIALS_CONFIG='<CREDENTIALS_CONFIG>' --env CREDENTIALS_PATH='<CREDENTIALS_PATH>' --env GOOGLE_APPLICATION_CREDENTIALS='<GOOGLE_APPLICATION_CREDENTIALS>' --env TOKEN_PATH='<TOKEN_PATH>' -- uvx mcp-google-sheets@latest

Environment variables

  • SERVICE_ACCOUNT_PATH
  • DRIVE_FOLDER_ID
  • CREDENTIALS_CONFIG
  • CREDENTIALS_PATH
  • GOOGLE_APPLICATION_CREDENTIALS
  • TOKEN_PATH

Replace the placeholders with your own credentials and keep them out of version control.