Google Forms MCP Server

Google Forms MCP Server

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

Category
Visit Server

README

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を有効にします。

    • https://console.cloud.google.com/
    • APIとサービス > ライブラリから「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を表示

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured