KosmoKrator

video

Loom MCP Integration for OpenAI Agents SDK

Connect Loom to OpenAI Agents 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 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.

Loom MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "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 OpenAI Agents

OpenAI Agents 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