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
セットアップ方法
Google Cloud Consoleでプロジェクトを作成し、Google Forms APIを有効にします。
- https://console.cloud.google.com/
- APIとサービス > ライブラリから「Google Forms API」を検索して有効にします。
OAuth 2.0クライアントIDとシークレットを取得します。
- APIとサービス > 認証情報 > 認証情報を作成 > OAuth クライアントID
- アプリケーションの種類:「デスクトップアプリ」を選択
環境変数を設定してリフレッシュトークンを取得します。
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表示されたリフレッシュトークンをコピーします。
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": "取得したリフレッシュトークン" } }Claudeのデスクトップアプリを再起動します。
使用可能なツール
このMCPサーバーは以下のツールを提供します:
create_form- 新しいGoogleフォームを作成しますadd_text_question- フォームにテキスト質問を追加しますadd_multiple_choice_question- フォームに選択式質問を追加しますget_form- フォームの詳細を取得しますget_form_responses- フォームの回答を取得します
使用例
フォームを作成して、いくつかの質問を追加してください。
Claudeは以下のようなMCPツールを使用してフォームを作成します:
create_formツールを使用して新しいフォームを作成add_text_questionやadd_multiple_choice_questionツールを使用して質問を追加- 作成されたフォームのURLを表示
Google Forms Integration Server
Project Details
- masatoshi118/mcp_google_froms
- Last Updated: 3/6/2025
Recomended MCP Servers
MCP Server for handling Jira issues
working Dropbox MCP server for cursor .47 using simple variable and a simple wrapper
A Model Context Protocol (MCP) server for interacting with Kong Konnect APIs, allowing AI assistants to query and...
A Model Context Protocol (MCP) server for interacting with the Canvas API. This server allows you to manage...
An advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via...
Model Context Protocol server for Audius. Perform market research, purchase premium tracks, upload songs, and much more!
MCP server for generating human face images with various shapes and sizes
A mongo db server for the model context protocol (MCP)
The first Google Workspace MCP Server written for Streamable HTTP transport, with support for Calendar, Gmail, Docs &...





