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.

13 functions 5 read 8 write OAuth browser flow 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__google_forms_add_question google_forms.google_forms_add_question Write Add a question to a Google Form. Supports types: text, paragraph, multiple_choice, checkbox, dropdown, scale, date, time, rating. Use options for choice types. Use low/high/lowLabel/highLabel for scale. Use ratingScale/ratingIcon for rating. Use includeTime/includeYear for date. Use duration for time. Omit index to add at end. Use google_forms_get to see current form structure before editing.
integration__google_forms__google_forms_add_section google_forms.google_forms_add_section Write Add a page break / section to a Google Form. Omit index to add at end. Use google_forms_get to see current form structure.
integration__google_forms__google_forms_add_text_item google_forms.google_forms_add_text_item Write Add a static text block to a Google Form. Omit index to add at end. Use google_forms_get to see current form structure.
integration__google_forms__google_forms_create google_forms.google_forms_create Read Create a new Google Form with a title, optional description, and optional quiz mode. Auto-publishes. Returns form ID, edit URL, and responder URL.
integration__google_forms__google_forms_delete_item google_forms.google_forms_delete_item Write Delete an item from a Google Form by its 0-based index. Use google_forms_get to see current form structure.
integration__google_forms__google_forms_get google_forms.google_forms_get Read Get a Google Form's structure: title, description, settings, all questions with types/options/IDs, and responder URL. The form ID is the long string in the Google Forms URL: docs.google.com/forms/d/{formId}/edit To list all forms, use google_drive_search with file type "application/vnd.google-apps.form".
integration__google_forms__google_forms_get_response google_forms.google_forms_get_response Read Get a single response to a Google Form by response ID, with question labels. The form ID is the long string in the Google Forms URL: docs.google.com/forms/d/{formId}/edit
integration__google_forms__google_forms_list_responses google_forms.google_forms_list_responses Read List responses to a Google Form with question labels. The form ID is the long string in the Google Forms URL: docs.google.com/forms/d/{formId}/edit
integration__google_forms__google_forms_move_item google_forms.google_forms_move_item Write Move an item in a Google Form from one 0-based index to another. Use google_forms_get to see current form structure.
integration__google_forms__google_forms_publish google_forms.google_forms_publish Read Set publish settings for a Google Form: publish/unpublish and accept/stop accepting responses. At least one of published or acceptingResponses must be provided.
integration__google_forms__google_forms_update_info google_forms.google_forms_update_info Write Update a Google Form title and/or description. At least one of title or description must be provided.
integration__google_forms__google_forms_update_question google_forms.google_forms_update_question Write Update a question in a Google Form by its 0-based index. Can update title, description, required status, and options (for choice questions). Use google_forms_get to see current form structure.
integration__google_forms__google_forms_update_settings google_forms.google_forms_update_settings Write Update Google Form settings such as quiz mode and email collection. At least one setting must be provided.

Related Google Forms Pages