Skip to main content
Glama

Google Forms MCP

영어 | 러시아어

npm CI Glama License: MIT

A1 Google Forms MCP를 사용하면 AI 앱이 자연어로 Google Forms 설문지를 만들고 관리할 수 있습니다. 설문조사를 만들고, 질문을 선택하고, 준비되면 게시하고, 응답을 읽고, 새 제출 알림을 사용할 수 있습니다.

Google 계정으로 Google Forms API를 사용합니다. 초안 양식과 게시된 양식을 구분하며, 모든 양식 작업이 가능한 것처럼 암시하지 않고 Forms API의 한계를 명확히 합니다.

  • 13가지 도구. 양식 구조와 응답을 확인하고, 양식과 질문을 만들고 편집하며, 게시를 관리하고 Pub/Sub 감시를 구성할 수 있습니다.

  • 의도적으로 게시. API로 만든 양식은 기본적으로 게시되지 않은 상태로 시작하므로, 게시하기 전까지 응답을 수집할 수 없습니다.

  • 응답은 그대로 유지됩니다. API는 응답을 읽을 수 있지만 생성하거나 편집할 수 없으며, 서버에는 답변을 제출하는 도구가 없습니다.

  • 최소한의 Google 범위. 광범위한 Drive 액세스 없이 forms.body와 forms.responses.readonly를 사용합니다.

읽기 전용 질문부터 시작해 보세요:

어제 고객 피드백 양식에 대한 응답을 보여 주고, 자유 텍스트 답변을 요약해 주세요.

서버 연결하기 · 사용 사례 살펴보기 · 기술 문서 열기


1분 만에 작동 확인하기

사용자: 고객 피드백 양식의 질문과 응답 설정을 보여 주세요.

어시스턴트: 양식, 항목, 게시 여부, 응답 수락 여부를 표시합니다. 변경되는 것은 없습니다.

사용자: 첫 번째 질문 뒤에 “경험은 어떠셨나요?”라는 필수 1–5점 평점 질문을 준비해 주세요.

어시스턴트: 대상 양식, 위치, 제안된 질문을 표시한 다음 추가하기 전에 확인을 요청합니다.

사용자: 확인합니다.

어시스턴트: 질문을 양식에 추가합니다. 별도로 요청하지 않는 한 양식을 게시하거나 닫지 않습니다.

Related MCP server: Google Workspace MCP Server

목차

빠른 시작

Node.js 20 이상, Google 계정, 그리고 Google Forms API가 사용 설정된 Google Cloud 프로젝트의 OAuth 자격 증명이 필요합니다.

  1. Google OAuth 액세스 준비.

  2. AI 앱에 서버를 추가하세요.

  3. 위의 읽기 전용 질문을 해 보세요.

앱에서: 설정 → 플러그인 → MCP 서버를 열고 서버 추가를 선택한 다음, 다음 환경 변수(GOOGLE_FORMS_CLIENT_ID, GOOGLE_FORMS_CLIENT_SECRET, GOOGLE_FORMS_REFRESH_TOKEN)와 함께 npx -y mcp-google-forms@latest를 추가하세요.

명령줄에서:

codex mcp add google-forms \
  --env GOOGLE_FORMS_CLIENT_ID=your_client_id \
  --env GOOGLE_FORMS_CLIENT_SECRET=your_client_secret \
  --env GOOGLE_FORMS_REFRESH_TOKEN=your_refresh_token \
  -- npx -y mcp-google-forms@latest
codex mcp list

Codex MCP 문서

claude mcp add \
  --env GOOGLE_FORMS_CLIENT_ID=your_client_id \
  --env GOOGLE_FORMS_CLIENT_SECRET=your_client_secret \
  --env GOOGLE_FORMS_REFRESH_TOKEN=your_refresh_token \
  --transport stdio --scope user google-forms \
  -- npx -y mcp-google-forms@latest
claude mcp list

Claude Code MCP 문서

설정 → 개발자 → 구성 편집을 열고 다음을 추가하세요:

{
  "mcpServers": {
    "google-forms": {
      "command": "npx",
      "args": ["-y", "mcp-google-forms@latest"],
      "env": {
        "GOOGLE_FORMS_CLIENT_ID": "your_client_id",
        "GOOGLE_FORMS_CLIENT_SECRET": "your_client_secret",
        "GOOGLE_FORMS_REFRESH_TOKEN": "your_refresh_token"
      }
    }
  }
}

구성 편집을 사용할 수 없으면 macOS에서는 ~/Library/Application Support/Claude/claude_desktop_config.json, Windows에서는 %APPDATA%\Claude\claude_desktop_config.json을 편집하세요.

Claude Desktop MCP 문서

macOS/Linux에서는 ~/.cursor/mcp.json, Windows에서는 %USERPROFILE%\.cursor\mcp.json에 다음을 추가하세요:

{
  "mcpServers": {
    "google-forms": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-google-forms@latest"],
      "env": {
        "GOOGLE_FORMS_CLIENT_ID": "your_client_id",
        "GOOGLE_FORMS_CLIENT_SECRET": "your_client_secret",
        "GOOGLE_FORMS_REFRESH_TOKEN": "your_refresh_token"
      }
    }
  }
}

Cursor MCP 문서

MCP: Open User Configuration을 실행하고 다음을 추가하세요:

{
  "servers": {
    "google-forms": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-google-forms@latest"],
      "env": {
        "GOOGLE_FORMS_CLIENT_ID": "${input:forms_client_id}",
        "GOOGLE_FORMS_CLIENT_SECRET": "${input:forms_client_secret}",
        "GOOGLE_FORMS_REFRESH_TOKEN": "${input:forms_refresh_token}"
      }
    }
  },
  "inputs": [
    { "type": "promptString", "id": "forms_client_id", "description": "Google OAuth client ID" },
    { "type": "promptString", "id": "forms_client_secret", "description": "Google OAuth client secret", "password": true },
    { "type": "promptString", "id": "forms_refresh_token", "description": "Google OAuth refresh token", "password": true }
  ]
}

MCP: List Servers로 확인하세요.

VS Code MCP 문서

무엇을 요청할 수 있나요

설문조사와 응답 확인

  • 이 양식의 질문, 응답 설정 및 응답자 링크를 보여 주세요.

  • 월요일 이후 도착한 답변 수는 몇 개인가요? 자유 텍스트 피드백을 요약해 주세요.

  • ID로 응답 하나를 보여 주세요.

양식 만들기 및 개선

  • 이름, 식사 선호도, 도착 날짜가 포함된 RSVP 양식을 만들어 주세요.

  • 필수 평점, 드롭다운, 날짜, 시간, 선택형 또는 텍스트 질문을 추가해 주세요.

  • 질문 순서를 변경하거나 제목, 설명, 퀴즈 모드, 이메일 수집 설정을 업데이트해 주세요.

게시 및 알림 연결

  • 준비된 양식을 게시하고 응답자 URL을 보여 주세요.

  • 양식을 삭제하지 않고 새 응답 수락을 중지해 주세요.

  • 새 제출에 대한 Cloud Pub/Sub 감시를 생성, 갱신 또는 제거해 주세요.

양식이 어떻게 변경되나요

  1. create_form은 기본적으로 게시되지 않은 상태로 시작하는 양식을 만듭니다.

  2. 질문은 양식에서의 위치로 식별되는 항목입니다.

  3. 게시하면 응답자가 양식을 사용할 수 있게 됩니다. 응답 수집을 닫으면 양식은 게시된 상태로 유지되지만 새 제출은 중단됩니다.

  4. 응답은 별도의 읽기 전용 레코드입니다. API는 응답자의 답변을 제출, 편집 또는 삭제할 수 없습니다.

파일 업로드 질문은 Forms API로 만들 수 없지만, 기존 파일 업로드 항목은 읽을 수 있습니다. Google의 게시 모델 이전에 만든 레거시 양식은 게시 설정을 지원하지 않을 수 있습니다.

무엇을 변경할 수 있나요

작업

결과

확인 경계

양식 및 응답 읽기

양식 구조와 제출 내용을 읽음

변경 없음

양식 만들기

게시되지 않은 양식을 추가함

Google Forms 변경

질문 추가 또는 이동

양식 항목을 변경함

양식 변경

양식 정보, 설정 또는 항목 업데이트

제목, 설정 또는 선택한 질문을 변경함

양식 변경

게시, 게시 취소, 응답 열기 또는 닫기

양식을 사용할 수 있는 대상을 변경함

양식의 공개 가용성 변경

항목 삭제

선택한 질문을 제거함

파괴적

Pub/Sub 감시 관리

알림 전달을 생성, 갱신 또는 삭제함

잠재적으로 파괴적

원시 API 요청

전용 도구 없이 API 메서드를 호출할 수 있음

잠재적으로 파괴적

AI 클라이언트가 확인 프롬프트를 제어합니다. 서버는 읽기 도구, 쓰기 도구 및 파괴적 도구를 표시하므로 클라이언트가 조회와 실제 변경을 구분할 수 있습니다.

액세스 권한 얻기

Google Forms는 OAuth 2.0이 필요하며 API 키만으로는 충분하지 않습니다.

  1. Google Cloud 프로젝트를 만들거나 선택하고 Google Forms API를 사용 설정합니다.

  2. OAuth 동의 화면을 구성하고 데스크톱 앱 OAuth 클라이언트를 만듭니다.

  3. 양식을 소유하거나 편집할 수 있는 Google 계정을 승인합니다. OAuth 2.0 Playground에서 Use your own OAuth credentials를 사용 설정하면 새로 고침 토큰을 얻을 수 있습니다.

  4. 다음 두 범위를 요청하세요.

    https://www.googleapis.com/auth/forms.body
    https://www.googleapis.com/auth/forms.responses.readonly

테스트 모드 OAuth 새로 고침 토큰은 7일 후 만료될 수 있습니다. 장기 액세스가 필요하면 OAuth 앱을 게시하거나 Workspace 도메인에서 내부 앱을 사용하세요. 클라이언트 시크릿과 새로 고침 토큰은 비밀번호처럼 취급하세요.

구성

변수

필수

설명

GOOGLE_FORMS_CLIENT_ID

예*

OAuth 클라이언트 ID.

GOOGLE_FORMS_CLIENT_SECRET

예*

OAuth 클라이언트 시크릿.

GOOGLE_FORMS_REFRESH_TOKEN

예*

OAuth 새로 고침 토큰.

GOOGLE_FORMS_ACCESS_TOKEN

예*

OAuth 자격 증명 3종의 단기 대안.

GOOGLE_FORMS_API_BASE

아니요

Google Forms API 기본 URL 재정의.

GOOGLE_FORMS_TIMEOUT_MS

아니요

요청당 시간 제한. 기본값 60000ms.

GOOGLE_FORMS_MAX_RETRIES

아니요

일시적 오류 재시도. 기본값 3.

* OAuth 자격 증명 3종 또는 액세스 토큰 중 하나를 제공하세요.

데이터, 제한 사항 및 백그라운드 작업

  • 요청은 Google Forms로 전송됩니다. 로컬 서버가 Google OAuth 토큰을 새로 고치고 Forms API를 호출합니다. 이 서버의 익명 원격 분석에는 설치 ID, 패키지 버전, AI 클라이언트 및 플랫폼 버전, 도구 이름이 포함되며 OAuth 토큰, 양식 데이터, 도구 인수 또는 프롬프트는 절대 포함되지 않습니다. ASKADS_TELEMETRY=0으로 설정하면 옵트아웃할 수 있습니다.

  • Google은 분당 할당량을 적용합니다. 문서화된 한도는 프로젝트당 읽기 975회, list_responses 호출 450회, 쓰기 375회입니다. 429 응답 시 서버는 백오프를 사용합니다. 읽기는 네트워크 및 5xx 오류 후에도 재시도되지만, 쓰기는 결과가 불확실한 실패 후에는 다시 실행되지 않습니다.

  • 백그라운드 폴링은 없습니다. 서버는 호출될 때만 실행됩니다. Pub/Sub 감시는 새 응답을 사용자 자신의 인프라에 알릴 수 있으며, AI 앱이 예약 작업을 지원한다면 주기적으로 응답을 확인할 수도 있습니다.

기술 문서

지원

버그를 발견했거나 특정 시나리오가 필요하신가요? 이슈 만들기 또는 Telegram으로 문의하세요.

Available Tools

19 tools
add_questionAdd a questionA

Adds a question to the form (a convenience wrapper over batchUpdate createItem). Types: text (short answer), paragraph (long answer), radio (single choice), checkbox (multiple choice), dropdown, scale (linear scale low..high), date, time, rating (stars/hearts/thumbs). Choice types require options[]. Returns the created itemId and questionId from the batchUpdate replies. index inserts at that 0-based position; omit it to append at the end (costs one extra read to count items). Quiz grading (points, correct answers, feedback) cannot be set here — after adding, use update_question with the questionItem.question.grading mask. File-upload questions cannot be created via the API, and question grids (questionGroupItem) need raw_request with a batchUpdate body.

Inputs: type (required), title (required), form_id (required), low, +13 more.

auth_statusGoogle connection statusA
Read-onlyIdempotent

Shows whether this server is connected to Google: token presence and source (env variables or a stored in-chat login), expiry, the Google account email, granted vs missing OAuth scopes, where the credentials file lives and where the OAuth client comes from. Makes no network calls and never returns the token itself. Call it first when other tools report the server is not connected.

Inputs: no named parameters.

create_formCreate a formA

