KosmoKrator

productivity

Google Forms MCP Integration for OpenAI Agents SDK

Connect Google Forms to OpenAI Agents SDK 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 OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Google Forms MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "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 OpenAI Agents

OpenAI Agents 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