Mcp Google Forms

io.github.KamaruSama由 GitHub 帳號 KamaruSama 發布v1.0.1更新於 Oct 24, 2026

19 tools for Google Forms: create quizzes, add questions, set answer keys, read responses.

已驗證STDIO僅桌面效率與工作流開發者工具

概覽

AI 產生的概覽

一個本機 MCP 伺服器,透過 19 個工具讓助理建立、編輯與檢視 Google 表單測驗,並讀取送出的回覆。

可以做什麼
建立與設定表單:新建測驗模式表單、重新命名、開關測驗模式,讀取完整表單 JSON 或精簡題目清單,並可核對答案鍵是否符合預期。新增題目:是非題(單題或批次)、選擇題(單選、多選、下拉)、簡答或段落文字,以及分節標題或分頁。編輯題目:重新命名、修改是非題答案、刪除與調整順序。讀取回覆:列出所有送出的回覆或依 ID 取得單筆回覆。另可透過原始 Forms API 批次更新作為備用手段,並檢查 OAuth 憑證狀態。
適用情境
適合讓助理建立或調整 Google 表單測驗、批次新增題目、核對答案鍵,或直接在對話中取得送出的回覆。適用於已在 Google 表單作業的教師、培訓人員與團隊。
執行需求
以本機程序執行(PyPI 套件 mcp-google-forms,透過 uv 啟動)。需要啟用 Google Forms API 的 Google Cloud 專案、存放於設定目錄的 OAuth 桌面用戶端憑證 JSON,以及首次 OAuth 授權時使用的瀏覽器。選用環境變數 GOOGLE_FORMS_MCP_DIR 可覆寫憑證與快取權杖的存放目錄。僅支援桌面用戶端。
安裝前請注意
伺服器會將 OAuth 憑證與快取權杖存於磁碟,並要求 forms.body、forms.responses.readonly 與 drive.file 權限範圍,因此可修改表單結構並讀取送出的回覆。相關工具會建立、編輯、重排與刪除題目,raw_batch_update 可執行任意 Forms API 變更。套用前請先檢查變更,並妥善保管憑證與權杖檔案。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Google Forms,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-google-forms

MCP server for managing Google Forms — quizzes, grading, images, responses.

Exposes 19 tools for creating, editing, inspecting, and managing Google Forms through the Model Context Protocol. Built for use with Claude Code, Claude Desktop, or any MCP-compatible client.

📖 อ่านภาษาไทย →


Tools at a glance

SectionToolPurpose
Authauth_statusCheck OAuth credential state
Create / metadatacreate_quiz_formNew form in quiz mode
rename_formChange title/description
set_quiz_modeToggle quiz on/off
Readget_formFull form JSON
list_questionsConcise item list
verify_answer_keysDiff current vs expected answer keys
Addadd_true_false_questionSingle T/F question
batch_add_true_falseBulk T/F
add_multiple_choice_questionRadio / checkbox / dropdown
add_text_questionShort or paragraph text
add_section_headerPage break / section
Editupdate_question_titleRename question
update_true_false_answerRe-key a T/F answer
delete_questionRemove item
move_questionReorder
Responseslist_responsesAll submitted responses
get_responseOne response by ID
Escape hatchraw_batch_updateRaw Forms API calls

Install

1. Enable API + get credentials

  1. Go to https://console.cloud.google.com → create/select a project
  2. APIs & Services → Library → enable Google Forms API
  3. OAuth consent screen → External → add yourself as test user
  4. Credentials → Create Credentials → OAuth client ID → Desktop app
  5. Download JSON → save as:
    ~/.config/google-forms-mcp/credentials.json

2. Register with Claude Code

bash
claude mcp add google-forms -s user -- \  uv run --directory /path/to/mcp-google-forms python server.py

3. First use

On the first tool call, the server opens a browser for OAuth consent. Token is cached at ~/.config/google-forms-mcp/token.json.


Scopes

  • forms.body — create/edit form structure
  • forms.responses.readonly — read responses
  • drive.file — attach images via Drive

Support the project ❤

If this tool helps your workflow, consider supporting development:


Contact


Copyright © 2026 likezara™. All rights reserved. Developed by Kamaru (pen name).

來源:README.md,提交 514378c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。