
Google Mcp
io.github.matiasbattocchia由 GitHub 帳號 matiasbattocchia 發布v0.1.2更新於 Oct 24, 2026
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
概覽
託管式 MCP 伺服器,透過代理 OAuth 登入與 API 金鑰,讓 AI 助理讀取和管理你的 Google 日曆活動與 Google 試算表。
- 可以做什麼
- 列出日曆、依日期篩選列出活動,並查詢空閒/忙碌時段(不向助理揭露活動細節);建立、更新和刪除日曆活動;列出已授權的試算表,讀取試算表中介資料、工作表結構與欄位統計;依條件或依語意搜尋列,讀取和寫入範圍,附加列並建立新試算表。
- 適用情境
- 當你希望助理處理 Google 日曆和選定的 Google 試算表,又不想建立 Google Cloud 專案或執行本機伺服器時適用,例如安排行程或查詢、更新試算表資料。
- 執行需求
- 需要能連上網路的遠端端點 g.mcp.openbsp.dev。需要 Google 帳號登入並授予日曆與試算表權限,然後向服務方取得 API 金鑰,以 Bearer 權杖形式放在 Authorization 標頭中。不需本機執行環境或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Google Mcp,將其新增到工作區。
- 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.matiasbattocchia%2Fgoogle-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"google": {
"type": "http",
"url": "https://g.mcp.openbsp.dev/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
OpenBSP MCP for Google Workspace
A public Model Context Protocol (MCP) server that lets AI assistants access your Google Calendar and Sheets.
Live at: https://g.mcp.openbsp.dev
Why this exists
Most Google MCP servers require you to create your own Google Cloud project, set up OAuth credentials, and run a local server. This is tedious and error-prone.
This project is different. It's a hosted public server with proxy OAuth. You just:
- Click "Login with Google"
- Get an API key
- Add it to your MCP client
No Google Cloud setup. No local servers. No environment variables. Just connect and go.
What you can do
Once connected, ask your AI assistant to:
- List and search your calendar events
- Create, update, or delete events
- Read and write to Google Sheets
- Create new spreadsheets
How it works
- You select which Google products to connect (Calendar, Sheets)
- You authenticate with Google and grant permissions
- You receive an API key to configure your MCP client
- Your AI assistant can now access your Google data
Privacy & Security
What we store
OAuth tokens are encrypted at rest using AES-256-GCM. The encryption key is stored separately from the database, so a database breach alone cannot expose your Google tokens.
What we DON'T store
- Your Google password
- Your email content
- Your calendar events or spreadsheet data
- Any personal information
Data retention
- API keys: Stored until you revoke them (or until expiration if set)
- OAuth tokens: Stored alongside your API key
- Temporary auth states: Deleted after 10 minutes
How to revoke access
Option 1: Delete your API key
Option 2: Revoke from Google
- Go to Google Account Security
- Find "OpenBSP MCP" in the list
- Click "Remove Access"
Both options will immediately invalidate your API key.
Setup for MCP Clients
After authenticating, add this to your MCP client configuration:
Programmatic integration
MCP clients can automate the setup by redirecting users to:
After authentication, the user is redirected to your callback with credentials in the URL fragment:
Available Tools
Calendar
Scopes requested:
calendar.events- read and write eventscalendar.calendarlist.readonly- list your calendars (read-only)
Sheets
Scope requested:
drive.file- access only files you select or files created by the app
The drive.file scope only grants access to files the user explicitly selects during authentication (via Google Drive Picker) or files created by the app. Use list_authorized_files to discover which spreadsheets are available.
Tables support: The get_spreadsheet tool returns table metadata including tableId. Pass this to append_rows for proper table-aware appending that respects footers and auto-expands the table.
Semantic search: The semantic_search tool uses AI embeddings to find rows by meaning. Powered by TAG.
Self-Hosting
Want to run your own instance? See DEPLOY.md for instructions.
FAQ
Is this official? No, this is an independent open-source project. It is not affiliated with Google or Anthropic.
Is it safe? We only request the minimum permissions needed. Your data flows directly between Google and your AI client through our server - we don't store or log it.
Can I see the code? Yes! This project is open source. Review the code, run your own instance, or contribute improvements.
What if I lose my API key? Generate a new one by authenticating again. Old keys remain valid unless you revoke them.
Does it cost anything? This public instance is free. If you self-host, you'll pay for Cloudflare Workers (generous free tier available).
來源:README.md,提交 66972ac
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分