KosmoKrator

video

Loom MCP Integration for LangGraph

Connect Loom to LangGraph 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 LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

Loom MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

{
  "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 LangGraph

LangGraph 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