video
Loom MCP Integration for LangChain
Connect Loom to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Loom to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Loom MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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
Expose only Loom instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Loom Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Loom integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |