KosmoKrator

productivity

Gravity Forms MCP Integration for LangGraph

Connect Gravity Forms to LangGraph 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 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.

Gravity Forms MCP Config for LangGraph

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

{
  "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 LangGraph

LangGraph 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