Skip to main content
Glama
masatoshi118

Google Forms MCP Server

by masatoshi118

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:

cd google-forms-server
npm install

Building the Server

# メインのMCPサーバーをビルド
npm run build

Build the script to obtain a refresh token

# リフレッシュトークン取得スクリプトをビルド
npm run build:token

Running in a development environment

# サーバーを直接実行
node build/index.js

# または、npm scriptを使用
npm run start

Related MCP server: Formswrite MCP

How to set it up

  1. Create a project in the Google Cloud Console and enable the Google Forms API.

  2. Obtain an OAuth 2.0 client ID and secret.

    • APIs and Services > Credentials > Create Credentials > OAuth Client ID

    • Application Type: Select "Desktop App"

  3. Set the environment variables to get the refresh token.

    export GOOGLE_CLIENT_ID="あなたのクライアントID"
    export GOOGLE_CLIENT_SECRET="あなたのクライアントシークレット"
    cd google-forms-server
    npm run build
    node build/get-refresh-token.js

    Note: If an error occurs when running get-refresh-token.js, run the following command:

    cd google-forms-server
    npm run build:token
    node build/get-refresh-token.js
  4. Copy the refresh token that is displayed.

  5. 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 in mcpServers section: GXP7

  6. Restart Claude's desktop app.

Available Tools

This MCP server provides the following tools:

  1. create_form - Creates a new Google Form

  2. add_text_question - Adds a text question to the form

  3. add_multiple_choice_question - Adds a multiple choice question to the form

  4. get_form - Gets the details of a form

  5. get_form_responses - Get form responses

Usage Example

フォームを作成して、いくつかの質問を追加してください。

Claude creates forms using MCP tools such as:

  1. Create a new form using the create_form tool

  2. Add questions using add_text_question and add_multiple_choice_question tools

  3. View the URL of the created form

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Give AI agents access to form submissions — read, search, update, and process file attachments.

  • Google NotebookLM via natural language: create notebooks, add sources (PDF, URL, YouTube) and ask gr

  • Connect AI assistants to Dashform — build and manage AI-powered forms, funnels, quizzes.

View all MCP Connectors

Latest Blog Posts

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/masatoshi118/mcp_google_froms'

If you have feedback or need assistance with the MCP directory API, please join our Discord server