MCP Google Workspace 集成
一个全面的 MCP(Metoro 控制协议)工具,用于与 Google Workspace 服务(包括 Google 文档、表格、幻灯片和云端硬盘)进行交互。
特征
Google Drive 功能
列出文件
复制文件
重命名文件
创建空白电子表格
从模板创建电子表格
复制现有电子表格
Google 表格功能
列表表
复印件
重命名工作表
获取工作表数据
添加/删除行
添加/删除列
更新单元格
创建/更新/删除图表
更新单元格格式
Google Docs 功能
创建文档
插入带格式的文本
添加标题
插入图片
创建和管理表
插入分页符
添加水平线
更新文档样式
管理表格样式和内容
Google 幻灯片功能
创建演示文稿
添加幻灯片
插入图片
添加形状和线条
更新文本样式
修改幻灯片背景
更新幻灯片布局
添加幻灯片切换
添加演讲者备注
安装
1.虚拟环境设置
macOS/Linux
视窗
2.安装所需的软件包
3. Google Cloud Console 设置
在 Google Cloud Console 中创建项目
创建 OAuth 2.0 客户端 ID
启用所需的 API:
Google 表格 API
Google Drive API
Google 文档 API
Google 幻灯片 API
4.环境变量设置
用法
1.运行程序
2. 通过 MCP 使用工具
Google Drive 示例
Google 表格示例
Google 文档示例
Google 幻灯片示例
环境变量
MCPGD_CLIENT_SECRET_PATH
:Google OAuth 2.0 客户端密钥文件的路径MCPGD_FOLDER_ID
:Google Drive 文件夹 IDMCPGD_TOKEN_PATH
:令牌存储文件的路径(可选,默认值:~/.mcp_google_spreadsheet.json)
执照
MIT 许可证
This server cannot be installed
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 控制协议)操作 Google 电子表格和 Google Drive 的工具。
Related MCP Servers
- -securityAlicense-qualityThis 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 -1302MIT License
- AsecurityFlicenseAqualityProvides a Model Context Protocol (MCP) server that enables LLMs to directly access and interact with Google Spreadsheet data.Last updated -21
- -securityAlicense-qualityA server that provides a Machine Control Protocol (MCP) interface to search, access, and interact with Google Drive files and folders, enabling AI assistants to work with Google Drive content.Last updated -5MIT License
- -securityFlicense-qualityAn MCP server that enables interaction with Google Sheets through natural language, allowing users to create, read, update, and manage spreadsheet data via the Google Sheets API v4.Last updated -