Creates a new Google Form and returns it (formId, revisionId, responderUri, publishSettings). The API only accepts a title and an optional document title at creation (the Drive file name — it cannot be changed later through this API) — add questions with add_question and change settings with update_form_settings afterwards. IMPORTANT: API-created forms are UNPUBLISHED by default and do not accept responses; pass publish=true to publish immediately, or call set_publish_settings later. If the chained publish step fails, the form still exists: the result carries formId with published:false and publish_error — finish with set_publish_settings, never create_form again. Share the responderUri with respondents once published.

Inputs: title (required), publish, document_title.

delete_itemDelete an itemA
Destructive

Deletes the item at the given 0-based index (question, page break, text block, ...). Deletion shifts every later item one position down — re-check indexes with get_form between successive deletes.

Inputs: index (required), form_id (required).

finish_loginFinish the Google loginA
Idempotent

Second step: waits up to 20 s for the browser consent to finish, saves the tokens to an owner-only file and verifies the login with a read-only identity call, returning the account email and the granted scopes. After success every tool works immediately — no client restart. If the user granted only part of the requested permissions, the login is still saved and missingScopes lists what will not work. Logging in under a different Google account replaces the previous login (its refresh token is revoked best-effort) and the response carries previousAccountEmail so the change never goes unnoticed.

Inputs: no named parameters.

get_formGet a formA
Read-onlyIdempotent

Returns the full form: info (title, description), settings (quiz mode, email collection), items[] with their itemId/questionId and question definitions, publishSettings, responderUri and linkedSheetId. Items are returned in order — their 0-based positions are the indexes that update_question, delete_item and move_item address, so call this before mutating items.

Inputs: form_id (required).

get_responseGet one responseA
Read-onlyIdempotent

Fetches a single submission by its responseId (from list_responses): answers keyed by questionId, createTime, lastSubmittedTime, respondentEmail and totalScore when available. Map questionId to the question text via get_form.

Inputs: form_id (required), response_id (required).

list_responsesList form responsesA
Read-onlyIdempotent

Lists submitted responses: responseId, createTime, lastSubmittedTime, respondentEmail (only when email collection is on), answers keyed by questionId (map questionId → question via get_form), and totalScore for graded quizzes. submitted_after keeps only responses submitted strictly after that RFC3339 UTC timestamp — the API's only filter; there is no ordering or email filter, do that client-side. Paginate with page_token from nextPageToken. Note: this endpoint has a lower per-minute quota than other reads — poll incrementally with submitted_after rather than re-listing everything. The API is read-only for responses; submitting them programmatically is impossible.

Inputs: form_id (required), page_size, page_token, submitted_after.

logoutDisconnect from GoogleA
Destructive

Revokes the stored token at Google (oauth2.googleapis.com/revoke) and deletes the local credentials file. Tokens supplied via env variables are NOT touched — remove them from the MCP client config manually; envTokenStillSet in the response says whether any are still in effect.

Inputs: no named parameters.

manage_watchesManage push-notification watchesA
Destructive

Manages Cloud Pub/Sub push-notification watches on a form. action=create needs event_type (RESPONSES = new submissions, SCHEMA = form structure changes) and topic_name; the topic must live in your Cloud project and grant the Pub/Sub Publisher role to forms-notifications@system.gserviceaccount.com. action=list shows your watches; delete and renew need watch_id. Watches expire after 7 days — renew extends 7 days from now and reactivates a SUSPENDED watch. Notifications carry only formId/watchId/eventType attributes (no payload): on RESPONSES call list_responses with submitted_after, on SCHEMA call get_form. Limits: 1 watch per user per form+event type, 20 per Cloud project.

Inputs: action (required), form_id (required), watch_id, event_type, +1 more.

move_itemMove an itemA

Moves the item at from_index to to_index (both 0-based, to_index is the position after removal). Use get_form to see the current order first.

Inputs: form_id (required), to_index (required), from_index (required).

raw_requestRaw Google Forms API callA
Destructive

Escape hatch to call any Google Forms API v1 path directly, for requests the typed tools don't cover — e.g. a batchUpdate with questionGroupItem grids, writeControl/requiredRevisionId, includeFormInResponse, or several requests at once: path "v1/forms/:batchUpdate", method POST, body {"requests":[...]}. The path may carry a query string (e.g. "v1/forms//responses?filter=timestamp%20%3E%202026-08-01T00:00:00Z"). The Bearer token is added automatically; the method defaults to GET.

Inputs: path (required), body, method.

set_clientSave the OAuth clientA
Idempotent

