Integrations
Provides tools for creating and managing Google Forms, including creating forms, adding text and multiple choice questions, retrieving form details, and collecting form responses.
Google Forms MCP Server
This MCP server uses the Google Forms API to provide functions such as creating and editing forms and getting responses.
How to build
Initial Setup
After cloning the repository, install the dependencies:
Copy
Building the Server
Copy
Build the script to obtain a refresh token
Copy
Running in a development environment
Copy
How to set it up
- Create a project in the Google Cloud Console and enable the Google Forms API.
- https://console.cloud.google.com/
- Search for "Google Forms API" from APIs & Services > Library and enable it.
- Obtain an OAuth 2.0 client ID and secret.
- APIs and Services > Credentials > Create Credentials > OAuth Client ID
- Application Type: Select "Desktop App"
- Set the environment variables to get the refresh token.Note: If an error occurs when running get-refresh-token.js, run the following command:CopyCopy
- Copy the refresh token that is displayed.
- Update the configuration file for Claude's desktop app.
- Open
~/Library/Application Support/Claude/claude_desktop_config.json
. - Add the environment variable to
google-forms-server
inmcpServers
section: GXP7
- Open
- Restart Claude's 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
- Gets the details of a formget_form_responses
- Get form responses
Usage Example
Copy
Claude creates forms using MCP tools such as:
- Create a new form using the
create_form
tool - Add questions using
add_text_question
andadd_multiple_choice_question
tools - View the URL of the created form
This server cannot be installed
Enables interaction with Google Forms API to create forms, add questions, and retrieve responses through natural language commands.