marketing
Later MCP Integration for LangGraph
Connect Later to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Later 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.
Later MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-later": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=later",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=later --write=deny Why Use KosmoKrator Here
Expose only Later 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.
Later Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Later integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__later__later_list_profiles | later.later_list_profiles | Read | List all social media profiles connected to the Later account. Returns profile IDs, platform types, and display names. |
integration__later__later_get_profile | later.later_get_profile | Read | Get details of a specific social media profile in Later by its ID. Returns profile platform type, display name, and account metadata. |
integration__later__later_list_posts | later.later_list_posts | Read | List scheduled and published posts in Later. Optionally filter by profile ID, status (scheduled, published, draft), and paginate results. |
integration__later__later_create_post | later.later_create_post | Write | Create and schedule a new social media post in Later. Provide the caption text, target profile IDs, and optionally a scheduled time or media URL. |
integration__later__later_list_media | later.later_list_media | Read | List media items in the Later media library. Returns media IDs, URLs, types, and metadata. Optionally filter by media type. |
integration__later__later_get_media | later.later_get_media | Read | Get details of a specific media item in Later by its ID. Returns the media URL, type, dimensions, and metadata. |
integration__later__later_get_current_user | later.later_get_current_user | Read | Get the currently authenticated Later user profile. Returns the user name, email, and account info. |