KosmoKrator

forms

Formstack MCP Integration for Vercel AI SDK

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

8 functions 6 read 2 write Manual OAuth token auth

Connect Formstack 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.

Formstack MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Formstack Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__formstack__formstack_list_forms formstack.formstack_list_forms Read List all forms in your Formstack account. Returns form names, IDs, and pagination info. Use search to filter by name.
integration__formstack__formstack_get_form formstack.formstack_get_form Read Get details and field structure of a specific Formstack form. Returns all fields, their types, labels, and options.
integration__formstack__formstack_list_submissions formstack.formstack_list_submissions Read List submissions for a specific Formstack form. Returns submission IDs, timestamps, and optionally expanded field data.
integration__formstack__formstack_get_submission formstack.formstack_get_submission Read Get details of a specific Formstack submission. Returns all field values, timestamps, and metadata.
integration__formstack__formstack_create_submission formstack.formstack_create_submission Write Create a new submission for a Formstack form. Pass field values using the field keys from the form structure. Use Get Form first to discover available fields.
integration__formstack__formstack_delete_submission formstack.formstack_delete_submission Write Delete a Formstack submission. This action is permanent and cannot be undone.
integration__formstack__formstack_list_folders formstack.formstack_list_folders Read List all folders in your Formstack account. Folders are used to organize forms.
integration__formstack__formstack_get_current_user formstack.formstack_get_current_user Read Get the currently authenticated Formstack user profile. Returns name, email, and account info.

Related Formstack Pages