Skip to main content
Glama

Google Forms MCP Server

by masatoshi118

Google Forms MCP Server

このMCPサーバーは、Google FormsのAPIを使用して、フォームの作成、編集、回答の取得などの機能を提供します。

ビルド方法

初期セットアップ

リポジトリをクローンした後、依存関係をインストール

cd google-forms-server npm install

サーバーのビルド

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

リフレッシュトークン取得スクリプトのビルド

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

開発環境における実行

# サーバーを直接実行 node build/index.js # または、npm scriptを使用 npm run start

セットアップ方法

  1. Google Cloud Consoleでプロジェクトを作成し、Google Forms APIを有効にします。
  2. OAuth 2.0クライアントIDとシークレットを取得します。
    • APIとサービス > 認証情報 > 認証情報を作成 > OAuth クライアントID
    • アプリケーションの種類:「デスクトップアプリ」を選択
  3. 環境変数を設定してリフレッシュトークンを取得します。
    export GOOGLE_CLIENT_ID="あなたのクライアントID" export GOOGLE_CLIENT_SECRET="あなたのクライアントシークレット" cd google-forms-server npm run build node build/get-refresh-token.js
    注意: get-refresh-token.jsの実行時にエラーが発生する場合は、以下のコマンドを実行してください。
    cd google-forms-server npm run build:token node build/get-refresh-token.js
  4. 表示されたリフレッシュトークンをコピーします。
  5. Claudeのデスクトップアプリの設定ファイルを更新します。
    • ~/Library/Application Support/Claude/claude_desktop_config.jsonを開きます。
    • mcpServersセクションのgoogle-forms-serverに環境変数を追加します:
    "google-forms-server": { "command": "node", "args": [ "/Users/nakamotomasatoshi/application/AI/mcp-google-form/google-forms-server/build/index.js" ], "env": { "GOOGLE_CLIENT_ID": "あなたのクライアントID", "GOOGLE_CLIENT_SECRET": "あなたのクライアントシークレット", "GOOGLE_REFRESH_TOKEN": "取得したリフレッシュトークン" } }
  6. Claudeのデスクトップアプリを再起動します。

使用可能なツール

このMCPサーバーは以下のツールを提供します:

  1. create_form - 新しいGoogleフォームを作成します
  2. add_text_question - フォームにテキスト質問を追加します
  3. add_multiple_choice_question - フォームに選択式質問を追加します
  4. get_form - フォームの詳細を取得します
  5. get_form_responses - フォームの回答を取得します

使用例

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

Claudeは以下のようなMCPツールを使用してフォームを作成します:

  1. create_formツールを使用して新しいフォームを作成
  2. add_text_questionadd_multiple_choice_questionツールを使用して質問を追加
  3. 作成されたフォームのURLを表示
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables interaction with Google Forms API to create forms, add questions, and retrieve responses through natural language commands.

  1. ビルド方法
    1. 初期セットアップ
    2. サーバーのビルド
    3. リフレッシュトークン取得スクリプトのビルド
    4. 開発環境における実行
  2. セットアップ方法
    1. 使用可能なツール
      1. 使用例

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          Enables form management, response handling, and analytics through the Fillout.io API for enhanced form interactions and insights.
          Last updated -
          TypeScript
        • -
          security
          A
          license
          -
          quality
          Integrates with Google Tasks to allow listing, reading, searching, creating, updating, and deleting tasks.
          Last updated -
          15
          TypeScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          Enables extracting data from websites using natural language prompts, allowing users to specify exactly what content they want in plain English and returning structured JSON data.
          Last updated -
          1
          1,379
          4
          TypeScript
          MIT License
          • Apple
          • Linux
        • -
          security
          F
          license
          -
          quality
          Provides browser automation capabilities through an API endpoint that interprets natural language commands to perform web tasks using OpenAI's GPT models.
          Last updated -
          Python

        View all related MCP servers

        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