Saves the OAuth client credentials from the JSON file downloaded from Google Cloud Console ('Download JSON' on a Desktop-app client). Pass the file PATH — the secret must never be pasted into the chat. The client is stored once in the shared ~/.config/mcp-google-auth/client.json (owner-only) and reused by every mcp-google-* server; tokens stay per-server. After this, call start_login.

Inputs: path (required).

set_publish_settingsPublish or unpublish a formA
DestructiveIdempotent

Publishes or unpublishes the form and opens/closes response collection. is_accepting_responses defaults to mirroring is_published (publish = start accepting, unpublish = stop). Use is_published=true with is_accepting_responses=false to keep a published form visible but closed. Fails on legacy forms created before the publish model existed — those are managed only in the Forms UI.

Inputs: form_id (required), is_published (required), is_accepting_responses.

setup_instructionsSetup instructionsA
Read-onlyIdempotent

This server ships with a built-in OAuth client, so connecting normally needs only start_login + finish_login; call this for the details or to switch to your own client. The checklist adapts to the client in use: with the built-in client it is just the two login calls, and it adds the steps for your OWN client — creating a Google Cloud project and a Desktop-app OAuth client, publishing the consent screen (mandatory — Testing-mode refresh tokens die after 7 days), downloading the client JSON and handing its PATH to set_client. Works without any credentials; with your own client already configured it shortens to 'enable the API + log in' (one client serves the whole mcp-google-* line). Never asks the user to paste secrets into the chat.

Inputs: no named parameters.

start_loginStart the Google loginA
Idempotent

First step of connecting from the chat, without editing config files or restarting the client. Returns authorizeUrl — show it to the user as a clickable link and ask them to open it in the browser ON THIS MACHINE, pick the Google account and approve access. A one-shot listener on 127.0.0.1 catches Google's redirect; the code is exchanged locally and never passes through the chat. Does not open the browser itself. The attempt lives 10 minutes; when the browser shows the success page, call finish_login.

Inputs: no named parameters.

update_form_infoUpdate form infoA
DestructiveIdempotent

Changes the form's title and/or description. Only the provided fields are touched (the updateMask is computed automatically); at least one field is required. The document title (the Drive file name) is set once at create_form and cannot be changed through the Forms API — renaming the file needs the Drive API, which this server does not cover. Returns the batchUpdate replies with the new revisionId.

Inputs: form_id (required), title, description.

update_form_settingsUpdate form settingsA
DestructiveIdempotent

Toggles quiz mode (grading with points) and/or the email collection mode. Quiz mode only enables grading — points, correct answers and feedback are set per question afterwards via update_question with the questionItem.question.grading mask (add_question cannot set them). email_collection_type: DO_NOT_COLLECT, VERIFIED (respondent must be signed in; email verified) or RESPONDER_INPUT (respondent types an email). At least one field is required; only the provided fields are touched.

Inputs: form_id (required), is_quiz, email_collection_type.

update_questionUpdate an itemA
DestructiveIdempotent

Updates an existing item (question or other) via batchUpdate updateItem. The item is addressed by its 0-based index — call get_form first to see current positions and the item's current shape. item is a raw Forms API Item object with the new values; update_mask names the fields to replace, e.g. "title" or "title,questionItem.question.required". Only masked fields change; masking a field the item object leaves unset clears it.

Inputs: item (required), index (required), form_id (required), update_mask (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 19 tools

    Disambiguation4/5

    Most tools target a distinct resource+action, and the descriptions actively separate the confusable pairs (update_form_info vs update_form_settings vs set_publish_settings, add_question vs update_question). Minor overlap remains: set_client and setup_instructions both concern OAuth client configuration, and raw_request can duplicate almost any typed tool, though it is clearly framed as an escape hatch.

    Naming Consistency4/5

    The dominant pattern is verb_noun with a consistent snake_case style: create_form, get_form, update_form_info, add_question, delete_item, move_item, list_responses, get_response, manage_watches. Deviations are few — auth_status is noun-first, logout is verb-only, and raw_request is a bare noun — but the set reads predictably.

    Tool Count4/5

    19 tools is on the high side but each maps to a real operation: a 6-tool OAuth lifecycle, form CRUD/settings, item manipulation, response reading, watches, and one escape hatch. Nothing looks redundant or padded, though the auth cluster could arguably be compressed.

    Completeness4/5

    Coverage is strong for the Forms API: form create/read/update, publish/close, question add/update/delete/move, response list/get, and watch management, with raw_request covering uncovered paths like question grids. Real gaps remain — no delete_form or duplicate_form (explicitly deferred to the Drive API) and no batch question creation.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers