Google Forms MCP Server
This MCP server uses the Google Forms API to provide functions such as creating and editing forms, and retrieving responses.
Build Instructions
Initial Setup
After cloning the repository, install dependencies:
cd google-forms-server
npm install
Build the Server
# Build the main MCP server
npm run build
Build the Refresh Token Script
# Build the refresh token acquisition script
npm run build:token
Running in Development Environment
# Run the server directly
node build/index.js
# Or, use the npm script
npm run start
Setup Instructions
Create a project in the Google Cloud Console and enable the Google Forms API.
- https://console.cloud.google.com/
- Search for “Google Forms API” in API & Services > Library and enable it.
Obtain an OAuth 2.0 Client ID and Secret.
- API & Services > Credentials > Create Credentials > OAuth client ID
- Application type: Select “Desktop app”
Set environment variables and obtain a refresh token.
export GOOGLE_CLIENT_ID="YOUR_CLIENT_ID" export GOOGLE_CLIENT_SECRET="YOUR_CLIENT_SECRET" cd google-forms-server npm run build node build/get-refresh-token.jsNote: If you encounter an error when running
get-refresh-token.js, execute the following commands:cd google-forms-server npm run build:token node build/get-refresh-token.jsCopy the displayed refresh token.
Update the Claude desktop app’s configuration file.
- Open
~/Library/Application Support/Claude/claude_desktop_config.json. - Add environment variables to the
google-forms-serverin themcpServerssection:
"google-forms-server": { "command": "node", "args": [ "/path/to/your/mcp-google-form/google-forms-server/build/index.js" // Update this path ], "env": { "GOOGLE_CLIENT_ID": "YOUR_CLIENT_ID", "GOOGLE_CLIENT_SECRET": "YOUR_CLIENT_SECRET", "GOOGLE_REFRESH_TOKEN": "YOUR_REFRESH_TOKEN" } }Note: Ensure the path in
argspoints to the correct location ofindex.json your system.- Open
Restart the Claude desktop app.
Available Tools
This MCP server provides the following tools:
create_form- Creates a new Google Formadd_text_question- Adds a text question to the formadd_multiple_choice_question- Adds a multiple-choice question to the formget_form- Retrieves the details of a formget_form_responses- Retrieves the responses for a form
Usage Example
I want to guage my dev team's familiarity and comfort level integrating AI in their workflow.
Use your google forms tools to create a 2-4 minute multiple-choice survey!
Claude will use MCP tools like the following to create the form:
- Use the
create_formtool to create a new form - Use the
add_text_questionoradd_multiple_choice_questiontools to add questions - Display the URL of the created form
Google Forms Integration Server
Project Details
- delorenj/google-forms-mcp
- Last Updated: 4/14/2025
Recomended MCP Servers
An MCP server that standardizes and contextualizes industrial Modbus data.
Next.js project with TypeScript, ESLint, app directory, and TurboPack
Connect AI agents to the Paradex trading platform. Retrieve market data, manage accounts, and execute trades seamlessly. Enhance...
MCP server to update README.md using Ollama for conflict analysis.
A MCP server to interface with Biomart
A MCP Server for beancount query and transaction submmit.
MCP (Model Context Protocol) server for Dumpling AI





