DG

domdomegg/google-sheets-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

2 stars 5 forks 품질 63 트렌드 18

MC MCP 서버 Google 시트 - 읽기, 쓰기, 및 스프레드 시트 관리

개요

MCP 서버 Google 시트 - 읽기, 쓰기 및 쿼리 스프레드 시트 데이터. : "많은 개방 거래가 파이프라인에 있습니까?"또는 "총 Q3 수익은 무엇입니까?" → 스프레드 시트를 읽고 직접 답변하십시오. : 영수증의 사진을 스냅 → 세부 사항을 추출하고 비용 추적기에 행을 추가합니다. : "우리의 공급업체 Slack 채널을 확인하고 최신 업데이트로 추적 스프레드 시트를 업데이트하십시오" → 시트를 업데이트하십시오. : "Break down the Salesforce Figures by region and compare against our event calendar" → 여러 소스에서 스프레드 시트로 데이터를 끌어 분석합니다. (These는 단지 예입니다 - 스프레드 시트 데이터가 이것을 사용할 수있는 작업 흐름. 파일, 삭제, 의견 및 공유 권한을 찾는 Google-drive-mcp와 함께 사용하십시오.) 1. Google Cloud Console 2. 새로운 프로젝트 만들기 (또는 기존 사용) 3. Google 시트 API 4. 사용 →로 이동, 동의 스크린 5.를 설치하십시오 → → → 6.로 이동 선택 7. 추가 http://localhost:3000/callback 에 8.

개요(AI 번역)

MCP 서버 Google 시트 - 읽기, 쓰기 및 쿼리 스프레드 시트 데이터.

사용 케이스

** 데이터 질문 **: “많은 오픈 거래가 파이프라인에 있습니까?” 또는 “총 Q3 수익은 무엇입니까?” → 스프레드 시트를 읽고 직접 답변하십시오.

** 빠른 비용 항목**: 영수증의 사진을 스냅 → 세부 사항을 추출하고 비용 추적기에 행을 추가합니다.

**Cross-tool 상태 동기화 **: “모든 공급 업체 Slack 채널을 확인하고 최신 업데이트로 추적 스프레드 시트를 업데이트하십시오” → Slack을 읽고 시트를 업데이트하십시오.

데이터 분석: “지역의 Salesforce 수치를 낮추고 이벤트 캘린더에 대한 비교” → 여러 소스에서 분석을 위한 스프레드 시트로 데이터를 끌어냅니다.

(These는 단지 예입니다 - 스프레드 시트 데이터가 이것을 사용할 수있는 작업 흐름. 파일, 삭제, 의견 및 공유 권한을 찾는 Google-drive-mcp와 함께 사용하십시오.)

설치

##1. Google OAuth 자격 증명 생성

  1. Google Cloud 콘솔로 이동
  2. 새 프로젝트 만들기 (또는 기존 사용)
  3. Google 시트 API 사용
  4. APIs & Services → OAuth 동의 화면, 동의 화면 설정
  5. 명세.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

google-sheets-mcp

MCP server for Google Sheets - read, write, and query spreadsheet data.

Use Cases

Data questions: “How many open deals are in the pipeline?” or “What’s our total Q3 revenue?” → reads the spreadsheet and answers directly.

Quick expense entry: Snap a photo of a receipt → extracts the details and appends a row to your expense tracker.

Cross-tool status sync: “Check all our vendor Slack channels and update the tracking spreadsheet with their latest updates” → reads Slack, updates the sheet.

Data analysis: “Break down the Salesforce figures by region and compare against our events calendar” → pulls data from multiple sources into a spreadsheet for analysis.

(These are just examples - any workflow that needs spreadsheet data can use this. Use in combination with google-drive-mcp for finding files, deleting, comments, and sharing permissions.)

Setup

1. Create Google OAuth credentials

  1. Go to Google Cloud Console
  2. Create a new project (or use existing)
  3. Enable the Google Sheets API
  4. Go to APIs & Services → OAuth consent screen, set up consent screen
  5. Go to APIs & Services → Credentials → Create Credentials → OAuth client ID
  6. Choose Web application
  7. Add http://localhost:3000/callback to Authorized redirect URIs
  8. Note your Client ID and Client Secret

2. Run the server

GOOGLE_CLIENT_ID='your-client-id' \
GOOGLE_CLIENT_SECRET='your-client-secret' \
MCP_TRANSPORT=http \
npm start

The server runs on http://localhost:3000 by default. Change with PORT=3001.

3. Add to your MCP client

With the server running, follow the instructions on install-mcp, which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).

Architecture

This server acts as an OAuth proxy to Google:

graph LR
    A[MCP client]  B[google-sheets-mcp]  C[Google OAuth/API]
  1. Server advertises itself as an OAuth authorization server via /.well-known/oauth-authorization-server
  2. /register returns the Google OAuth client credentials
  3. /authorize redirects to Google, encoding the client’s callback URL in state
  4. /callback receives the code from Google and forwards to the client’s callback
  5. /token proxies token requests to Google, injecting client credentials
  6. /mcp handles MCP requests, using the bearer token to call Google Sheets API

The server holds no tokens or state - it just proxies OAuth to Google.

Tools

Tool Description
Spreadsheet
sheets_spreadsheet_get Get spreadsheet metadata (title, sheets list, optionally cell data)
sheets_spreadsheet_create Create a new spreadsheet
Values
sheets_values_get Read cell values from a range
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →