MCP Server Studio

Google Forms MCP MCP server

MCP server for the Google Forms API: create forms, manage questions, read responses and watches.

Registry name: io.github.A1-x-Tech/mcp-google-forms

Publisher
A1-x-Tech
Runs
Runs locally
Package
npm
Version
1.4.1
Category
Developer tools
Updated
2026-11-28

Source code on GitHub

Set up Google Forms MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-google-forms": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_FORMS_CLIENT_ID": "<GOOGLE_FORMS_CLIENT_ID>",
        "GOOGLE_FORMS_CLIENT_SECRET": "<GOOGLE_FORMS_CLIENT_SECRET>",
        "GOOGLE_FORMS_REFRESH_TOKEN": "<GOOGLE_FORMS_REFRESH_TOKEN>",
        "GOOGLE_FORMS_ACCESS_TOKEN": "<GOOGLE_FORMS_ACCESS_TOKEN>",
        "GOOGLE_FORMS_OAUTH_PORT": "<GOOGLE_FORMS_OAUTH_PORT>",
        "GOOGLE_FORMS_API_BASE": "<GOOGLE_FORMS_API_BASE>",
        "GOOGLE_FORMS_TIMEOUT_MS": "<GOOGLE_FORMS_TIMEOUT_MS>",
        "GOOGLE_FORMS_MAX_RETRIES": "<GOOGLE_FORMS_MAX_RETRIES>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp-google-forms -e GOOGLE_FORMS_CLIENT_ID='<GOOGLE_FORMS_CLIENT_ID>' -e GOOGLE_FORMS_CLIENT_SECRET='<GOOGLE_FORMS_CLIENT_SECRET>' -e GOOGLE_FORMS_REFRESH_TOKEN='<GOOGLE_FORMS_REFRESH_TOKEN>' -e GOOGLE_FORMS_ACCESS_TOKEN='<GOOGLE_FORMS_ACCESS_TOKEN>' -e GOOGLE_FORMS_OAUTH_PORT='<GOOGLE_FORMS_OAUTH_PORT>' -e GOOGLE_FORMS_API_BASE='<GOOGLE_FORMS_API_BASE>' -e GOOGLE_FORMS_TIMEOUT_MS='<GOOGLE_FORMS_TIMEOUT_MS>' -e GOOGLE_FORMS_MAX_RETRIES='<GOOGLE_FORMS_MAX_RETRIES>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp-google-forms": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_FORMS_CLIENT_ID": "<GOOGLE_FORMS_CLIENT_ID>",
        "GOOGLE_FORMS_CLIENT_SECRET": "<GOOGLE_FORMS_CLIENT_SECRET>",
        "GOOGLE_FORMS_REFRESH_TOKEN": "<GOOGLE_FORMS_REFRESH_TOKEN>",
        "GOOGLE_FORMS_ACCESS_TOKEN": "<GOOGLE_FORMS_ACCESS_TOKEN>",
        "GOOGLE_FORMS_OAUTH_PORT": "<GOOGLE_FORMS_OAUTH_PORT>",
        "GOOGLE_FORMS_API_BASE": "<GOOGLE_FORMS_API_BASE>",
        "GOOGLE_FORMS_TIMEOUT_MS": "<GOOGLE_FORMS_TIMEOUT_MS>",
        "GOOGLE_FORMS_MAX_RETRIES": "<GOOGLE_FORMS_MAX_RETRIES>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp-google-forms": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_FORMS_CLIENT_ID": "<GOOGLE_FORMS_CLIENT_ID>",
        "GOOGLE_FORMS_CLIENT_SECRET": "<GOOGLE_FORMS_CLIENT_SECRET>",
        "GOOGLE_FORMS_REFRESH_TOKEN": "<GOOGLE_FORMS_REFRESH_TOKEN>",
        "GOOGLE_FORMS_ACCESS_TOKEN": "<GOOGLE_FORMS_ACCESS_TOKEN>",
        "GOOGLE_FORMS_OAUTH_PORT": "<GOOGLE_FORMS_OAUTH_PORT>",
        "GOOGLE_FORMS_API_BASE": "<GOOGLE_FORMS_API_BASE>",
        "GOOGLE_FORMS_TIMEOUT_MS": "<GOOGLE_FORMS_TIMEOUT_MS>",
        "GOOGLE_FORMS_MAX_RETRIES": "<GOOGLE_FORMS_MAX_RETRIES>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp-google-forms": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "GOOGLE_FORMS_CLIENT_ID": "<GOOGLE_FORMS_CLIENT_ID>",
        "GOOGLE_FORMS_CLIENT_SECRET": "<GOOGLE_FORMS_CLIENT_SECRET>",
        "GOOGLE_FORMS_REFRESH_TOKEN": "<GOOGLE_FORMS_REFRESH_TOKEN>",
        "GOOGLE_FORMS_ACCESS_TOKEN": "<GOOGLE_FORMS_ACCESS_TOKEN>",
        "GOOGLE_FORMS_OAUTH_PORT": "<GOOGLE_FORMS_OAUTH_PORT>",
        "GOOGLE_FORMS_API_BASE": "<GOOGLE_FORMS_API_BASE>",
        "GOOGLE_FORMS_TIMEOUT_MS": "<GOOGLE_FORMS_TIMEOUT_MS>",
        "GOOGLE_FORMS_MAX_RETRIES": "<GOOGLE_FORMS_MAX_RETRIES>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
GOOGLE_FORMS_CLIENT_IDNoGoogle OAuth2 client id (refresh-token flow).
GOOGLE_FORMS_CLIENT_SECRETNoGoogle OAuth2 client secret (refresh-token flow). Treat it as a secret.
GOOGLE_FORMS_REFRESH_TOKENNoGoogle OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.
GOOGLE_FORMS_ACCESS_TOKENNoStatic OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.
GOOGLE_FORMS_OAUTH_PORTNoFixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.
GOOGLE_FORMS_API_BASENoAPI root override.
GOOGLE_FORMS_TIMEOUT_MSNoPer-request timeout in milliseconds.
GOOGLE_FORMS_MAX_RETRIESNoRetries on transient errors (429 always; 5xx/network for reads).

More developer tools MCP servers