MCP Google Workspace Server
MCP Google Workspace 서버
AI 에이전트가 Google Workspace(Drive, Docs, Sheets) 서비스와 상호 작용할 수 있도록 하는 MCP(Model Context Protocol) 서버입니다.
🌟 특징
Google 드라이브: 파일 검색, 폴더 생성
Google 문서: 문서 만들기, 읽기, 업데이트
Google 시트: 스프레드시트 만들기, 셀 값 읽기/쓰기
다양한 전송 모드: stdio(기본값), SSE, WebSocket
MCP 호환 클라이언트 지원(커서 등)
Related MCP server: MCP Google Suite
📋 설치
uv 사용(권장)
지엑스피1
pip 사용하기
pip install mcp-google-suite개발 설정
# Clone and install
git clone git@github.com:adexltd/mcp-google-suite.git && cd mcp-google-suite
uv venv && source .venv/bin/activate # or .venv\Scripts\activate on Windows
uv pip install -e .🔧 구성
MCP 클라이언트에 대한 구성
클라이언트 설정(예: 커서, 클로드)에 다음을 추가합니다.
uvx 사용(권장):
{
"mcpServers": {
"mcp-google-suite": {
"command": "uvx",
"args": ["mcp-google-suite"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "~/.google/server-creds.json",
"GOOGLE_OAUTH_CREDENTIALS": "~/.google/oauth.keys.json"
}
}
}
}pip 설치 사용:
{
"mcpServers": {
"mcp-google-suite": {
"command": "python",
"args": ["-m", "mcp_google_suite"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "~/.google/server-creds.json",
"GOOGLE_OAUTH_CREDENTIALS": "~/.google/oauth.keys.json"
}
}
}
}Google OAuth 설정
Drive, Docs 및 Sheets API 사용 설정
OAuth 2.0 자격 증명 만들기
~/.google/oauth.keys.json으로 저장mcp-google auth실행하여 인증하세요.
사용 가능한 도구
드라이브 운영
drive_search_files: Google Drive에서 파일 검색query(문자열, 필수): 검색 쿼리page_size(정수, 선택 사항): 반환할 결과 수
drive_create_folder: 새 폴더 만들기name(문자열, 필수): 폴더 이름parent_id(문자열, 선택 사항): 상위 폴더 ID
문서 작업
docs_create: 새 문서를 만듭니다title(문자열, 필수): 문서 제목content(문자열, 선택 사항): 초기 콘텐츠
docs_get_content: 문서 내용 가져오기document_id(문자열, 필수): 문서 ID
docs_update_content: 문서 내용 업데이트document_id(문자열, 필수): 문서 IDcontent(문자열, 필수): 새 콘텐츠
시트 작업
sheets_create: 새 스프레드시트를 만듭니다title(문자열, 필수): 스프레드시트 제목sheets(배열, 선택 사항): 시트 이름
sheets_get_values: 셀 값 가져오기spreadsheet_id(문자열, 필수): 스프레드시트 IDrange(문자열, 필수): A1 표기법 범위
sheets_update_values: 셀 값 업데이트spreadsheet_id(문자열, 필수): 스프레드시트 IDrange(문자열, 필수): A1 표기법 범위values(배열, 필수): 값의 2차원 배열
🛠️ 개발
# Install dev dependencies
uv pip install -e ".[dev]"
# Setup pre-commit hooks
pre-commit install
# Run tests
pytest
# Format code
black . && ruff check --fix .🔍 디버깅
대화형 테스트를 위해 MCP Inspector를 사용하세요.
# Using uvx
npx @modelcontextprotocol/inspector uvx mcp-google
# For development
cd path/to/mcp-google-suite
npx @modelcontextprotocol/inspector uv run mcp-google📚 리소스
🤝 기여하기
행동 강령과 풀 리퀘스트 제출 프로세스에 대한 자세한 내용은 CONTRIBUTING.md를 읽어보세요.
🔒 보안
취약점 보고 및 모범 사례는 SECURITY.md를 참조하세요.
📄 라이센스
MIT 라이센스 - 자세한 내용은 라이센스 파일을 참조하세요.
Available Tools
8 toolsdocs_createC
Create a new Google Doc
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Initial content | |
| title | Yes | Title of the document |
docs_get_contentC
Get the contents of a Google Doc
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ID of the document |
docs_update_contentC
Update the content of a Google Doc
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | New content | |
| document_id | Yes | ID of the document |
drive_create_folderC
Create a new folder in Google Drive
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the folder | |
| parent_id | No | ID of parent folder |
drive_search_filesC
Search for files in Google Drive
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | Number of results to return | |
| query | Yes | Search query |
sheets_createC
Create a new Google Sheet
| Name | Required | Description | Default |
|---|---|---|---|
| sheets | No | Sheet names | |
| title | Yes | Title of the spreadsheet |
sheets_get_valuesC
Get values from a Google Sheet range
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | A1 notation range | |
| spreadsheet_id | Yes | ID of the spreadsheet |
sheets_update_valuesC
Update values in a Google Sheet range
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | A1 notation range | |
| spreadsheet_id | Yes | ID of the spreadsheet | |
| values | Yes | 2D array of values |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
8 tool updates
v1.0.0- First observed
docs_create - First observed
docs_get_content - First observed
docs_update_content - First observed
drive_create_folder - First observed
drive_search_files - First observed
sheets_create - First observed
sheets_get_values - First observed
sheets_update_values
TDQS
Scored across 8 tools
Every tool has a clearly distinct purpose with no ambiguity, as each is scoped to a specific Google Workspace service (Docs, Drive, Sheets) and action (create, get/read, update, search). The naming prefixes (docs_, drive_, sheets_) immediately differentiate the domains, preventing misselection.
All tools follow a consistent verb_noun pattern with service prefixes, using snake_case uniformly (e.g., docs_create, sheets_update_values). This predictable naming scheme makes it easy for an agent to understand and navigate the toolset without confusion.
With 8 tools, the count is well-scoped for covering core operations across three Google Workspace services. Each tool earns its place by providing essential CRUD-like functionality (create, get, update) and search capabilities, avoiding bloat while ensuring practical coverage.
The toolset offers strong coverage for Docs, Drive, and Sheets with create, read, update, and search operations, but minor gaps exist, such as missing delete operations for Docs and Sheets, and no update for Drive folders. Agents can work around these gaps, but the surface isn't fully complete for full lifecycle management.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
The Google GKE MCP server is a managed Model Context Protocol server that provides AI applications with tools to manage Google Kubernetes Engine (GKE) clusters and Kubernetes resources. It exposes a structured, discoverable interface that allows AI agents to interact with GKE and Kubernetes APIs, enabling them to inspect cluster configurations, retrieve Kubernetes resource YAMLs, monitor operations like cluster upgrades, diagnose issues, and optimize costs—all without needing to parse text output or use complex kubectl commands.
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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.23,145 PyPI1,016MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that provides seamless integration with Google Workspace, allowing operations with Google Drive, Docs, and Sheets through secure OAuth2 authentication.860 PyPI3MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that connects AI agents to Google Workspace (Gmail, Calendar, Drive, Docs, Sheets, and Slides).302MIT
- AlicenseNot gradedqualityBmaintenanceA full-featured Model Context Protocol server that gives AI assistants real-time access to Google Workspace services including Drive, Gmail, Calendar, Sheets, Docs, and Apps Script.10MIT