productivity
Gravity Forms MCP Integration for OpenAI Agents SDK
Connect Gravity Forms to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Gravity 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.
Gravity Forms MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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
Expose only Gravity Forms instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Gravity Forms Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Gravity Forms integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |