mcp-google-forms
Provides tools for managing Google Forms end-to-end: creating forms, adding and editing questions, publishing/unpublishing, reading responses, and managing push-notification watches.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-google-formsCreate a customer feedback form with a rating question and publish it."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Forms MCP
MCP server for the Google Forms API: create forms, add and edit questions, publish, read responses and set up push notifications for new submissions — from Claude, Cursor, Codex and other AI clients, in natural language.
Ask your assistant to "make a customer-feedback survey with a rating question and publish it", "show me yesterday's responses", or "close the form for responses" — it drives the Forms API for you, from a blank form to response analysis.
Quick start
Get OAuth credentials for the Google Forms API.
Add the server — for example, in Claude Code (other clients):
claude mcp add google-forms \ -e GOOGLE_FORMS_CLIENT_ID=your_client_id \ -e GOOGLE_FORMS_CLIENT_SECRET=your_client_secret \ -e GOOGLE_FORMS_REFRESH_TOKEN=your_refresh_token \ -- npx -y mcp-google-formsAsk the assistant: "Create a form called 'Team lunch survey' with a dropdown of three restaurants and publish it."
Related MCP server: Google Workspace MCP Server
Tools
Tool | Description |
| Create a form (optionally publish it right away — API-created forms start unpublished). |
| Full form structure: info, settings, items with ids, publish state, responder URL. |
| Change the title, description or document title. |
| Toggle quiz mode and email collection. |
| Add a question: text, paragraph, radio, checkbox, dropdown, scale, date, time, rating. |
| Update an existing item by index with an explicit update mask. |
| Delete the item at an index. |
| Reorder items. |
| Publish/unpublish, open/close response collection. |
| List submissions, incrementally with |
| Fetch one submission by id. |
| Create/list/delete/renew Cloud Pub/Sub push-notification watches. |
| Escape hatch: any Forms API v1 path (e.g. a custom |
Plus resilience built in: automatic OAuth token refresh (including on 401), retries with backoff on 429 (and on 5xx/network errors for reads only — writes are never replayed), a request timeout, and an SSRF guard so the token can't leak to a foreign host.
Example prompts
"Create an RSVP form for the offsite, ask for name, meal preference (veg/meat/fish) and arrival date, then publish it and give me the link."
"Turn the 'Onboarding quiz' form into a quiz and make every question required."
"How many responses came in since Monday? Summarize the free-text feedback."
"Stop accepting responses on the feedback form."
Limitations (the API's, not the server's)
Responses are read-only. The Forms API cannot submit or edit responses — there is no such endpoint, so this server has no submit tool either.
API-created forms start unpublished and don't accept responses until published — use
publish: trueoncreate_formorset_publish_settings. Legacy forms (from before the publish model) don't supportset_publish_settingsat all.File-upload questions can't be created via the API (existing ones are readable).
Quotas are per minute (reads 975/project,
list_responses450, writes 375); the server backs off on 429 automatically.
Installation
Requires Node.js 20+ (runs via npx, no separate install).
claude mcp add google-forms \
-e GOOGLE_FORMS_CLIENT_ID=your_client_id \
-e GOOGLE_FORMS_CLIENT_SECRET=your_client_secret \
-e GOOGLE_FORMS_REFRESH_TOKEN=your_refresh_token \
-- npx -y mcp-google-formsclaude_desktop_config.json — macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\
{
"mcpServers": {
"google-forms": {
"command": "npx",
"args": ["-y", "mcp-google-forms"],
"env": {
"GOOGLE_FORMS_CLIENT_ID": "your_client_id",
"GOOGLE_FORMS_CLIENT_SECRET": "your_client_secret",
"GOOGLE_FORMS_REFRESH_TOKEN": "your_refresh_token"
}
}
}
}~/.cursor/mcp.json (or .cursor/mcp.json in the project)
{
"mcpServers": {
"google-forms": {
"command": "npx",
"args": ["-y", "mcp-google-forms"],
"env": {
"GOOGLE_FORMS_CLIENT_ID": "your_client_id",
"GOOGLE_FORMS_CLIENT_SECRET": "your_client_secret",
"GOOGLE_FORMS_REFRESH_TOKEN": "your_refresh_token"
}
}
}
}.vscode/mcp.json — note the servers key (not mcpServers)
{
"servers": {
"google-forms": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-google-forms"],
"env": {
"GOOGLE_FORMS_CLIENT_ID": "your_client_id",
"GOOGLE_FORMS_CLIENT_SECRET": "your_client_secret",
"GOOGLE_FORMS_REFRESH_TOKEN": "your_refresh_token"
}
}
}
}Getting credentials
The Forms API has no API-key access — every call needs OAuth 2.0. One-time setup, ~10 minutes:
Create a Google Cloud project (or reuse one) at console.cloud.google.com, then enable the Google Forms API: APIs & Services → Library → Google Forms API → Enable.
Configure the OAuth consent screen (APIs & Services → OAuth consent screen): choose External, fill in the app name and your email, and add your Google account under Test users (in Testing mode only listed users can authorize — no app verification needed).
Create an OAuth client (APIs & Services → Credentials → Create credentials → OAuth client ID), application type Desktop app. Save the client ID and client secret.
Mint a refresh token. The easiest way is the OAuth 2.0 Playground:
Click the gear icon → check Use your own OAuth credentials → paste your client ID and secret (add
https://developers.google.com/oauthplaygroundas an authorized redirect URI to the OAuth client first).In Step 1, enter the scopes
https://www.googleapis.com/auth/forms.body https://www.googleapis.com/auth/forms.responses.readonlyand click Authorize APIs, signing in with the test-user account.In Step 2, click Exchange authorization code for tokens and copy the refresh token.
Put the three values into
GOOGLE_FORMS_CLIENT_ID,GOOGLE_FORMS_CLIENT_SECRETandGOOGLE_FORMS_REFRESH_TOKEN. The server exchanges the refresh token for short-lived access tokens automatically.
Scope notes: forms.body + forms.responses.readonly is the minimal, recommended pair (no
broad Drive access). While the consent screen stays in Testing mode, refresh tokens expire
after 7 days — publish the app (or keep it Internal in a Workspace domain) for long-lived tokens.
⚠️ The credentials are stored in plain text in your client's config — treat them like a password. The refresh token grants access to your forms until revoked at myaccount.google.com/permissions.
Configuration
Variable | Required | Default | Description |
| yes* | — | OAuth2 client id (refresh flow). |
| yes* | — | OAuth2 client secret (refresh flow). |
| yes* | — | OAuth2 refresh token (refresh flow). |
| yes* | — | Alternative: a static access token (~1 h lifetime), mostly for testing. |
| no |
| API root override. |
| no |
| Per-request timeout, ms. |
| no |
| Retries on transient errors. |
* Either the three refresh-flow variables together, or GOOGLE_FORMS_ACCESS_TOKEN.
Documentation
All tools — full reference with parameters and notes.
Development — build, tests, smoke check, telemetry.
Publishing — releasing and MCP-catalog listing.
Support
Questions, ideas, issues — Telegram @gistrec or GitHub issues.
License
MIT — see LICENSE.
Maintenance
Related MCP Servers
- Flicense-qualityDmaintenanceAn 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
- Alicense-qualityDmaintenanceA comprehensive MCP server integrating Google Docs, Sheets, Drive, Gmail, Calendar, and Apps Script APIs, featuring unique Apps Script support for AI-driven automation.Last updated88MIT
- Alicense-qualityCmaintenanceMCP server for reading, editing, and publishing Google Forms with the official Google Forms API. Enables AI agents to programmatically create, modify, and manage forms and responses.Last updatedMIT
- Flicense-qualityDmaintenanceAn MCP server that enables AI assistants to interact with Google Docs, Sheets, and Drive using the user's own Google account.Last updated
Related MCP Connectors
MCP server for Google Veo AI video generation
MCP server for AI dialogue using various LLM models via AceDataCloud
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/A1-x-Tech/mcp-google-forms'
If you have feedback or need assistance with the MCP directory API, please join our Discord server