KosmoKrator

productivity

Gravity Forms MCP Integration for Vercel AI SDK

Connect Gravity Forms to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API key auth

Connect Gravity Forms to Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Gravity Forms MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

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

Run the Gateway Manually

kosmokrator mcp:serve --integration=gravity --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Gravity 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.

Gravity Forms Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Gravity Forms integration catalog.

MCP toolSource functionTypeDescription
integration__gravity__gravity_list_forms gravity.gravity_list_forms Read List forms available in Gravity with optional pagination.
integration__gravity__gravity_get_form gravity.gravity_get_form Read Get details for a specific Gravity form.
integration__gravity__gravity_submit_form gravity.gravity_submit_form Write Submit a Gravity form with field values.
integration__gravity__gravity_list_submissions gravity.gravity_list_submissions Read List submissions for a specific Gravity form.
integration__gravity__gravity_list_entries gravity.gravity_list_entries Read List entries for a specific Gravity form.
integration__gravity__gravity_get_entry gravity.gravity_get_entry Read Get details for a specific Gravity entry.
integration__gravity__gravity_get_current_user gravity.gravity_get_current_user Read Get profile information for the authenticated Gravity user.

Related Gravity Forms Pages