Google Forms MCP
v1.4.1MCP server for the Google Forms API: create forms, manage questions, read responses and watches.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
auth_status Google connection status
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.
setup_instructions Setup instructions
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 confi…
set_client Save the OAuth client
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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the client_secret_*.json file downloaded from Google Cloud Console. |
start_login Start the Google login
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.
finish_login Finish the Google login
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 unnotice…
logout Disconnect from Google
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.
create_form Create a form
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 an…
| Parameter | Type | Description |
|---|---|---|
title * | string | The form title shown to respondents. |
document_title | string | The document name in Google Drive (defaults to the title). |
publish | boolean | Publish the form right away so it accepts responses (default false — the form stays an unpublished draft). |
get_form Get a form
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.
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
update_form_info Update form info
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.
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
description | string | New form description shown under the title. |
title | string | New form title shown to respondents. |
update_form_settings Update form settings
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.
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
email_collection_type | string | How respondent emails are collected. |
is_quiz | boolean | Turn quiz mode on/off (enables per-question grading). |
set_publish_settings Publish or unpublish a form
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.
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
is_published * | boolean | true = published (respondents can open it), false = unpublished draft. |
is_accepting_responses | boolean | Whether the form accepts new responses (defaults to the value of is_published). |
add_question Add a question
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 ques…
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
title * | string | The question text shown to respondents. |
type * | string | The question type. |
description | string | Help text shown under the question. |
duration | boolean | Time question asks for an elapsed duration instead of a time of day. |
high | integer | Scale upper bound (default 5; scale type). |
high_label | string | Label for the highest scale point. |
include_time | boolean | Date question also asks for a time of day. |
include_year | boolean | Date question includes the year. |
index | integer | 0-based position to insert at; omitted = append after the last item. |
low | integer | Scale lower bound (default 1; scale type). |
low_label | string | Label for the lowest scale point. |
options | array | The choices — required for radio, checkbox and dropdown. |
rating_icon_type | string | Rating icon (default star). |
rating_scale_level | integer | Number of rating icons (3..10; default 5; rating type). |
required | boolean | Whether an answer is required to submit. |
shuffle | boolean | Shuffle option order per respondent (choice types). |
update_question Update an item
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.
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
index * | integer | 0-based position of the item to update (from get_form). |
item * | object | The Forms API Item object with the new values, e.g. {"title":"New title","questionItem":{"question":{"required":true}}}. |
update_mask * | string | Comma-separated field paths to replace, e.g. "title,questionItem.question.required". |
delete_item Delete an item
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.
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
index * | integer | 0-based position of the item to delete (from get_form). |
move_item Move an item
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.
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
from_index * | integer | Current 0-based position of the item. |
to_index * | integer | Target 0-based position. |
list_responses List form responses
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 AP…
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
page_size | integer | Max responses per page (1..5000; the API's default and max is 5000). |
page_token | string | nextPageToken from the previous page. |
submitted_after | string | Only responses submitted after this RFC3339 UTC timestamp, e.g. 2026-08-01T00:00:00Z (exclusive). |
get_response Get one response
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.
| Parameter | Type | Description |
|---|---|---|
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
response_id * | string | The response id from list_responses. |
manage_watches Manage push-notification watches
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…
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do with the form's watches. |
form_id * | string | The form id — the long id from the form URL (docs.google.com/forms/d/<formId>/edit) or from create_form output. |
event_type | string | create only: RESPONSES (new submissions) or SCHEMA (form structure/settings changes). |
topic_name | string | create only: the Cloud Pub/Sub topic, e.g. projects/my-project/topics/forms-events. |
watch_id | string | delete/renew: the watch to target. create: optional custom id (auto-generated if omitted). |
raw_request Raw Google Forms API call
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/<formId>:batchUpdate", method POST, body {"requests":[...]}. The path may carry a query string (e.g. "v1/forms/<id>/responses?filter=timestamp%20%3E%202026-08-01T00:00:00Z"). The Bearer token is added automatically; the method defaults to GET.
| Parameter | Type | Description |
|---|---|---|
path * | string | API path relative to https://forms.googleapis.com, e.g. "v1/forms/<formId>:batchUpdate". |
body | object | JSON request body (POST only). |
method | string | HTTP method (the Forms API uses only these three). Defaults to GET. |