automation
Pipedream MCP Integration for LangChain
Connect Pipedream to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Pipedream 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.
Pipedream MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-pipedream": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=pipedream",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=pipedream --write=deny Why Use KosmoKrator Here
Expose only Pipedream 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.
Pipedream Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Pipedream integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__pipedream__pipedream_list_workflows | pipedream.pipedream_list_workflows | Read | List automation workflows in Pipedream. Returns a paginated list of workflows with their IDs, names, and statuses. |
integration__pipedream__pipedream_get_workflow | pipedream.pipedream_get_workflow | Read | Get details of a specific Pipedream workflow by ID, including its configuration, steps, and current status. |
integration__pipedream__pipedream_list_components | pipedream.pipedream_list_components | Read | List available Pipedream components (actions, triggers, etc.). Components are reusable building blocks for connecting to third-party APIs. |
integration__pipedream__pipedream_get_component | pipedream.pipedream_get_component | Read | Get details of a specific Pipedream component by app and component key. Returns the component configuration, props, and version info. |
integration__pipedream__pipedream_list_connected_accounts | pipedream.pipedream_list_connected_accounts | Read | List connected third-party accounts in Pipedream. These are the OAuth-connected accounts used by workflows to interact with external services. |
integration__pipedream__pipedream_list_triggers | pipedream.pipedream_list_triggers | Read | List event triggers for a specific Pipedream workflow. Triggers define the events that cause a workflow to run. |
integration__pipedream__pipedream_get_current_user | pipedream.pipedream_get_current_user | Read | Get the currently authenticated Pipedream user profile, including name, email, and workspace details. |