KosmoKrator

productivity

Google Forms MCP Integration for LangGraph

Connect Google Forms to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 5 read 2 write Manual OAuth token auth

Connect Google Forms to LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

Google Forms MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

{
  "mcpServers": {
    "kosmokrator-google-forms": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=google-forms",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=google-forms --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Google Forms instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Google Forms Tools Visible to LangGraph

LangGraph sees stable MCP tool names generated from the Google Forms integration catalog.

MCP toolSource functionTypeDescription
integration__google_forms__gforms_list_forms google-forms.gforms_list_forms Read List Google Forms owned by the authenticated user. Returns form IDs, titles, and metadata. Supports pagination and filtering.
integration__google_forms__gforms_get_form google-forms.gforms_get_form Read Get the full details of a specific Google Form, including its questions, layout, and settings.
integration__google_forms__gforms_create_form google-forms.gforms_create_form Write Create a new Google Form. Provide a title and optional description. The form will appear in the authenticated user's Google Drive.
integration__google_forms__gforms_list_responses google-forms.gforms_list_responses Read List responses submitted to a Google Form. Returns answers, timestamps, and respondent metadata. Supports pagination and filtering by date.
integration__google_forms__gforms_get_response google-forms.gforms_get_response Read Get a specific form response by ID. Returns all answers, the submission timestamp, and respondent metadata.
integration__google_forms__gforms_create_response google-forms.gforms_create_response Write Submit a response to a Google Form. Provide answers keyed by question ID. Use get_form first to discover question IDs and their types.
integration__google_forms__gforms_get_current_user google-forms.gforms_get_current_user Read Get the authenticated Google user's profile — email, display name, and profile photo. Use this to verify the connected account.

Related Google Forms Pages