KosmoKrator

analytics

Klipfolio MCP Integration for Vercel AI SDK

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

7 functions 7 read 0 write Bearer token auth

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

Klipfolio MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Klipfolio Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__klipfolio__klipfolio_list_dashboards klipfolio.klipfolio_list_dashboards Read List all dashboards accessible to the authenticated user in Klipfolio. Returns dashboard IDs, names, and metadata.
integration__klipfolio__klipfolio_get_dashboard klipfolio.klipfolio_get_dashboard Read Get details for a specific Klipfolio dashboard by ID, including its layout, Klips, and sharing settings.
integration__klipfolio__klipfolio_list_metrics klipfolio.klipfolio_list_metrics Read List all metrics accessible to the authenticated user in Klipfolio. Returns metric IDs, names, and associated data sources.
integration__klipfolio__klipfolio_get_metric klipfolio.klipfolio_get_metric Read Get details for a specific Klipfolio metric by ID, including its formula, data bindings, and formatting.
integration__klipfolio__klipfolio_list_datasources klipfolio.klipfolio_list_datasources Read List all data sources accessible to the authenticated user in Klipfolio. Returns data source IDs, names, and connector types.
integration__klipfolio__klipfolio_get_datasource klipfolio.klipfolio_get_datasource Read Get details for a specific Klipfolio data source by ID, including its connector type, refresh settings, and configuration.
integration__klipfolio__klipfolio_get_current_user klipfolio.klipfolio_get_current_user Read Get the authenticated Klipfolio user's profile information, including name, email, and role.

Related Klipfolio Pages