Skip to main content
Glama

mcp-google-docs

MCP Google Workspace 통합

Google Docs, Sheets, Slides, Drive를 포함한 Google Workspace 서비스와 상호 작용하기 위한 포괄적인 MCP(Metoro Control Protocol) 도구입니다.

특징

Google 드라이브 기능

  • 파일 목록
  • 파일 복사
  • 파일 이름 바꾸기
  • 빈 스프레드시트 만들기
  • 템플릿에서 스프레드시트 만들기
  • 기존 스프레드시트 복사

Google 스프레드시트 기능

  • 목록 시트
  • 복사지
  • 시트 이름 바꾸기
  • 시트 데이터 가져오기
  • 행 추가/삭제
  • 열 추가/삭제
  • 셀 업데이트
  • 차트 생성/업데이트/삭제
  • 셀 서식 업데이트

Google 문서 기능

  • 문서 만들기
  • 서식을 적용하여 텍스트 삽입
  • 제목 추가
  • 이미지 삽입
  • 테이블 생성 및 관리
  • 페이지 나누기 삽입
  • 수평선 추가
  • 문서 스타일 업데이트
  • 표 스타일 및 콘텐츠 관리

Google 슬라이드 기능

  • 프레젠테이션 만들기
  • 슬라이드 추가
  • 이미지 삽입
  • 모양과 선 추가
  • 텍스트 스타일 업데이트
  • 슬라이드 배경 수정
  • 슬라이드 레이아웃 업데이트
  • 슬라이드 전환 추가
  • 스피커 노트 추가

설치

1. 가상 환경 설정

맥OS/리눅스

지엑스피1

윈도우
# Create virtual environment python -m venv venv # Activate virtual environment venv\Scripts\activate

2. 필요한 패키지 설치

pip install -r requirements.txt

3. Google Cloud Console 설정

  1. Google Cloud Console에서 프로젝트 만들기
  2. OAuth 2.0 클라이언트 ID 생성
  3. 필수 API 활성화:
    • 구글 시트 API
    • 구글 드라이브 API
    • Google 문서 API
    • Google 슬라이드 API

4. 환경 변수 설정

export MCPGD_CLIENT_SECRET_PATH="/path/to/client_secret.json" export MCPGD_FOLDER_ID="your_folder_id" export MCPGD_TOKEN_PATH="/path/to/token.json" # Optional

용법

1. 프로그램 실행

python main.py

2. MCP를 통해 도구 사용

Google 드라이브 예시
# List files mcp list_files # Copy a file mcp copy_file --file-id "file_id" --new_name "new_name"
Google 스프레드시트 예시
# Get sheet data mcp get_sheet_data --spreadsheet_id "your_spreadsheet_id" --range "Sheet1!A1:D10" # Create chart mcp create_chart --chart_type "LINE" --range "A1:B10" --sheet_name "Sheet1" --title "Sales Trend"
Google 문서 예시
# Create document mcp create_document --title "My Document" # Insert formatted text mcp insert_text_to_document --document_id "doc_id" --text "Hello World" --font_family "Arial" --font_size 12
Google 슬라이드 예시
# Create presentation mcp create_presentation --title "My Presentation" # Add slide with content mcp add_slide_to_presentation --presentation_id "presentation_id" --title "Slide Title" --content "Slide Content"

환경 변수

  • MCPGD_CLIENT_SECRET_PATH : Google OAuth 2.0 클라이언트 비밀 파일 경로
  • MCPGD_FOLDER_ID : Google 드라이브 폴더 ID
  • MCPGD_TOKEN_PATH : 토큰 저장 파일 경로(선택 사항, 기본값: ~/.mcp_google_spreadsheet.json)

특허

MIT 라이센스

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP(Metoro Control Protocol)를 사용하여 Google 스프레드시트와 Google 드라이브를 조작하는 도구입니다.

  1. 특징
    1. Google 드라이브 기능
    2. Google 스프레드시트 기능
    3. Google 문서 기능
    4. Google 슬라이드 기능
  2. 설치
    1. 가상 환경 설정
    2. 필요한 패키지 설치
    3. Google Cloud Console 설정
    4. 환경 변수 설정
  3. 용법
    1. 프로그램 실행
    2. MCP를 통해 도구 사용
  4. 환경 변수
    1. 특허

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        This MCP server integrates with Google Drive to allow listing, reading, and searching files, as well as the ability to read and write to Google Sheets.
        Last updated -
        91
        JavaScript
        MIT License
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that integrates with Google Drive and Google Sheets, enabling users to create, read, update, and manage spreadsheets through natural language commands.
        Last updated -
        134
        Python
        MIT License
        • Linux
        • Apple
      • A
        security
        F
        license
        A
        quality
        Provides a Model Context Protocol (MCP) server that enables LLMs to directly access and interact with Google Spreadsheet data.
        Last updated -
        2
        1
        TypeScript
        • Apple
      • A
        security
        F
        license
        A
        quality
        An MCP server that provides comprehensive Excel file operations, data analysis, and visualization capabilities for working with various spreadsheet formats like XLSX, CSV, and JSON.
        Last updated -
        8
        36
        Python

      View all related MCP servers

      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/dev-ithitchhiker/mcp-google-docs'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server