KosmoKrator

video

Loom MCP Integration for Vercel AI SDK

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

8 functions 6 read 2 write Bearer token auth

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

Loom MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Loom Tools Visible to Vercel AI SDK

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

MCP toolSource functionTypeDescription
integration__loom__loom_list_videos loom.loom_list_videos Read List Loom videos. Returns video titles, IDs, durations, URLs, and creation dates. Use limit and page for pagination.
integration__loom__loom_get_video loom.loom_get_video Read Get detailed information about a specific Loom video by its ID, including playback URL, duration, thumbnail, and metadata.
integration__loom__loom_create_video loom.loom_create_video Write Create a new Loom video with a title and optional description. Returns the video details and upload URLs.
integration__loom__loom_delete_video loom.loom_delete_video Write Delete a Loom video permanently. This action cannot be undone.
integration__loom__loom_list_workspaces loom.loom_list_workspaces Read List all Loom workspaces accessible to the authenticated user, including workspace names and member information.
integration__loom__loom_list_folders loom.loom_list_folders Read List Loom folders. Returns folder names, IDs, and video counts. Use limit and page for pagination.
integration__loom__loom_get_folder loom.loom_get_folder Read Get detailed information about a specific Loom folder by its ID, including name, video count, and hierarchy.
integration__loom__loom_get_current_user loom.loom_get_current_user Read Get the authenticated Loom user's profile information, including name, email, and account details.

Related Loom Pages