KosmoKrator

analytics

Klipfolio MCP Integration for LangChain

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

Klipfolio MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

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

LangChain 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